From ed8b8fccd97ef55fcef67239e0579fada3edd92e Mon Sep 17 00:00:00 2001 From: mgao10-stat697 <47067425+mgao10-stat697@users.noreply.github.com> Date: Sat, 9 Mar 2019 14:59:03 -0800 Subject: [PATCH] Update STAT697-01_s19-team-3_data_analysis_by_MG.sas --- STAT697-01_s19-team-3_data_analysis_by_MG.sas | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/STAT697-01_s19-team-3_data_analysis_by_MG.sas b/STAT697-01_s19-team-3_data_analysis_by_MG.sas index b063155..7b14edf 100644 --- a/STAT697-01_s19-team-3_data_analysis_by_MG.sas +++ b/STAT697-01_s19-team-3_data_analysis_by_MG.sas @@ -41,16 +41,16 @@ Followup Steps: Clear out any missing value. * output first five row of resulting sorted data to better visualize the results; proc sort - data=country_analytic_file_raw (obs=5) - out = country_analystic_file_raw_Q1; - ; - by - descending adjusted_life_index; + data=country_analytic_file_raw (obs=5) + out = country_analystic_file_raw_Q1; + ; + by + descending adjusted_life_index; run; proc report data=country_analystic_file_raw_Q1; columns - Country + Country adjusted_life_index ; run; @@ -94,17 +94,17 @@ strong correleation between the two variables.; variable; proc sgplot - data=country_analytic_file_raw; - scatter x=Year_School_Female y=Estimated_gross_national_income_; + data=country_analytic_file_raw; + scatter x=Year_School_Female y=Estimated_gross_national_income_; run; data new; set country_analytic_file_raw; - numeric_var = input(Year_School_Female, best5.); + numeric_var = input(Year_School_Female, best5.); where - numeric_var = input(Year_School_Female, best5.); + numeric_var = input(Year_School_Female, best5.); where @@ -170,10 +170,10 @@ Followup Steps: To make a boxplot of the data to see the distribution of data * To sort the data in descending order to find the max value; proc sort - data=country_analytic_file_raw - ; - by - descending Population_in_severe_multidimens; + data=country_analytic_file_raw + ; + by + descending Population_in_severe_multidimens; run; proc print;