Hang out with the TAs from STA 210! This is a casual conversation and a fun opportunity to meet the members of the STA 210 teaching team. The only rule is these can’t turn into office hours!
Tea with a TA counts as a statistics experience.
🍁 Happy STA 210 - Fall break! 🍁
This dataset is from an ongoing cardiovascular study on residents of the town of Framingham, Massachusetts. We want to use systolic blood pressure and whether someone has family history of hypertension to determine the odds of being high risk of having coronary heart disease in the next 10 years.
high_risk
:
sysBP
: systolic blood pressure (mmHg)prevalentHyp
: No = Hypertension not prevalent in family history; Yes = Hypertension prevalent in family historyLet’s start by looking at the relationship between a family history of hypertension and being high risk of heart disease.
0 | 1 | |
---|---|---|
No | 2604 | 319 |
Yes | 992 | 325 |
Answer the following questions using this form.
Calculate the odds ratio of being high risk of having heart disease for those with a family history of hypertension vs. those without a family history hypertension.
Suppose you fit a model using prevalentHyp
to predict the odds of being high risk of having heart disease. The model has the following form:
\[\log\big(\frac{\hat{\pi}}{1-\hat{\pi}}\big) = \hat{\beta}_0 + \hat{\beta}_1 \times \text{PrevalentHypYes}\]
What is the value of the estimated coefficient \(\hat{\beta}_1\)?
Let’s add systolic blood pressure to the model.
term | estimate | std.error | statistic | p.value |
---|---|---|---|---|
(Intercept) | -4.490 | 0.317 | -14.158 | 0.000 |
prevalentHypYes | 0.329 | 0.123 | 2.677 | 0.007 |
sysBP | 0.019 | 0.002 | 7.754 | 0.000 |
Answer the following questions using this form.
Interpret the coefficient of sysBP
in terms of the log-odds of being high risk of having heart disease.
Interpret the coefficient of sysBP
in terms of the odds of being high risk of having heart disease.
How do you expect the log-odds of being high risk for heart disease to change when going from a person with systolic blood pressure of 120 mm Hg to a person with systolic blood pressure of 125 mm Hg. Assume both people do not have a family history of hypertension.
How do you expect the odds of being high risk for heart disease to change when going from a person with systolic blood pressure of 120 mm Hg to a person with systolic blood pressure of 125 mm Hg. Assume both people do not have a family history of hypertension.