This week, we will practice creating charts, and box plots. We will be using a dataset from CDC related to the leading causes of death in the United states. The data dictionary is provided below....

This week, we will practice creating charts, and box plots. We will be using a dataset from CDC related to the leading causes of death in the United states. The data dictionary is provided below. Alphabetic List of Variables and Attributes # Variable Type Len Format Informat Label 5 AgeadjustedDeathRate Num 8 Age-adjusted Death Rate 2 CauseName Char 53 $53. $53. Cause of Death Name 4 Deaths Num 8 Deaths (count) 3 State Char 20 $20. $20. State 1 Year Num 8 Year Note that the variable CauseName includes individual causes of death (e.g. Cancer, Homicide, etc.) as well as a summary cause that reflects All Causes of death. To avoid double counting numbers of death, we need to exclude from our analysis the records/rows for which CauseName is equal to All Causes. We can do this with a filter. The mathematical sign for “not equal to” in SAS is <>. For example, if we wanted to create a filter to exclude cases with red color from a dataset, we would filter for color<>”red”. Color is a character variable and its value (red) has to be included in quotation marks. Values of character variables are CaSe SEnsITIve. To perform the analysis, follow the steps below. 1. Locate the Leading_Causes_of_Death_United_States file under the Files(Home), my_courses (or my_shared_file_links), atsalats, Assignment4 folder in the Navigation Pane, under the Server Files and Folders tab. Notice that this is not an excel file. 2. Copy the file into the my_datasets directory 3. Use the Import data utility under Task and Utilities, Utilities folder in the Navigation pane to import the Leading_Causes_of_Death_United_States file in the MYDATA library as leadingcausesdeath. 4. Ensure that the table LEADINGCAUSESDEATH is listed under the MYDATA library. 5. Create a Bar Chart that displays the percentage of deaths per cause of death in the US. That is, the percentage of deaths per cause of death (e.g. cancer, homicide, etc.) regardless of State and Year. Remember to exclude from your analysis cases for which
May 22, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here