27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

END CASE 515<br />

• The frequencies table for X is as expected, because X is computed from inline data and no<br />

computation is done between END CASE and END INPUT PROGARM.<br />

• The VARIABLE LABELS and PRINT FORMATS commands have their desired effects even<br />

though they are executed with the COMPUTE command, because they do not act on any<br />

data read in.<br />

• Moving COMPUTE before END CASE will solve the problem, but the preferred solution is<br />

to specify END INPUT PROGRAM before all commands in the transformation program,<br />

since they operate on the cases created by the input program.<br />

Figure 6 FREQUENCIES output<br />

X TEST VARIABLE<br />

VALID CUM<br />

VALUE LABEL VALUE FREQUENCY PERCENT PERCENT PERCENT<br />

1 3 50.0 50.0 50.0<br />

2 1 16.7 16.7 66.7<br />

3 1 16.7 16.7 83.3<br />

5 1 16.7 16.7 100.0<br />

------- ------- -------<br />

TOTAL 6 100.0 100.0<br />

VALID CASES 6 MISSING CASES 0<br />

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />

Y SQUARE OF X<br />

VALID CUM<br />

VALUE LABEL VALUE FREQUENCY PERCENT PERCENT PERCENT<br />

. 6 100.0 MISSING<br />

------- ------- -------<br />

TOTAL 6 100.0 100.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!