TA12-1
In all cases, the software capable of making control charts requires the actual sample values. If you only have summary statistics (like ) for each sample, create the control chart as a connected scatterplot with the sample number on the x axis and the sample statistic on the y axis.
Variable Control Charts and Capability
Excel does not have built-in capabilities to create control charts, but if you have a column with the statistic () or s and another with the sample numbers, you can create the basis for a control chart using Insert ➔ Scatterplot with Straight Lines . The sample number column (which should plot on the x-axis) must be the left column in the two adjoining columns of data in the spreadsheet (use copy and paste if needed to make the columns adjacent to one another).
Capability can be calculated using NORM.DIST from the Statistical Functions menu.
Data must have one column for the sample values and a second column that indicates the sample number.
For an individual and moving average chart, select the IR chart type. Click to select the variable of interest into the Process box and click “OK.”
To compute capability, click the red triangle next to “Variables Control Chart” at the top of the graph. Enter the lower limit, the target mean, and the upper limit. and are given at the lower right of that output.
For more information and examples, see the JMP Video Technology Manuals videos, X-Bar Charts, S Charts, and Capability Calculations.
TA12-2
For a chart based on individuals, use Stat ➔ Control Charts ➔ Variables Charts for Individuals ➔ I-MR.
To calculate capability, click Stat ➔ Quality Tools ➔ Capability Analysis ➔ Normal.
For more information and examples, see the Minitab Video Technology Manuals, X-Bar Charts and S Charts.
To calculate capability, click “Statistics” in the main chart definition dialog. Enter the upper and lower specification limits (and the target, if applicable). Check the boxes for the appropriate statistics ( and/or ). Click “Continue” to return to the main dialog.
For more information and examples, see the SPSS Video Technology Manuals videos, X-Bar and S Charts and Capability Calculations.
Crunchit! does not have built-in capabilities to create control charts, but if you have a column with the statistic () or s and another with the sample numbers, you can create the basis for a control chart using Graphics ➔ Scatterplot. Define the plot with the sample number as the variable and the statistic as . Set the “Display” option to either “Line” or “Both.” Add the control limits by hand after printing the graph.
Capability can be calculated using the “Normal” option from the Distribution Calculator menu.
TA12-3
TI calculators do not have built-in capabilities to create control charts, but if you have a list with the statistic () or s and another with the sample numbers, you can create the basis for a control chart using a connected Scatterplot ( ) option from (STAT PLOTS). Define the plot with the sample number as the variable and the statistic as . The control limits can be calculated by hand and added to the graph using functions (set variables equal to the , , and ).
Capability can be calculated using normalcdf from the DISTR menu.
You’ll first have to install the qcc (quality control chart) package (this only needs to be done once). Click Packages ➔ Set Cran Mirror and select a download site. Then click Packages ➔ Install Packages and locate qcc in the alphabetical list. Click “OK.” Once it has installed, click Packages ➔ Load Package and again scroll down to select qcc; click “OK.”
To produce charts, each sample group must be in its own row. If your data are not in that format, you can use function qccrow. Here are the steps:
> attach(dataset)
This makes referencing it easier.
> NV.by.rows <- qcc.groups(oldvar,sample-ind)
Here, NV.by.rows is the new variable with sample values across the rows, oldvar is the original process measurements, and sample-ind is the variable that details the sample numbers.
> Qcc(nv.by.rows,type=“xbar”)
(or “S” or “R” for those charts.) For an individuals chart, type=“xbar.one”.
The moving range chart for individuals needs two columns in order to compute the moving range. With data in a variable called X in this example, use the following two commands:
> xmr.raw <- matrix(cbind(x[1:length(x)-1],
x[2:length(x)]), ncol=2)
> my.xmr.mr <- qcc(xmr.raw., type=“R”, plot = TRUE)
Computing capabillity requires the qualityTools package. Install and load it similarly to how qcc was installed and loaded. The basic command there is as follows:
> pcr (x,“normal”,lsl=x.xx, usl = y.yy)
where x is a single column of process measurements, x.xx is the value of the lower specification level, and y.yy is the upper specification level.
For more information and an example, see the R Video Technology Manual, Control Charts.
TA12-4
Attribute Control Charts ( and Charts)
Data must have one column for the sample proportions and a second column with the sample size, if the sample size is not constant. The sample number is optional.
For more information and an example, see the JMP Video Technology Manuals video, Charts.
For more information and an example, see the Minitab Video Technology Manuals video. P Charts.
For more information and examples, see the SPSS Video Technology Manuals video, P Charts.
We assume the qcc package has been loaded; if not, click Packages ➔ Load package, scroll down to locate and highlight qcc and click “OK.”
To produce charts, each sample group must be in its own row. With a count variable representing the sample outcome and another containing the sample size:
> attach(dataset)
This makes referencing it easier. The command example below creates a p chart. For a c chart, replace the “p” with “c.”
> Qcc(countvar, sizes=sizevar, type=“p”)
For more information and an example, see the R Video Technology Manual, Control Charts.