STAT 415 GWU Statistical Problems Using R Studio Lab Questions Regression problems.
With hint to follow.
1. First, we will revisit the mtcars data set built into R. Attach the data file and review the variable names.
> attach(mtcars)
> names(mtcars)
We will begin by looking at some diagnostic tools, starting with the pairwise simple correlation values amongst all variables presented in the correlation matrix. To obtain this enter:
> cor(mtcars)
Paste the results. Is there evidence of multicollinearity? State a few specific correlation values to support your answer.
2. Now lets look at the variance inflation factors (??????)??. To do this, we must define the estimated regression function for predicting mpg based on all other variables and then find the ?????? values. The function for ?????? is in the car package.
Enter:
> library(car) > reg = lm( mpg ~ ., data=mtcars ) > vif(reg)
Paste the results. What can you conclude about multicollinearity based on these values?
Economic Debate- Progressive Income Tax For this Economic Debate, we are going to discuss the…
TOPIC: Going Global Discussion Thread 1 (initial post due Wednesday for full credit) Please note:…
Assignment Topic This week will culminate in the creation of a narrated PowerPoint to create…
The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. Assignments submitted…
you need to post your 2-page information flier to share with your Final Project Group.…
discussion: Discuss the methods used at your company to measure and ensure quality products and…