Assignment Task
[1] Thirty nine kids, who had corrective spinal surgery, were followed-up for a period of 12 months after surgery. Of them, 17 developed Kyphosis and 22 did not. Their ages (in months) at the time of surgery are given in Data T2.1.
a) Fit a logistic regression model to study how age affects the probability of developing Kyphosis within one year following spinal surgery. Compute a 95% Confidence Interval for the odds ratio when age of the kid increases one.
b) Do a residual analysis of the model in part a). Please include the residual plot against age with a smooth line fitted to check for curvilinear shape.
c) Does the above residual plot suggest that the probability of developing Kyphosis within one year following spinal surgery depends on age quadratically? Fit this suggested model. Is the squared term of age significant? Please report the Wald test and Likelihood ratio test results. How would you go about testing whether the quadratic term would improve the model fit?
d) Repeat part b) for the suggested model in part c). What do you conclude?
e) Using the model involving linear and quadratic terms in age, if age increases by one month, how does the probability of developing Kyphosis change? Will the change depend on age?
[2] In a designed experiment, 12 formulations of a capsule were made based on different amount of three medications A, B and C in the capsule. Each formulation was prescribed to 100 male and 100 female patients. The number of patients whose blood chemical level dropped by more than 5% within 24 hours is recorded in Table T2.2. (Hint: The response variable has binomial distribution with n=100.) Let p be the proportion of patients whose blood chemical level drops by more than 5% within 24 hours. a) Propose a model to describe the dependence of p on gender and the amounts of three medications (do not include the interaction terms). Fit the model to the data. How good is the fit? (Remark: 1. Consider the amounts of three medications as continuous variables. 2. You need to modify the data for fitting the model by adding a gender variable and then you should have 12*2=24 observations instead of 12.)
b) Test the statistical significance of the gender effect on p. Interpreter 95% confidence interval for odds ration conditioned on any given formulation of the capsule.
c) Based on the following SAS output, what is the optimal capsule formulation for each gender, if it is desired to maximize p. Report the estimated optimal p’s. 2
d) Based on the following SAS output, compute the 95% C.I for p, when gender is male and formulation of the capsule is 2 (A=15, B=20, C=20 corresponding to the second observation). (Remark: If you do not know how to compute it by hand, you could run the SAS or R procedure to obtain the result to receive partial points.)
e) Would it make any difference if gender is considered a nominal variable (declared by a class statement), or a numerical variable? Justify your answer.
f) Fit a simpler model, if possible, with fewer medications as predictors, without compromising the goodness of fit substantially. (Hint: This is an open question. You could use different criteria to find your optimal model. You could try AIC or BIC (SC) criteria. You could also use backward selection procedure to get a simpler model with reasonable model fit through goodness of fit test.)
This STAT-523-Medical Science Assignment has been solved by our Medical Science Experts at My Assignment HelpOZ. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing Style. Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered.
You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turn tin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction