Escolar Documentos
Profissional Documentos
Cultura Documentos
1. A researcher has collected data for 227 residents of three local long-term care (LTC) facilities (Excel
file: 2300FTassignment3.xls). The data includes the unique resident identifier, LTC site (North site =
1; East site = 2; West site = 3), gender (female = 1; male = 2), responses to four likert scale survey
statements about services: Q1(I receive assistance to meet my personal care needs), Q2(Food
provided by the kitchen is palatable), Q3(The overall LTC environment is clean) and Q4(The variety
of activities offered by the LTC meets my needs). The likert scale responses to all 4 statements
include the following options: 4 = always; 3 = most of the time; 2 = sometimes; 1 = rarely; 0 = never.
Additionally, four scale variables, quality of life (QOL) score, needs assessment (NA) score, systolic
blood pressure and diastolic blood pressure are also provided.
a) Generate a stacked bar graph such that each bar represents a site and the stacks represent the
percentage that are male and female for each site. Add data labels. Copy and paste the
generated SPSS stacked bar graph. [5 MARKS]
b) Generate a stacked bar graph such that each bar represents a different likert scale question (Q1Q4) and the stacks represent the percent of each response category (4 = always; 3 = most of the
time; 2 = sometimes; 1 = rarely; 0 = never). Add data labels (0 decimal places). Copy and paste
the generated SPSS stacked bar graph. [13 MARKS]
Analyze, Tables, Custom tables
Likert scale responses identified as numbers rather than labels [-0.5 MARKS]
Did not include data labels [-0.5 MARKS]
Did not round data labels to 0 decimal places as instructed [-0.5 MARKS]
Percents produced are different [-2 MARKS]
c) Generate a clustered bar graph of the mean NA scores by gender, clustered by site. Include +/1 standard deviation. Add data labels. Copy and paste the generated SPSS clustered bar graph.
[7 MARKS]
Graphs, Legacy Dialog, Bar, Clustered, Summaries for groups of cases,
d) Generate a population pyramid of NA scores split by systolic categories. Note systolic categories
are defined as follows: normal (<120) and hypertension (120). Copy and paste the generated
SPSS population pyramid. [7 MARKS]
e) Generate a scatterplot between a patients systolic blood pressure (x-axis) and their diastolic
blood pressure (y-axis) by gender. Add individual fit lines for males and females. Copy and
paste the generated SPSS scatterplot. In males, how much variation in diastolic blood pressure
is accounted for by the regression equation? In females, for every one unit increase in systolic
blood pressure, how much does diastolic blood pressure increase? [10 MARKS]
In males, 47.1% of variation in diastolic blood pressure is accounted for by the regression equation.
In females, for every one unit increase in systolic blood pressure, diastolic blood pressure increases
by 0.48 units.
Some of the typical errors found in Question 1e:
Did not produce scatterplot [-6 MARKS]
X-axis is not systolic [-1 MARK]
Y-axis is not diastolic [-1 MARK]
Scatterplot is not specific to gender [-3 MARKS]
Coefficients of regression equations different [-1 MARK]
Did not answer question about variation in diastolic blood pressure in males [-2 MARKS]
Answered question about variation in diastolic blood pressure in males incorrectly [-1 MARK]
Did not answer question about what happens to diastolic blood pressure in females for every
unit increase in systolic blood pressure [-2 MARKS]
Answered question about what happens to diastolic blood pressure in females for every unit
increase in systolic blood pressure incorrectly [-1 MARK]
10
2. The following table shows the numbers of patients classified according to their smoking and asthma
status.
Asthma
No Asthma
Total
Smokes daily
167
1124
1291
54
366
420
Formerly
smoked
242
1957
2199
Never
smoked
306
3553
3859
Total
769
7000
7769
b) What is the probability that they have asthma and smoke daily? [2 MARKS]
d) What is the probability that they had asthma given that they never smoked? [2 MARKS]
f)
What is the probability that they smoked some days given that they didnt have asthma?
[2 MARKS]
11
= 0.10
Since
Alternatively,
Asthma and daily smoking are independent if
= 0.17
Since
3. Imagine a blood test for bone cancer, tried out on 250 patients admitted with pain. The actual
presence or absence of bone cancer was diagnosed from biopsy. The results are shown in the table.
Screen positive
Screen negative
Total
Total
125
125
250
b. What proportion of diagnosed bone cancers were screened positive with the blood test?
[2 MARKS]
c. If bone cancer is present, what is the probability that the blood test will be positive? [2 MARKS]
e. If the blood test comes out positive, what is the probability that the patient will actually have
bone cancer? [2 MARKS]
f.
If the blood test comes out negative, what is the probability that the patient will be healthy?
[2 MARKS]
13
g. If the patient is healthy, what is the probability that the blood test will be negative? [2 MARKS]
14