Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using the World happiness dataset, examine and test the relationships between several variables. Provide the R codes in the R-script file under the sub-heading Module
Using the "World happiness" dataset, examine and test the relationships between several variables. Provide the R codes in the R-script file under the sub-heading Module 6, and the statistical outputs under the sub-heading "Module 6" in the Word file. In general, your statistical outputs should be titled and labeled so that they can stand on their own (and can be understood by anyone who looks at them for the first time).
- Using an appropriate variable, create dummy variables to subset your dataset. Then rerun your regression line for your dependent variable. How many subsets did you create? How many lines are there? Create a scatterplot with multiple regression lines. How does this impact your understanding of the impact of the categorical variable on the regression?
- Using the appropriate subsetted data from step 1, create separate regression lines for each subset. How do these regression lines differ from the regression lines in step 1? How does this method of looking at the data impact your understanding of the data?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started