P Charts
P Charts
Use P Chart to monitor the proportion of defective items where each item can
be classified into one of two categories, such as pass or fail. Use this control
chart to monitor process stability over time so that you can identify and
correct instabilities in a process.
The chart shows that, on average, 8% of the delivery vehicles are out of
service on any particular day. The proportion of defective units for day 19 is
out of control. The manager should identify any special causes that
contribute to the unusually high rate of defectives.
To ensure that your results are valid, consider the following guidelines when
you collect data, perform the analysis, and interpret your results.
A subgroup is a sample of similar items from the process that you want
to evaluate. The items in each subgroup should be collected under the
same process conditions, such as personnel, equipment, suppliers, or
environment.
If the subgroup sizes are not large enough, the control limits may not
be accurate when they are estimated from the data. The required
subgroup size ( ) depends on the average proportion of defective items
( ). Use the following formula to determine whether your subgroups
are large enough, . For example, if the average proportion of
defective items is 0.06, then all subgroups must have at least 9
items: , rounded up to the nearest whole number = 9.
If you don't have enough subgroups, you can still use the control chart,
but you should consider the results preliminary because the control
limits may not be precise. If you are using the chart on an ongoing
basis, re-estimate the control limits after you have collected enough
subgroups.
Example of P Chart
Learn more about Minitab 19
The supervisor for a call center wants to evaluate the process for answering
customer phone calls. The supervisor records the total number of incoming
calls and the number of unanswered calls for 21 days. The supervisor creates
a P chart to monitor the proportion of unanswered calls.
1. Open the sample data, UnansweredCalls.MTW.
2. Choose Stat > Control Charts > Attributes Charts > P.
3. In Variables, enter Unanswered Calls.
4. In Subgroup sizes, enter Total Calls.
5. Click P Chart Options.
6. On the Tests tab, select 1 point > K standard deviations from
center line (Test 1) and K points in a row on same side of center
line (Test 2).
If you are not sure which tests apply in your specific situation, use
Tests 1 and 2 when you first establish the control limits based on your
data.
Complete the following steps to specify the data to analyze for your control
chart.
1. In Variables, enter the column that contains the process data. Each
row contains the number of defectives for one subgroup. If you enter
more than one column, Minitab creates a separate P chart for each
column.
2. In Subgroup sizes, do one of the following:
If all subgroups are the same size, enter the size (for example,
55).
Enter a column that contains the size of each subgroup.
In this worksheet, the Rejected Parts column contains the number of
defective parts in each subgroup. The Parts Sampled column contains the
total number of parts that were sampled for each subgroup.
C1 C2
Rejected Parts
Parts Sampled
9 120
8 110
5 110
6 115
Stat > Control Charts > Attributes Charts > P > Scale > Time
Index
Label the x-axis with the number of the subgroup.
Stamp
Label the x-axis with values from a column. In Stamp columns (1-3,
innermost first), enter up to three columns that contain date/time,
Stat > Control Charts > Attributes Charts > P > Scale > Axes and
Ticks
Specify which scale elements to display and where to display them. The
following example illustrates the components of the y-axis for a typical
control chart.
Stat > Control Charts > Attributes Charts > P > Scale > Gridlines
Stat > Control Charts > Attributes Charts > P > Scale > Reference
lines
Display reference lines at one or more values on the x-axis or the y-axis.
Separate multiple values with spaces.
Stat > Control Charts > Attributes Charts > P > Labels
Stat > Control Charts > Attributes Charts > P > Multiple Graphs
If you enter more than one column, Minitab creates a separate control chart
for each column. Select Same Y to use the same y-scale for each control
chart.
In this example, the measurements for Machine 2 are larger than those of
Machine 1. By default, the ranges on the y-scales of the charts are different.
When you select Same Y, Minitab uses the same range for the y-scale on
both charts.
Default
Same Y
Stat > Control Charts > Attributes Charts > P > Data Options
In This Topic
Include or Exclude
Specify Which Rows to Include/Exclude
Leave gaps for excluded points
Include or Exclude
Specify whether to include or exclude rows from the control chart.
Specify Which Rows to Include/Exclude
All rows/No rows
Brushed rows
Include or exclude all brushed rows.
Row numbers
List the rows to include or exclude. Use a colon (:) to denote an
inclusive range. For example, enter 1 4 6:10 to signify the rows 1, 4, 6,
7, 8, 9, and 10.
Stat > Control Charts > Attributes Charts > P > Data Options
In This Topic
Include or Exclude
Specify Which Rows to Include/Exclude
Leave gaps for excluded points
Include or Exclude
Specify whether to include or exclude rows from the control chart.
Brushed rows
Include or exclude all brushed rows.
Row numbers
List the rows to include or exclude. Use a colon (:) to denote an
inclusive range. For example, enter 1 4 6:10 to signify the rows 1, 4, 6,
7, 8, 9, and 10.
Stat > Control Charts > Attributes Charts > P > P Chart
Options > Parameters
Enter the historical value for the proportion that Minitab uses to calculate the
center line and control limits. If you do not specify a parameter, Minitab
estimates the proportion from the data. You can enter a single proportion for
the entire chart, or you can enter a proportion for each stage.
Stat > Control Charts > Attributes Charts > P > P Chart
Options > Estimate
If some subgroups have erratic data because of special causes that you have
already corrected, you can omit these subgroups from the calculations to
avoid incorrect parameter estimates.
1. From the drop-down list, specify whether you want to list the
subgroups to omit or the subgroups to include.
To list the subgroups to omit, select Omit the following
subgroups when estimating parameters (eg, 3 12:15).
To list the subgroups to include, select Use the following
subgroups when estimating parameters (eg, 3 12:15).
2. List the subgroups. Use a colon to indicate a range of subgroups. Leave
a space between each subgroup or range of subgroups.
For example, to specify subgroups 4, 7, 11, 12, 13, and 14, enter 4 7
11:14.
Stat > Control Charts > Attributes Charts > P > P Chart
Options > Limits
In This Topic
NOTE
Upper bounds and lower bounds do not affect the calculations for any of the
tests for special causes.
CAUTION
When you specify a subgroup size, you change the calculations for the
control limits, which can change the results of the tests for special causes.
Use this option only if the differences between the subgroup sizes are small.
Don't use this option when the difference between subgroup sizes is more
than 25%. For example, if the largest subgroup has 10 observations and the
smallest subgroup has 8 observations, then the difference is 20% ((10 – 8) /
10 = 0.2 = 20%).
For example, the data for the following charts is the same, but the control
limits for the second chart were calculated based on a fixed subgroup size.
Actual subgroup sizes
Stat > Control Charts > Attributes Charts > P > P Chart
Options > Tests
Minitab provides four tests for special causes. By default, Minitab uses only
Test 1. Select additional tests based on company or industry standards. Use
the tests to determine which observations to investigate, and to identify the
specific patterns and trends in your data.
In the drop-down list, specify whether to perform some, all, or no tests for
special causes. You can make each test more or less sensitive by changing
the value of K.
TIP
To change the default settings for future sessions of Minitab,
choose File > Options > Control Charts and Quality Tools > Tests.
1 point > K standard deviations from center line
Stat > Control Charts > Attributes Charts > P > P Chart
Options > Stages
In This Topic
This historical control chart shows three stages of a process, which represent
before, during, and after the implementation of a new procedure.
Start a new stage with each new value from a
column
1. In Define stages (historical groups) with this variable, enter the
column that identifies the stages.
In the example below, the values in the Stage column change from 1 to
2 to indicate the beginning of stage 2. The values change from 2 to 3
to indicate the beginning of stage 3.
2. Under When to start a new stage, select With each new value.
C1 C2
Defectiv Stag
es e
... ...
9 1
10 1
8 2
11 2
C1 C2
Defectiv Stag
es e
... ...
7 2
8 2
5 3
7 3
... ...
NOTE
Ellipses indicate additional rows of data that are not shown.
In the example below, the Date column contains the date that each row
of data was collected. New stages began on November 9 and
December 11.
Defectiv Date
es
... ...
9 11/8
10 11/8
8 11/9
11 11/9
... ...
7 12/1
0
8 12/1
0
5 12/1
1
7 12/1
1
... ...
NOTE
Ellipses indicate additional rows of data that are not shown.
Stat > Control Charts > Attributes Charts > P > P Chart
Options > Display
In This Topic
In this example, analysts collect data each hour for one week.
All
Last
This chart displays only the most recent number of subgroups that you
enter. By default, Minitab displays the last 25 subgroups.
Split chart into a series of segments for display
purposes
When you have a large number of subgroups or observations, consider
splitting your control chart into segments for easier interpretation.
If your chart has stages, Minitab calculates separate control limits and
center line estimates for each segment.
Select Display control limit / center line labels for all stages to
display labels for the control limits and the center lines for all stages. If
you don't display the labels for all stages, you can still view the labels by
holding the pointer over the lines.
Stat > Control Charts > Attributes Charts > P > P Chart
Options > Storage
You can save statistics from your analysis to the worksheet so that you can
use the statistics in other analyses, graphs, and macros. Minitab stores the
statistics after the last column of data. The names of the storage columns
end with a number that increases as you store the same statistic multiple
times.
Store the value of each plotted point. Minitab stores these values in the
column PPOI.
Stage
Store the name or the number of each stage. Minitab stores these
values in the column STAG.
Subgroup size
Store the size of each subgroup. Minitab stores these values in the
column SSIZ.
Test results
Store the results of each test for special causes. Minitab stores a 1 if
the point fails a test and a 0 if the point does not fail the test. Minitab
stores these values in the columns TRES, TRES_1, and so on.
Complete the following steps to interpret a P chart. Key output includes the P
chart and test results.
In This Topic
These results show that subgroup 52 failed both Test 1 and Test 2. Subgroup
53 failed Test 2.
Test Results for P Chart of Defective Units
TEST 1. One point more than 3.00 standard deviations from center
line.
NOTE
When you use several tests at the same time, the sensitivity of the chart
increases. However, the false alarm rate also increases, which can make you
react to the test results unnecessarily.
For more information on each of the tests and when to use them, go to Using
tests for special causes in control charts.
Find definitions and interpretation guidance for every statistic and graph that
is provided with the P chart.
In This Topic
Plotted points
Center line
Control limits
Tests for special causes
Stages
Plotted points
Each point on a P chart represents the proportion of defective items or units
for one subgroup.
Interpretation
If the process is in control, the points vary randomly around the center line,
and the process exhibits only common-cause variation. Investigate points
that fall outside the control limits or that exhibit nonrandom patterns for
possible special-cause variation.
Center line
The center line on a P chart represents the average proportion of defective
units for the process. The average proportion of defective units is also called
the process proportion.
Interpretation
Use the center line to observe how the process performs compared to the
average. If the process is in control, then the points vary randomly around
the center line.
CAUTION
Do not confuse the center line with the target value for your process. The
target is your desired outcome. The center line is the actual outcome.
Control limits
Control limits are the horizontal lines that are above and below the center
line. The control limits indicate whether a process is out of control, and they
are based on the expected variation in the plotted points. By default, Minitab
displays control limits at 3 standard deviations above and below the center
line.
CAUTION
Do not confuse control limits with specification limits. Specification limits
represent customer requirements and indicate the amount of variation that
you want to see in the process. Control limits represent the actual amount of
variation that is in the sample data. A process can be in control, yet not be
capable of meeting specifications.
Test 2: Nine points in a row on the same side of the center line
Test 2 identifies shifts in the proportion of defectives for the process. If
small shifts in the process are of interest, you can use Test 2 to
supplement Test 1 in order to create a control chart that has greater
sensitivity.
Stages
Use stages to create a historical control chart that shows how a
process changes over specific periods of time. By default, Minitab
recalculates the center line and control limits for each stage. For
more information, go to Add stages to show how a process changed.
Interpretation
This historical control chart shows three stages of a process, which
represent before, during, and after the implementation of a new
procedure.
In This Topic
Plotted points
Center line
Control limits
Plotted points
Each plotted point represents the proportion of defectives for one
subgroup, pi:
Notation
Ter
Description
m
ni size of subgroup i
Center line
The center line represents the proportion of defectives for your process, . If
you do not specify a historical value, then Minitab uses the average
proportion of defectives from your data, , to estimate .
Notation
Ter
Description
m
number of defectives in
subgroup
size of subgroup
Control limits
Lower control limit (LCL)
The LCL for each subgroup is equal to the greater of the following:
or
or
Notation
Ter
Description
m
process proportion
size of subgroup