Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

proc import file = ' ~ / my _ shared _ file _ links / michaelweinberg 0 / ExamData / covid - daily.xlsx ' out

proc import file='~/my_shared_file_links/michaelweinberg0/ExamData/covid-daily.xlsx'
out=covid replace dbms=xlsx;
run;
Create a new dataset, with the U.S. Territories eliminated. They have the following FIPS codes: 72,78,69 and 60, for Puerto Rico, the U.S. Virgin Islands, the Northern Mariana Islands and American Samoa, respectively. (30 points)
Using PROC FREQ, generate a table that shows how many reports of covid information each state submitted. Every combination of a date and a state is one submission. (35 points)
Complete the following step using three of the four SAS commands: PROC MEANS, PROC TABULATE, PROC REPORT, PROC SQL
Generate a table that for each state shows the state name, and the mean, median and maximum new cases. (35 points for each command, for a total of 105 points)
Sort the covid dataset, sending output to a new dataset, with new cases as the primary key from the highest value to the lowest. Indicate in your comments which state and which day had the highest number of new cases. (30 points)
For extra credit, redo Step 3, but with the numeric values formatted with commas and nothing to the right of the decimal point. (10 for each command, for a total of 30 points).
Note: Sample output is attached with this formatting. Your output does not need to look exactly like it. To do the formatting with PROC MEANS, you may have to send the output to a new dataset, and then print that dataset.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probabilistic Databases

Authors: Dan Suciu, Dan Olteanu, Christopher Re, Christoph Koch

1st Edition

3031007514, 978-3031007514

More Books

Students also viewed these Databases questions

Question

Give three examples of application controls.

Answered: 1 week ago

Question

What are the best practices for managing a large software project?

Answered: 1 week ago

Question

How does clustering in unsupervised learning help in data analysis?

Answered: 1 week ago

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago