Question: 1. As you may recall, the Interstitial Cystitis Data Base (ICDB) Study involved collecting data on patients with interstitial cystitis. Because it is unknown what

1. As you may recall, the Interstitial Cystitis Data Base (ICDB) Study involved collecting data on patients with interstitial cystitis. Because it is unknown what causes interstitial cystitis, the primary hope was to identify similarities among patients with the disease. The Background Information Form1. As you may recall, the Interstitial Cystitispurg.v1.pdf1. As you may recall, the Interstitial Cystitisand Pain and Urgency Form1. As you may recall, the Interstitial Cystitis were just two of the data forms completed on the 638 subjects enrolled in the study. The analysis SAS data set (right-click to save!) contains just four of the variables arising from these data forms:

subj, a six-digit subject ID number

sex, the subject's gender (1 = Male, 2 = Female)

income, the subject's household income (1 = less than $30,000, and 2 = at least $30,000)

purg_1, the subject's reported pain score on a scale of 0 (mild) to 9 (severe)

Your job is to use the analysis data set and the REPORT procedure to create a report that looks as close to this as possible:

As you can see, you'll need to use the FORMAT procedure to create user-defined formats for the sex and income variables.

2. The national parks raw data file1. As you may recall, the Interstitial Cystitis Data Base (ICDB) Study contains the following information on 11 national parks (or monuments):

ParkName, columns 1-21 contain the park name

Type, the type of the park (NM = national monument, NP = national park)

Region, region of the U.S. (the choices are East or West)

Museums, the number of museums in the park (including visitor centers)

Camping, the number of campgrounds in the park

Your job is to download the data file, read it into a temporary SAS data set called parks, and then use the REPORT procedure to create a report that looks like this:

Three hopefully helpful hints:

You'll need to use Musesums and Camping to compute the Facilities column.

Re-read the last paragraph in the section on group variables. The paragraph is telling you that you'll need to define Region as a group variable to get SAS to properly collapse the report.

Recall that, by default, column widths are 9 for unformatted numeric variables, causing a problem with centering. The Museums and Camping variables should therefore be formatted to 2.0 so that they can be properly centered under the headings.

Here are the two forms:

involved collecting data on patients with interstitial cystitis. Because it is unknown1. As you may recall, the Interstitial Cystitis

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!