Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 2 . a . Read the data set behavioral therapy.txt in SAS using infile statement and variable list in input statement and call this
Problem
a Read the data set behavioral therapy.txt in SAS using infile statement and variable list in input statement and call this SAS data set btherapy. HINT: examine your data carefully before infilling Variables are GROUP char and TIME TIME and TIMEall num
b Print the data.
c Sort this data set by GROUP. Produce summary statistics means sd etc for variable TIME using BY processing and then repeat it using CLASS statement.
Problem
a Read the data set drugtxt in SAS using infile statement and call this SAS data set drug Use column pointers, variables lists and informats within input statement. Variables are DRUG char RESP RESP RESP PULSE PULSE and PULSEall num Note that RESP and PULSE variables have one decimal place so make sure that shows up in the output.
b Print the data.
c Output that data set to your designated drive using ODS RTF and ODS PDF statements with PROC PRINT.vm Takahi
Drnhlar
behavioral therapy.txt
T
C
C
T
drugtxt
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started