Improper Use of Control Charts: Traps to Avoid SEPG 2006 Virginia - - PowerPoint PPT Presentation

improper use of control charts traps to avoid
SMART_READER_LITE
LIVE PREVIEW

Improper Use of Control Charts: Traps to Avoid SEPG 2006 Virginia - - PowerPoint PPT Presentation

Improper Use of Control Charts: Traps to Avoid SEPG 2006 Virginia Slavin Agenda Why Statistical Process Control? Data Assumptions Signal Rules Common Issues with Control Charts Summary March 2006 2 Why Statistical


slide-1
SLIDE 1

Improper Use of Control Charts: Traps to Avoid

SEPG 2006 Virginia Slavin

slide-2
SLIDE 2

March 2006 2

Agenda

  • Why Statistical Process Control?
  • Data Assumptions
  • Signal Rules
  • Common Issues with Control Charts
  • Summary
slide-3
SLIDE 3

March 2006 3

Why Statistical Process Control? (SPC)

Basic Uses

  • A technique to understand variation

– Identify signals for action

“In Control” Uses

  • A technique to define the “result space”
  • f a process

– Useful for predicting or estimating future results

slide-4
SLIDE 4

March 2006 4

Data Assumptions for SPC

  • Data must be sequential or time sequenced
  • Data must be independent – one data point

does not determine or impact the next data point

  • Data must approximate a recognizable

distribution

  • Data must be from the same subprocess –

related to a single process instantiation

slide-5
SLIDE 5

March 2006 5

Signal Rules for SPC

  • A single point falls outside the 3-sigma limits.
  • At least 2 out of 3 successive values fall on

the same side of and more than 2 sigma units away from the centerline.

  • At least 4 out of 5 successive values fall on

the same side of and more than 1 sigma unit away from the centerline.

  • At least 8 successive values fall on the same

side of the centerline.

These are some of the most common rules. There are more that may also be used.

slide-6
SLIDE 6

March 2006 6

Common Issues with Control Charts

Most issues show up during the following activities:

  • Selection of chart type
  • Application to data
  • Adjustment of control limits
  • Other issues
slide-7
SLIDE 7

March 2006 7

Selection of Chart Type

Most commonly used chart types:

  • XmR chart – used for normally

distributed data

  • P or np charts – used for binomially

distributed data

  • C or u charts – used for data with

Poisson distribution

slide-8
SLIDE 8

March 2006 8

Why does it matter?

  • Formulas for the different charts are

based upon factors inherent in those types of distributions.

  • Use of incorrect chart may result in

either lack of signals (limits too wide) or inappropriate signals (limits shifted based on incorrect assumptions)

slide-9
SLIDE 9

March 2006 9

Ensure Correct Selection

  • Graph the data histograms on a

regular basis to ensure that the data distributions are known, and that they don’t change over time.

slide-10
SLIDE 10

March 2006 10

What Data Could This Represent?

Poisson Distribution

1 2 3 4 5

Which control chart formulas would we use?

slide-11
SLIDE 11

March 2006 11

What Data Could This Represent?

Normal Distribution

1 2 3 4 5 6

Which control chart formulas would we use?

slide-12
SLIDE 12

March 2006 12

What Data Could This Represent?

??? Distribution

1 2 3 4 5 6

Bimodal

Histograms can also indicate when data is not from the same subprocess…

slide-13
SLIDE 13

March 2006 13

Application to Data

  • Data should be from the same

subprocess

– Usually needs to be from a single project instantiation of a subprocess

slide-14
SLIDE 14

March 2006 14

Examples of Improper Application

  • Applying to data across “large”

processes such as “requirements” or “development”

  • Applying to a single process across

multiple projects (tends to be done by

  • rganizations)
  • Applying to cumulative data
slide-15
SLIDE 15

March 2006 15

Applying to “Large” processes

  • Data from many different subprocess

could hide signals

– Control limits become wider – Control charts less sensitive to “special” causes

  • Large processes don’t typically support

real-time control

  • Processes may seem to be in control –

but they’re not!

slide-16
SLIDE 16

March 2006 16

