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.

1580 TSPLOT<br />

UNIFORM Scale uniformly. The vertical axis is scaled according to the values of the<br />

entire data set.<br />

SCALE Scale individually. The vertical axis is scaled according to the values of each<br />

individual subgroup.<br />

• If FORMAT=REFERENCE is specified when SPLIT=SCALE, the reference line is placed at<br />

the mean of the subgroup. If FORMAT=REFERENCE is specified when SPLIT=UNIFORM,<br />

the reference line is placed at the overall mean.<br />

Example<br />

SPLIT FILE BY REGION.<br />

TSPLOT TICKETS / SPLIT=SCALE.<br />

• In this example, the data have been split into subgroups by REGION. The plots produced<br />

with the SCALE subcommand have vertical axes that are individually scaled according to<br />

the values of each particular region.<br />

APPLY Subcommand<br />

APPLY allows you to produce a plot using previously defined specifications without having<br />

to repeat the TSPLOT subcommands.<br />

• The only specification on APPLY is the name of a previous model enclosed in apostrophes.<br />

If a model name is not specified, the specifications from the previous TSPLOT command<br />

are used.<br />

• To change one or more specifications of the plot, specify the subcommands of only those<br />

portions you want to change after subcommand APPLY.<br />

• If no variables are specified, the variables that were specified for the original plot are used.<br />

• To plot different variables, enter new variable names before or after the APPLY subcommand.<br />

Example<br />

TSPLOT TICKETS<br />

/LN<br />

/DIFF=1<br />

/SDIFF=1<br />

/PERIOD=12.<br />

TSPLOT ROUNDTRP<br />

/APPLY.<br />

TSPLOT APPLY<br />

/NOLOG.<br />

• The first command produces a plot of TICKETS after a natural log transformation, differencing,<br />

and seasonal differencing have been applied.<br />

• The second command plots the values for ROUNDTRP using the same subcommands<br />

specified for TICKETS.<br />

• The third command produces another plot of ROUNDTRP but this time without a log<br />

transformation. ROUNDTRP is still differenced once and seasonally differenced with a<br />

periodicity of 12.

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

Saved successfully!

Ooh no, something went wrong!