Six Sigma DMAIC Series in R – Part 5

[This article was first published on R Programming – DataScience+, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

    Categories

    1. Basic Statistics

    Tags

    1. Best R Packages
    2. Data Visualisation
    3. Prediction
    4. R Programming

    Hope you liked the Part 1, Part 2, Part 3, and Part 4 of this series. In this Part 5, we are going to discuss tools used during the Control phase of Six Sigma DMAIC cycle. The aim of the control phase is to sustain the improvements achieved through the other stages of DMAIC cycle.The control phase in DMAIC is about controlling the “vital few” variables , which we identified during the earlier phases.

    There are 2 scenario after Improve phase

    1. Where Permanent process or the Design Changes implemented
    This is the best type of improvements, as it requires no ongoing monitoring. For example – we identified that we need to increase the radius of the molded component, to reduce stress and cracking. We made the design changes and increase the radius of the mold. Here, the increased radius will stay till the life of tools, so no ongoing monitoring is required.

    2. Where Permanent process or the Design Changes NOT implemented
    In this case, where process changes cannot be made, error proofing should be implemented and should be monitored as a part of the quality process. For example, we identified new temperature setting during improve phase, temperature alarms need to be installed for the alert.

    During the analyze phase, once vital few X’s ( variables that cause the variation in Ys of the process) have been identified, we need to control these Xs. If the variability of the Xs is under control, then the process will perform correctly, leading to the required Ys and, therefore, high-quality products.

    Control Chart Selection

    The control chart is used to monitor whether a process is in control or not. It is a time series graph with the process mean at center and the control limits on both sides of it. (Upper Control Limit & Lower Control Limit). The values lying outside the control limits show that the process is out of control. There are several other criteria with which the out-of-control nature of the process is detected.

    The variation of the process can be attributed to two causes: Common Cause and Special cause. Common cause variation is the variation that is inherent in the process and no external factor can be associated with it. It is indeed very difficult to reduce this type of variation. Special cause variation is any variation that is caused by factors that are not a part of the process or system. These are normally outliers and can be easily detected. The use of a control chart helps one to distinguish between a common cause and a special cause.

    The decision tree for selecting the right control chart is shown below

    There are a certain set of Control chart rules that gives the indication that there are special causes of variation, mentioned in detail in this article

    Variable & Attribute Control Charts in R

    Variable Control Charts in R

    This type of chart is used for monitoring continuous variables. Central tendency & Variation is monitored. The sample data set from the qcc package contains values of humidity for each lot. To asses a lot of raw material received in the factory, we need to control individual values.

    Sample size=1
    k=30 groups

    qcc package can generate the control charts, by first creating the qcc objects and mentioning the type of control chart.

    require(qcc)
    head(ss.data.pb1)
    

    pb.groups.one <- with(ss.data.pb1, qcc.groups(pb.humidity,
                                                    pb.group))
    pb.xbar.one <- qcc(pb.groups.one, type="xbar.one")
    summary(pb.xbar.one)
    

    #Individual control chart- X-bar
    plot(qcc(data = pb.groups.one,
             type = "xbar.one",
             center = pb.xbar.one$center,
             limits = pb.xbar.one$limits))
    
    

    Attribute Control Charts in R

    This type of chart is used for monitoring qualitative variables.
    If we want to monitor & control proportion, the p-chart is used and If we want to monitor & control No. of defects per unit, u-chart is used.

    library(SixSigma)
    with(ss.data.pb3,head(ss.data.pb3))
    

    with(ss.data.pb3, plot(qcc(stockouts, orders, type ="p")) )
    

    For u chart , enter “u” as the type argument. The data for u chart will consists of No. of defects per unit.

    With this article, we completed Six Sigma DMAIC in R. This series is the brief introduction of How R programming language can be used for Six Sigma DMAIC process.

    References

    Please let me know your feedback in the comments section. Make sure to like & share it. Happy Learning!!

    Related Post

    1. Dow Jones Stock Market Index (2/4): Trade Volume Exploratory Analysis
    2. Dow Jones Stock Market Index (1/4): Log Returns Exploratory Analysis
    3. Six Sigma DMAIC Series in R – Part4
    4. NYC buses: company level predictors with R
    5. Visualizations for correlation matrices in R

    To leave a comment for the author, please follow the link and comment on their blog: R Programming – DataScience+.

    R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
    Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

    Never miss an update!
    Subscribe to R-bloggers to receive
    e-mails with the latest R posts.
    (You will not see this message again.)

    Click here to close (This popup will not appear again)