Test_sol

Test_sol - STAT 4/6360 Test Name_ Spring 2011 Total Points:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 STAT 4/6360 Test Name____________________________ Spring 2011 Total Points: 100 Problem 1: The data come from a study by Stamey et al. (1989) that examined the correlation between the level of prostate specific antigen (PSA) and a number of clinical measures, in 96 men who were about to receive a radical prostatectomy. The variables are log-cancer-volume ( lcavol ) log prostate weight ( lweight ), age (age) seminal vesicle invasion ( svi ): ‘N’=No or ‘Y’=Yes Gleason score ( gleason ): 6, 7, or 9 prostate specific antigen ( psa ) The prostate1.txt (separated by tabs ) contains 40 observations and prostate2.xls contains 56 observations. 1. (10 points) Convert the prostate1.txt file into a SAS data set called prostate1 (note that it is separated by tabs and the actual observation starts on line 2). Use the same variable names above. Also, convert the prostate2.xls file into a SAS data set called prostate2 using PROC IMPORT . Combine prostate1 and prostate2 and create a new data set called prostate . When you do this, create a new variable called lpsa by taking the logarithm of psa (use the log() function) and drop psa . Also label the variable
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Test_sol - STAT 4/6360 Test Name_ Spring 2011 Total Points:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online