Skip to Main Content
Statistical Programming in SAS
book

Statistical Programming in SAS

by John Bailer
April 2015
Intermediate to advanced content levelIntermediate to advanced
460 pages
14h 45m
English
SAS Institute
Content preview from Statistical Programming in SAS
Chapter 9: Programming in a DATA Step 347
9.7 Exercises
1. The code for the randomization test in this chapter has an inherent inefficiency.
The program performs the following check:
if type='O' then do;
However, type='O' only in the first line, but every line is checked. Modify
this program to make it more efficient. Hint: You can use multiple INPUT
statements in a DATA step.
2. A simple difference statistic is used in the two-group randomization test. Does it
matter if the t-statistic is used? Conduct a randomization test using the
t-statistic.
3. Perform a randomization test on the packaging and log-bacterial growth data.
2
In
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Elementary Statistics Using SAS

Elementary Statistics Using SAS

Sandra D. Schlotzhauer

Publisher Resources

ISBN: 9781607645047