
11Creating Variables Conditionally
Check if PREG_SMOKER and PREG_INFO are created correctly
The FREQ Procedure
Cumulative Cumulative
preg_smoker Frequency Percent Frequency Percent
— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —
. 4 . . .
0 29 96.67 29 96.67
1 1 3.33 30 100.00
Frequency Missing = 4
Cumulative Cumulative
preg_info Frequency Percent Frequency Percent
— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —
0 4 11.76 4 11.76
1 30 88.24 34 100.00
2.2 Executing One of Several Statements
The IF-THEN/ELSE statement in the previous section contains only one
optional ELSE clause. With only on ...