Question: For each of the data sets listed below, need help on conducting regression analysis and answering to below questions. Wherever necessary, please help with functions
For each of the data sets listed below, need help on conducting regression analysis and answering to below questions.
Wherever necessary, please help with functions from tidy verse
1. Choose any two variables from the data set. Define independent and dependent variables and run a regression.
2. Run another regression model by including a third variable. Explain why this variable might be a confounder. Compare results from the two regression models.
3. Assess the model fit of the two models with and without a control variable. Which one performs better?
Data set 1 --->
corruption <- read.csv("https://sanghoonkim.org/FQM/corruption.csv")
Data set 2 --->
vignettes <- read.csv("https://sanghoonkim.org/FQM/vignettes.csv")
Data set 3 --->
afb <- read.csv("https://sanghoonkim.org/FQM/afb.csv")
Data set 4 ---->
benin <- read.csv("https://sanghoonkim.org/FQM/benin.csv") ```
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
