October 2017
Beginner to intermediate
572 pages
26h 1m
English
We first build a multiple regression model with income, prestige and women variables. Next, we assign values to be predicted into a DataFrame, newdat. It is important to note that the generated model is in the form of income ~ prestige + women.
Next, we compute the prediction result using a confidence interval by specifying confidence in the argument interval.
Read now
Unlock full access