Question: Produce a multiple linear regression model in SAS. The dependent variable will be Martian weight, and you will have two independent variables - height and
Produce a multiple linear regression model in SAS. The dependent variable will be Martian weight, and you will have two independent variables - height and the dummy variable, ethnicity. Ethnicity: 0=Green; 1=Grey; 2=Blueusing this data DATA MartianData; INPUT ID Weight Height Water Ethnicity; DATALINES; 1 7.0 29 0 0 2 8.0 32 0 0 3 8.6 35 0 0 4 9.4 34 10 1 5 10.2 40 0 0 6 10.5 38 10 1 7 11.0 35 20 2 8 11.6 41 10 1 9 12.3 44 10 1 10 12.4 40 20 2 11 13.6 45 20 2 12 14.2 46 20 2 ; RUN
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
