Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this problem, you will be asked to create a SAS data file from a text file downloaded from the 2004 SEER cancer registry on

For this problem, you will be asked to create a SAS data file from a text file downloaded from the 2004 SEER cancer registry on cancer of the urinary system. See the file URINARY.txt posted on blackboard. The file seerdic.pdf contains information on the variables in the text file. Please refer to it directly while performing the steps to creating the data set. You will then be asked to complete a series of tasks using the data set you created.

  1. Download the text file to a directory on your computer, and use an infile statement to direct SAS to the file from which you wish to read the raw data.

  1. The file seerdic.pdf contains a list of variables stored in the file urinary.txt in addition to their column numbers (positions). Use the input statement create new variables for items 1, 2, 7, 8, 10, 11, 13, 14, 15, 18, 20 - size, 20 - positive nodes examined, 20 - nodes examined,37 - years, 37 - months, 63, 71. Note: it is your responsibility to determine whether a variable should be coded as numeric or character.

  1. Run a SAS procedure to calculate a frequency table and to generate a bar chart which summarizes the variables race, sex, and marital status. Then summarize in your own table. Report which category is the mode for each variable?

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

Convex Optimization

Authors: Stephen Boyd, Lieven Vandenberghe

1st Edition

1107299527, 9781107299528

More Books

Students also viewed these Mathematics questions

Question

5. Give some examples of hidden knowledge.

Answered: 1 week ago