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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Syntax</strong> Rules<br />

SPCHART 1507<br />

• Only one chart type subcommand can be specified.<br />

• Keyword SPAN is used only with IR and I subcommands.<br />

• Keyword CONFORM or NONCONFORM is used only with NP and P subcommands.<br />

Operations<br />

• SPCHART plots four basic series: the process, the center line, the upper control line, and<br />

the lower control line.<br />

• The chart title, subtitle, and footnote are assigned as they are specified on TITLE, SUBTITLE,<br />

and FOOTNOTE subcommands. If you do not use these subcommands, the chart title is<br />

Control Chart, followed by the label of the process variable, and a one-line footnote displays<br />

the sigma level.<br />

• The category variable label is used as the title for the category axis. If no variable label is<br />

defined, the variable name is used. If no category variable is defined, the title is null.<br />

• The category variable value labels are used as the category axis labels. If no value labels<br />

are defined, values are used. If no category variable is defined, integer values from 1 to n<br />

are used, where n is the number of subgroups or units plotted.<br />

• All series are plotted as lines. When a series has a constant value across all samples, the<br />

value is reported in the legend entry for the series.<br />

• Case weights are not honored for control charts when each case is a subgroup. They are<br />

honored when each case is a unit and when the weights are integers. When weighted data<br />

are used in an individuals chart, replicated cases are plotted on the control chart.<br />

• The calculated control limits are always displayed and can be suppressed only by editing<br />

the chart in a chart window.<br />

• You can specify preset control limits for an X-bar or I chart, as some industries often do.<br />

The specified control limits are displayed simultaneously with the calculated limits.<br />

Limitations<br />

Example<br />

• Control charts cannot have fewer than 2 or more than 3000 points.<br />

• The subgroup size in X-bar and range charts cannot exceed 100.<br />

• The span for individual charts is limited to 100.<br />

SPCHART /TEMPLATE=’CNTR.CHT’<br />

/IR=SUBSIZE.<br />

• This command generates an individuals chart and a moving range chart. The process variable<br />

SUBSIZE is a numeric variable that measures the size variation of the product.<br />

• Both charts uses the attributes defined for the template saved in CNTR.CHT.

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

Saved successfully!

Ooh no, something went wrong!