At the beginning of your notebook you should include a brief explanation of your research question (2pts)
We will use the Emerging Adulthood data. Your analysis should include: 1. A simple/empty outcome variable. 2. A quantitative explanatory variable. 3. A qualitative explanatory variable
You will be responsible for providing the results of three linear models:
- Simple Model (24pts)
- Quantitative predictor model (27pts)
- Two-group (or more-group) model (27pts)
prioritized questions: Are depression / mood disorders more prevalent in today’s generation of emerging adults compared to their parents? (C)
Why are emerging adults getting married at later ages? (O)
When is the "right" age for emerging adults to be financially independent? (C)
For each model you will need to provide the following elements. Each of these elements should include R code (1pt), output (1pt), and a short interpretation of the results (1pt). Sections marked with a * do not
require R code or output, and are worth 2pts. a) A word equation describing the model b) A GLM equation for the model c) Two different visualizations which corresponds to the model a. Compare and contrast the information you get from each d) Fit a linear model a. Rewrite GLM equation with estimates in the equation e) Quantify error associated with the model including PRE (ANOVA table) f) Visualization description of sampling variability for at least one coefficient from the model g) Numeric description of sampling variability for all coefficients from the model h) Confidence intervals for all coefficients i) Model comparison (Not needed for simple model) j) Conclusion about the research question based on analysis*