Applying across Organizations

  • Same as “large process” issues, only worse
  • Results of analysis tend to significantly lag

actions, effectively eliminating one of the main benefits of this technique

  • Projects find it hard to determine “signal”

applicability to their instantiation of the process.

  • Organizational groups cannot typically

determine project activities that caused signals – still need project input

slide-17
SLIDE 17

March 2006 17

Applying to Cumulative Data

Expenses

1000 2000 3000 4000 5000 6000 7000 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

Data Rules? Signal Rules?

slide-18
SLIDE 18

March 2006 18

Ensure Correct Application

  • Apply to very specific sub-process

elements

  • Projects should apply SPC to their
  • wn instantiations of the process
  • Do not apply to cumulative data
slide-19
SLIDE 19

March 2006 19

Adjustment of Control Limits

Most SPC practitioners struggle with the question of when to adjust control limits, and when to leave them alone. Control limits are based on the control parameters – changing control parameters will adjust the limits.

slide-20
SLIDE 20

March 2006 20

Examples of Improper Adjustment

  • With every new data point added to the chart
  • Lack of adjustment and relying solely on
  • rganizational baselines
  • Lack of adjustment because data is “in

control”, even if evidence of a process shift

slide-21
SLIDE 21

March 2006 21

Why the Confusion?

Control parameters should be adjusted when there is reason to believe that the current limits are not appropriate to provide adequate signals for action.

slide-22
SLIDE 22

March 2006 22

Ensure Correct Adjustment

Three common situations in which control parameters should be revised:

  • When the process has changed
  • When the parameters are “trial” control

parameters or baselines

  • When the initial calculation of the parameters

is inflated – typically due to small sample size Organizational guidance should be provided

slide-23
SLIDE 23

March 2006 23

Other Issues

  • Data not charted sequentially
  • Removing data from charts
slide-24
SLIDE 24

March 2006 24

Data not Charted Sequentially

With some processes it is not obvious what the chronological ordering of activities is.

– Violates data rule #1

If this is difficult to do, then consider

  • Working with a portion of process that is

chronologically mapable

  • Combining results that effectively occur at the same

time into a subgroup

  • Using another technique besides SPC to monitor

these activities

slide-25
SLIDE 25

March 2006 25

Removing Data from Charts

Some tools require removal of data points to recalculate control limits

– Cannot evaluate signal rules, especially those for trends and runs

Best to ensure all data points remain on the charts, even those removed from the calculation of the control limits.

slide-26
SLIDE 26

March 2006 26

Summary

Control Charts are a powerful technique for understanding variation in our processes…

slide-27
SLIDE 27

March 2006 27

References

  • Card, David. ““Defect Analysis: Basic Techniques for

Management and Learning”, Advances in Computers. 2005

  • Florac, William A. and Anita D. Carleton. Measuring the

Software Process: Statistical Process Control for Software Process Improvement. Reading Massachusetts: Addison-Wesley. 1999.

  • Wheeler, Donald J. and David S. Chambers.

Understanding Statistical Process Control. Second

  • Edition. Knoxville, TN: SPC Press, Inc. 1992.
slide-28
SLIDE 28

March 2006 28

Contact Information

Virginia Slavin, Consultant Texas Office: 301-982-7773 x203 Cell: 817-919-9182 Email: virginia.slavin@q-labs.com Q-Labs, Inc – Sales Maryland Office: 301-982-7773 www.q-labsusa.com www.q-labs.com

slide-29
SLIDE 29

March 2006 29

About Q-Labs

Consulting, training, and appraisals in software measurement, CMM/CMMI, ISO 9000, SPICE, etc. International presence

France Germany Sweden UK USA

More than 100 employees ISO 9001 Certified A broad international client base, including

Alcatel, Bouygues Telecom, France Telecom, Orange AXA, BNP Paribas, Banques Populaires ABB, R. Bosch, EDF, IBM, Siemens, Schneider Electric, Thomson Detexis, Volvo, Sony Atomic Energy Board of Canada, FAA, Norwegian Ministry of Justice, Swedish Civil Aviation Administration Thales, Thomson, FMV, US Army TACOM

www.q-labsusa.com