OBGYN MSc Stat Module (2016-2018)
StatPgm 2b. One Group : Correlation and Regression
 Admin Contents StatPgm Explanations Exercises Assessment Help
Please note : the data presented in all course material for the statistical module are generated by computers to demonstrate the methodologies, and should not be confused with actual clinical information
Also : Programs can have default example data pre-inserted, or inserted when the Example button is clicked, for testing. Students can replace them with his/her own data
StatPgm 2b i. Sample Size for Correlation Coefficient
 Anticipated Coefficient Value ρ :

StatPgm 2b ii. Correlation and Regression Analysis
Introduction and Instructions
Three procedures are provided
2b ii a : Pearson's Correlation Coefficient (for parametric data),
2b ii b : Spearman's Correlation Coefficient (for non-parametric data), using data
2b ii c : Spearman's Correlation Coefficient (for non-parametric data), using count table
2b ii d : Regression Analysis
Data Entry
Procedures iia, iib, and iid have the same data structure
The data are in 2 columns, Column 1 = the x variable, column 2 = the y variable
Procedures iic is a table of counts where all rows must have the same number of columns
Graphics Plotting
Plotting is by MacroPlot. The macroPlot codes can be altered to produce an edited graphical bitmap. Macroplot Help Page contains explanations and template macros to users towards editing the resulting graphical bitmap.

The resulting bitmap can be harvested as any web page bitmap, by right clicking over the bitmap, copied, then pasted into other applications. When pasted to Microsoft Excel or Word, the command "paste special→png bitmap" is sometimes required, particularly for the Mac.
 MacroPlot Codes