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
282 Statistical Programming in SAS
Display 8.21 (continued)
condition logcount iPlastic iVacuum iMixed iCO2
Vacuum 5.26 0 1 0 0
Vacuum 5.44 0 1 0 0
Vacuum 5.80 0 1 0 0
Mixed 7.41 0 0 1 0
Mixed 7.33 0 0 1 0
Mixed 7.04 0 0 1 0
Co2 3.51 0 0 0 1
Co2 2.91 0 0 0 1
Co2 3.66 0 0 0 1
Printing the data set confirms that the indicator variables have been constructed correctly.
(It is always a good idea to print your data after recoding variables.) By the way,
F
obs
=94.58 in both PROC REG and PROC GLM output, which is not shown. Go ahead
and try this code yourself.
You can use the “Boolean trick” 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