代做non-linear change models Assignment 5代做Statistics统计
- 首页 >> CSAssignment 5 (10 pts): This assignment will focus on non-linear change models. Based on the data provided, you will select the best model for the data and report your findings. In this assignment you will provide your annotated dofile as well as a word document with a write-up of your process and the results. Alternatively, if you are using R provide the knit PDF of your Rmarkdown. You will utilize the “Assignment5 dataset.dta” STATA dataset. This is a modified AddHealth data source. Please use a significance level of .10 for this class exercise (i.e. report associations meeting the p < 0.10 threshold instead of the usual p < 0.05). You are a researcher that would like to understand how differences in a mother’s marital status of 7-12th graders influence trajectories of self-reported general health. For this exercise you will conduct random effect and population average models and report significant coefficients in each model. In addition, for some models you will also be asked to report and discuss the predicted probabilities at certain levels of the covariates in the models. Lastly, you will describe differences between the models and then select the “best” model. Your outcome variable is “self-rated general health” . Your main predictor variable is “mother marital status W1.” You will utilize the time variable labeled “time.” This variable corresponds to measurement occasion. The time variable corresponds to an average sample age of 15 at baseline (7-12 grade), age 16 at the first follow- up, and (about 6 years later) age 21 at the second follow up period. You will control for age, biological sex, and level of education of the mother at baseline. Additional details concerning the assignment can be found below.
Part 1:
1. Conduct a population average logistic regression model
a) Interpret the overall model and the significant coefficients
Part 2:
1. Conduct a random intercept logistic regression model
a) Interpret the overall model and the significant coefficients
b) Interpret the intraclass correlation
c) Describe key differences between this model and the population average logit model performed in number 1
d) Sex differences in predicted probabilities for those with mothers with less than a high school education
i. Graph the predicted probabilities of the effect of mothers’ marriage status at baseline on trajectories of general health for 15-year-old female participants who have a mother with less than a higher school education. Interpret the graph.
ii. Graph the predicted probabilities of the effect of mothers’ marriage status at baseline on trajectories of general health for 15-year-old male participants who have a mother with less than a higher school education. Interpret the graph.
iii. What are the notable differences between the two graphs?
e) Sex differences in predicted probabilities for those with mothers with a college degree or higher
i. Graph the predicted probabilities of the effect of mothers’ marriage status at baseline on trajectories of general health for 15-year-old female participants who have a mother with a college degree or higher (i.e. post graduate degree). Interpret the graph.
ii. Graph the predicted probabilities of the effect of mothers’ marriage status at baseline on trajectories of general health for 15-year-old male participants who have a mother with a college degree or higher (i.e. post graduate degree). Interpret the graph.
iii. What are the notable differences between the two graphs?
Part 3:
1. Summarize your overall thoughts concerning the main research question. In your
response also note any notable findings when examining the predicted probabilities.