25
66
2
2
2
2
6
160
26
63
1
1
1
1
3
158
27
60
1
1
2
3
6
125
28
65
2
2
1
2
2
155
29
61
1
1
2
4
4
144
30
69
1
1
2
3
6
175
3.1.1 Enter the data from Table 1 above into SPSSand define all the variables in SPSSS. ave
your SPSSdata file in your z-drive using your initials and student number, eg. Studentno_Q3.
[10]
3.1.2. Recode the variable "age" into "agegroup" using the following categories:
1 = 60-69 yrs
2 = 70-79 yrs
3 = 80+ yrs
Define the variable with labels and run a frequency table of the variable "agegroup". [2]
3.1.3. Produce frequency tables with counts and percent and appropriate graphs of the
following variables:
i. Sex of respondent ("sex")
ii. Lives alone ("alone")
iii. Need for assistance with the activities of daily living ("AOL")
iv. Need for assistance with the instrumental activities of daily living ("IADL") [8]
3.1.4. Produce descriptive statistics and a histogram with a normal curve of the following
variables:
i. Age at last birthday ("age")
ii. Systolic Blood Pressure ("SBP")
[4]
3.1.5. MoHSSwould like to determine whether there is an association between the Sexof
respondent ("sex") and whether the respondent lives alone ("alone"). State the null and
alternative hypothesis. Run an appropriate test to test the hypothesis. Write up a short
narrative explaining your results.
[6]
QUESTION4 (20 MARKS)
4.1 Perform a simple linear regression of the variables "SBP" (dependent variable) and "age"
(independent variable) and show the results.
[5]
4.2 State the regression equation and interpret the equation in terms of age and systolic blood
pressure.
[4]
4.3 How much of the variation in systolic blood pressure is explained by the differences in age?
[1]
4.4 Is the regression line significant? State your hypothesis and the p-value.
[5]
4.5 Is there a significant difference in men and woman in terms of average systolic blood
pressure in the population? State the null and alternative hypothesis. Run an appropriate
statistical test to test the hypothesis. Write a short narrative explaining your results.
[5]
******************************END OFEXAMINATION*****************************
5