I want to make sure that i am choosing the correct codes for the SAS. CAN ANYONE
ID: 358509 • Letter: I
Question
I want to make sure that i am choosing the correct codes for the SAS. CAN ANYONE EXPLAIN WHAT THIS CODES MEAN AND WHAT THEY ARE ANALYZING?
1. Your friend wants to know number of reported crime in Chicago by primary type. Help him. Using SAS will allow us to obtain data for analyzation of the following questions. Below we are importing an Excel workbook called Chicago Crime Data 2007 to 2010 by using the statement proc import out- ChicagoCrime. Once the file is imported into the library folder called ChicagoCrime within Libraries, the data will be sorted out by primary type. Using the code proc sort will allow us to sort the data by Primary type and we can see that the number of reported crimes in Chicago by primary type are 1,048,575; the data was assorted in descending order from A to Z. ew Teeh VEWTABLE 6KS WABASH AVE 1020 ARSON 1090 ARSON 1020 NRSON FIRE TEMFT RSON 02 ARSON FIRE yPrinary Type Code Used: Proc sort data- sasdata.chicagocrime out-sasdata.ChicagoCrimez; by Primary_lype;, run; 2. If you have to purchase a home, which districts in Chicago is the safest for your family?Explanation / Answer
Answer:
The SAS is the Statistical Analysis System software used for advamced analysis of the data for the business requirements. These had been develop in North carolina University from 1966 to 1976. This has been used in wide variety of applications. The Purpose of SAS software tool is to perform the statitical analysis for the given data based on the command used in SAS. All the commands in the SAS can perform the desired analysis.
SAS performs the analysis based on the codes used in the SASsoftware for the analysis. Each code has unique set of analysis.
Code
Proc sort data =sasdata.chicagocrime out=sasdata.ChicagoCrime2;
by Primary_type;
run;
-------------------------------------------------------------------------------------
This is the code used for sorting out the data of the excel sheet of Chicagocrime data.
Thus this is the sorting code for the given data only.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.