Multivariate Regression of High School Dropout Rate on Other Variables

SAS Thumb
This is the code I wrote for a multivariate regression project.  The independent variable is high school dropout rate and the dependent variables include parameters like unemployment rate, teen birth rate, and student-teacher ratio. If you don’t have SAS installed, you can also view a snippet of the output that the code produces.
/* Variables imported from excel
1 state
2 DropoutRate
3 UnempRate
4 PercentPassportAppsApproved
5 PercentRepresentedByUnions
6 StudentTeacherRatio2008
7 TeenBirthRate
 
x0=state
y=DropoutRate
x1=UnempRate
x2=PercentPassportAppsApproved
x3=PercentRepresentedByUnions
x4=StudentTeacherRatio2008
x5=TeenBirthRate
x6=Death Penalty
*/
 
dm "out; clear; log; clear"; /* These instructions clear the output and log windows */
 
/*Rename variables to simplify processing */
 
data work.fin2(rename=state=x0 rename=DropOutRate=y rename=UnempRate=x1
              rename=PercentRepresentedByUnions=x3 rename=PercentPassportAppsApproved=x2
              rename=StudentTeacherRatio2008=x4 rename=TeenBirthRate=x5 rename=DeathPenalty=x6); set final2;
 
    *Change Passport Apps approved into a readable percentage;
     PercentPassportAppsApproved=PercentPassportAppsApproved*100;
 
run;
 
DATA DropOne; set work.fin2;
 
    IF _N_ NE 9 THEN OUTPUT DropOne; *drops District of Columbia from data set;
    label y='Dropout Rate';
    label x1='Unemployment Rate';
    label x2='Passports Approved';
    label x3='Union Membership';
    label x4='Students to Teachers';
    label x5='Teen Birth Rate';
    label x6='Death Penalty(1)/No Death Pentalty(0)';
 
RUN;
 
proc reg data=DropOne;
title 'Regression of Dropout Rate on 6 independent variables (excluding DC)';
model y = x1 x2 x3 x4 x5 x6 / clb;
run;
This program produces the following output:
Posted in SAS