

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


PubHlth 640 Intermediate Biostatistics 1
Unit 5 – Logistic Regression Practice Problems - Week #
Due Monday March 30, 2009
A five year follow-up study on 600 disease free subjects was carried out to assess the effect of 0/1 exposure E on the development (or not) of a certain disease. The variables AGE (continuous) and obesity status (OBS), the latter a 0/1 variable were determined at the start of the follow-up and were to be considered as control variables in analyzing the data.
(A) State the logit form of a logistic regression model that assesses the effect of the 0/1 exposure variable E controlling for the confounding effects of AGE and OBS for the interaction effects of AGE with E and OBS with E.
(B) Give the model you have for part “A”, give a formula for the odds ratio for the exposure-disease relationship that controls for the confounding and interactive effects of AGE and OBS.
(C) Now use the formula that you have for part “B” to write an expression for the estimated odds ratio for the exposure-disease relationship that considers both confounding and interaction when AGE=40 and OBS=1.
This problem asks you to try your hand at one regression diagnostic: checking linearity on the logit scale. The data source for problem 2 is the depression data set that you worked with during week #7.
Source: Afifi A., Clark VA and May S. Computer Aided Multivariate Analysis, Fourth Edition. Boca Raton: Chapman and Hall, 2004.
Recall that these data are a study of depression and was a longitudinal study. The purpose of the study was to explore the correlates of occurrence of depression with respect to several types of variables: demographics, life events, stressors, physical health, health services utilization, medication use, lifestyle, and social support.
Again the data are available in SAS and STATA formats here and from the course website.
http://www-unix.oit.umass.edu/~biep640w
Wk8_practice.doc
PubHlth 640 Intermediate Biostatistics 2
Consider the following two variables.
Variable Codings Format in SAS Label in STATA CASES 0 = Normal 1 = Case of Depression CASES CASES AGE Continuous (years)
(A) Using the software of your choice, obtain the values of the quartiles of age.
(B) Using these quartile values, create a set of three design variables that are indicators of the 2 nd^ 25%, 3 rd^ 25%, and upper 25% of the values of age. Produce a frequency table distribution of each of these three indicator variables. Hint – Design variables (also called indicator or dummy variables) were introduced in Topic 2 (Regression and Correlation). See pp 51-53.
(C) Fit a logistic regression model for the outcome CASES that includes as predictors the design variables you produced in part “B”
(D) Fill in the following table. Notice that the estimated regression coefficient for the referent group (the lowest quartile of AGE) is 0.
(E) Construct a plot of X=Midpoint versus Y=. If you’re feeling ambitious, construct a similar plot with accompanying 95% confidence limits.
(F) From the plot you constructed in part “E”, what do you conclude about the linearity of logit (CASES) in AGE?
Wk8_practice.doc