A course in quantitative research workflow for students in the higher education administration program at the University of Florida
Using els_plans.dta, please answer the following questions. Use
comments to respond as necessary.
lm(bynels2m ~ byses1 + female + moth_ba + fath_ba + lowinc, data = df)
add the fitted values to the residuals and store in an object,
x. Compare these values to the math scores in the data frame.
lm(bynels2m ~ byses1 + female + moth_ba + fath_ba + lowinc + factor(bystexp),
data = df)
Add the categorical variable byincome to the model above. Next
use model.matrix() to check the RHS matrix.
plan_col_grad: you can make a
new one if you want).<lastname>_assignment_regression.R) in your scripts
directory.