8.Calculate the rate ratio and 95% confidence interval of a Black participant compared to a Hispanic participant when they are the same in other covariates. = 9.Create a model with a linear spline for age. Use the median value of age (≤ median and > median) for your cut point. Use the same covariates as in questions 4 and write out your model.What is the rate ratio (for a unit increase in age) for ages below the median? What is the rate ratio (for a unit increase in age) for ages above the median?
Part II—Use several sentences to answer the following two questions10. If we change the unit of time in our analysis from one year to one month, do all coefficients in the model of question 3 stay the same? If the answer is no, point out which coefficient (s) will change and calculate the new coefficient(s) out.No, β0(the intercept) changes if we add the offset to it.In Stata, I added I created a new variable:offsetmonth = log(fuptime*12);/* Q10 */procgenmod;classracevar male city / param= ref ref= first;modelreadmcount = mi age65 racevar city male mi*male / type3offset=offsetmonth dist=poisson link=log scale= deviance;run;The new β0= -6.6253.Will the offset stay the same? If the answer is no, indicate how much it will change. (Show your equation)
You've reached the end of your free preview.
Want to read all 8 pages?
- Spring '14
- Normal Distribution, infarction