Categorical variable is gender. We denote female as 1,male as 2.
Steps : stat, regression, regression, fit regression model.
A. Slope coefficient
associated with age in this model is 0.52 as you can see in the
picture above.
B. Interpretation : per unit change in age, salary is increased by 0.52 unit.
C. A 21 year male student should expect a salary (36+0.52*21)=46.92(in '000 $). Put values in gender regression equation 2. As 2 is for male
D. P-value for gender and salary is 0.467
E. As p-value is 0.467>0.05 so it is statistically significant. Hence there is relationship between salary and gender.
Retrieve the "UndergradSurvey.xds" file from the item posted in the Final Exam Week content folder (next to this Exam). Using Excel, create a multiple linear regression to predict the salary...