Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*variables*/
- /*Population_2016 Total_justice_system_PC Police_Protection_PC Judicial_and_legal_PC Corrections_PC Total_justice_system_Employment police_protection_Total_Employment police_protection_Sworn_only_Employment Judicial_and_legal_Employment Corrections_Employment */
- /*full model */
- proc reg data = work.mycsv;
- model population_2016 = Total_justice_system_PC Police_Protection_PC Judicial_and_legal_PC Corrections_PC Total_justice_system_Employment police_protection_Total_Employment police_protection_Sworn_only_Employment Judicial_and_legal_Employment Corrections_Employment;
- run;
- /*total only model */
- proc reg data = work.mycsv;
- model population_2016 = Total_justice_system_PC Total_justice_system_Employment;
- run;
- /*police only model (note 2 forms of employment measures) */
- proc reg data = work.mycsv;
- model population_2016 = Police_Protection_PC police_protection_Total_Employment police_protection_Sworn_only_Employment;
- run;
- /*judicial only model*/
- proc reg data = work.mycsv;
- model population_2016 = Judicial_and_legal_PC Judicial_and_legal_Employment;
- run;
- /*corrections only model*/
- proc reg data = work.mycsv;
- model population_2016 = Corrections_PC corrections_employment;
- run;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement