Answered step by step
Verified Expert Solution
Link Copied!

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 2.
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 TIME1, TIME2 and TIME3(all num)
b. Print the data.
c. Sort this data set by GROUP. Produce summary statistics (means, sd etc) for variable TIME1 using BY processing and then repeat it using CLASS statement.
Problem 3.
a. Read the data set drug1.txt in SAS using infile statement and call this SAS data set drug1. Use column pointers, variables lists and informats within input statement. Variables are DRUG (char), RESP1, RESP2, RESP3, PULSE1, PULSE2 and PULSE3(all 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 Taka-hi
Drnhlar
behavioral therapy.txt
T 4
C 78
C
T 16,17g
13,43*33*32*22*12.1
213,43,43*32*22*12*2
13,33,43,42*32*42.3
13,43,43,42.32,42.3
13.33,43.32.22.22.4
13,33,33,32.02,12.4
drug1.txt
image text in transcribed

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

Spatial Databases With Application To GIS

Authors: Philippe Rigaux, Michel Scholl, Agnès Voisard

1st Edition

1558605886, 978-1558605886

More Books

Students also viewed these Databases questions