Using the 2012 Smoking and Drug Use Amongst English Pupils Dataset (2012smokedrugs.dta), perform diagnostics on the second cigarette consumption multiple linear regression model. To remind you, the outcome variable was cigs7, but recoded to remove all 0s, and the predictor variables were free, schyear, and sex.
Heteroscedasticity Diagnostics:
(a) Create a plot to test for heteroscedasticity.
(b) Perform a Breusch-Pagan test.
(c) If heteroscedasticity is present re-run the regression using robust standard errors. Are any predictors
that were statistically significant now not significant?
a.
x11()
plot(y=model.1$residuals,x=model.1$fitted.values, xlab="Fitted Values", ylab="Residuals")
abline(h=0, col="red")

There is somewhat of a fan pattern, possibly indicating heteroscedasticity.
b.
bptest(model.1, studentize=FALSE)
Breusch-Pagan test
data: model.1
BP = 1.1206, df = 3, p-value = 0.7721
c. Since we did not have heteroscedasticity, we do not need to attempt any corrections.
You might also like to view...
For drivers aged 65 to 74, motor vehicle accidents are the leading cause of injury-related deaths
Indicate whether the statement is true or false
According to Zimbardo, there is a constellation of factors explaining shyness. Each of the following would apply except:
a. being oblivious to negative feedback from others. b. fearing rejection. c. lacking self-confidence and specific social skills. d. being frightened of intimacy.
People who believe that there is not one truth, essence, or understanding to a given experience; people who look at the historical roots of social, relational, and political ideas rather than accept them as fact; and people who focus on the perspective of the knower as well as what comes to be known. These people are called __________________
Fill in the blank(s) with the appropriate word(s)
The 85/15 Rule—85 percent of the problems can be corrected only by changing systems and fewer than 15 percent of the problems can be solved by individual workers—is a tenet of:
a. Collegial model b. Management by objectives c. Theory Y management d. Total quality management