search this site.

220113L - EXERCISES IN BIOSTATISTICS

Print Friendly and PDFPrint Friendly

Presentation to the Research Methodology Winter Camp at AlMaarefa University on January 13, 2022 at 1.30pm By: Prof. Omar Hasan Kasule Sr. MB ChB (MUK). MPH (Harvard), DrPH (Harvard) Professor of Epidemiology and Bioethics, King Fahad Medical City

 

 

Variables of the Classroom Data:

  • AGE (in years),
  • GENDER (male, female)
  • REGION of birth (East, North, West, Central, West),
  • ORDER in the family (first, second, third, higher),
  • DEGREE expected (bachelor, master, doctorate, postdoctorate),
  • WEIGHT (in kilograms),
  • HEIGHT (in centimeters),
  • wearing GLASSES (yes, no),
  • COLOR preference (blue, red, green, yellow)
  • number of BROTHERS,
  • number of SISTERS,
  • type of primary SCHOOL (private, public),
  • type of UNIVERSITY (public, private), J
  • JUMPING rank (1st. 2nd, 3rd etc.),
  • RUNNING rank (1st, 2nd, 3rd etc.).

 

SPSS Variable View of Classroom Data:

 

SPSS Data View of Classroom Data:

 

EXERCISE 5: LINEAR CORRELATION

  • Draw a scatter plot of WEIGHT against HEIGHT:

o   Import the data into SPSS v22.0 and make sure to click on DATA VIEW

o   In the menu, click on GRAPHS then CHART BUILDER and choose the first SCATTER/DOT option from the Gallery and drag it to the viewer.

o   In the variables, drag HEIGHT into the “X-Axis” and WEIGHT into the “Y-Axis” then OK. It does not matter if this is done in the opposite way.

  • Compute the Pearson linear correlation coefficient for WEIGHT and HEIGHT:

o   Import the data into SPSS v22.0 and make sure to click on DATA VIEW

o   In the menu, click on ANALYZE then CORRELATE then BIVARIATE and tick the box ‘PEARSON.’

o   In the variables, insert the WEIGHT and HEIGHT into the viewer then OK.

 

EXERCISE 6: SIMPLE LINEAR REGRESSION ANALYSIS

  • Import the data into SPSS v22.0 and make sure to click on DATA VIEW.

o   In the menu, click on ANALYZE then REGRESSION then choose the ‘LINEAR.’

o   In the ‘DEPENDENT(S)’, insert the ‘weight’ and in the ‘INDEPENDENT’ variable insert the ‘height’ then OK.

o   Test the significance of the linear regression coefficient

  • Construct a simple linear regression equation and use it to predict the weight of persons with the following heights: 100cm, 120 cm. 135cm an 150cm.

 

EXERCISE 7: SIMPLE LOGISTIC REGRESSION

  • Import the data into SPSS v22.0 and make sure to click on DATA VIEW

o   In the menu, click on ANALYZE, click REGRESSION, ‘BINARY LOGISTIC.’ drag GLASS to dependent and GENDER to covariate, then click OK