Package CMPControl. February 19, 2015

Similar documents
Package weco. May 4, 2018

Package qicharts. October 7, 2014

Package HMMCont. February 19, 2015

Package CompGLM. April 29, 2018

Package robustreg. R topics documented: April 27, Version Date Title Robust Regression Functions

Package Rspc. July 30, 2018

Package datasets.load

Package smoothmest. February 20, 2015

Package freeknotsplines

Package spark. July 21, 2017

Package cgh. R topics documented: February 19, 2015

Package ssmn. R topics documented: August 9, Type Package. Title Skew Scale Mixtures of Normal Distributions. Version 1.1.

Package intcensroc. May 2, 2018

Package TVsMiss. April 5, 2018

Package stochprofml. February 20, 2015

Package merror. November 3, 2015

Package NB. R topics documented: February 19, Type Package

Package QCAtools. January 3, 2017

Package RYoudaoTranslate

Package SPIn. R topics documented: February 19, Type Package

Package BayesCR. September 11, 2017

Package pwrab. R topics documented: June 6, Type Package Title Power Analysis for AB Testing Version 0.1.0

Package FMsmsnReg. March 30, 2016

Package sparsereg. R topics documented: March 10, Type Package

Package TANDEM. R topics documented: June 15, Type Package

Package svalues. July 15, 2018

Package WordR. September 7, 2017

Package OptimaRegion

Package SSLASSO. August 28, 2018

Package msda. February 20, 2015

Package infutil. R topics documented: February 20, Version 1.0 Date Title Information Utility Author Kristian E.

Package texteffect. November 27, 2017

Package StVAR. February 11, 2017

Package woebinning. December 15, 2017

Package cwm. R topics documented: February 19, 2015

Package FrF2.catlg128

Package Combine. R topics documented: September 4, Type Package Title Game-Theoretic Probability Combination Version 1.

Package curry. September 28, 2016

Package eulerian. February 19, Index 5

Package CuCubes. December 9, 2016

Package SoftClustering

Package gsalib. R topics documented: February 20, Type Package. Title Utility Functions For GATK. Version 2.1.

Package NormalGamma. February 19, 2015

Package ParetoPosStable

Package spcadjust. September 29, 2016

Package kirby21.base

Package DDD. March 25, 2013

Package madsim. December 7, 2016

Package assortnet. January 18, 2016

Package CLA. February 6, 2018

Package recoder. R topics documented: July 10, Type Package Title A Simple and Flexible Recoder

Package mixphm. July 23, 2015

Package influence.sem

Package catenary. May 4, 2018

Package intccr. September 12, 2017

Package areaplot. October 18, 2017

Package gpdtest. February 19, 2015

Package OLScurve. August 29, 2016

Package raker. October 10, 2017

Package robets. March 6, Type Package

Package mwa. R topics documented: February 24, Type Package

Package gibbs.met. February 19, 2015

Package sspse. August 26, 2018

Package MIICD. May 27, 2017

Package Funclustering

Package glinternet. June 15, 2018

Package hsiccca. February 20, 2015

Package benchden. February 19, 2015

Package neural. R topics documented: February 20, 2015

Package calibrar. August 29, 2016

Package rankdist. April 8, 2018

Package RCA. R topics documented: February 29, 2016

Package genelistpie. February 19, 2015

Package Mondrian. R topics documented: March 4, Type Package

Package ArrayBin. February 19, 2015

Package MTLR. March 9, 2019

Package zoomgrid. January 3, 2019

Package pnmtrem. February 20, Index 9

Package ihs. February 25, 2015

Package UnivRNG. R topics documented: January 10, Type Package

Package lmesplines. R topics documented: February 20, Version

Package tuts. June 12, 2018

Package birtr. October 4, 2017

Package rpnf. October 12, 2015

Package nonnest2. January 23, 2018

Package Rambo. February 19, 2015

Package DRaWR. February 5, 2016

Package Conake. R topics documented: March 1, 2015

Package beast. March 16, 2018

Package rpst. June 6, 2017

Assignment 4/5 Statistics Due: Nov. 29

Package imgur. R topics documented: December 20, Type Package. Title Share plots using the imgur.com image hosting service. Version 0.1.

Package GUTS. R topics documented: October 10, Type Package

Package CatEncoders. March 8, 2017

Package libstabler. June 1, 2017

Package TBSSurvival. January 5, 2017

Package cumseg. February 19, 2015

Package esabcv. May 29, 2015

Package sglr. February 20, 2015

Package qicharts2. March 3, 2018

Transcription:

Package CMPControl February 19, 2015 Type Package Title Control Charts for Conway-Maxwell-Poisson Distribution Version 1.0 Date 2014-04-05 Author Kimberly Sellers <kfs7@georgetown.edu> ; Luis Costa <lc436@georgetown.edu> Maintainer Luis Costa <lc436@georgetown.edu> The main purpose of this package is to juxtapose the different control limits obtained by modelling a data set through the COM-Poisson distribution vs. the classical Poisson distribution. Accordingly, this package offers the ability to compute the COM-Poisson parameter estimates and plot associated Shewhart control charts for a given data set. License GPL-2 GPL-3 LazyData yes Depends compoisson NeedsCompilation no Repository CRAN Date/Publication 2014-04-30 22:34:18 R topics documented: CMPControl-package.................................... 2 ComputeLambdaAndNuHat.shiftCMPest......................... 3 computez.lambdaest..................................... 4 ControlCharts........................................ 5 nonconformities....................................... 6 Index 7 1

2 CMPControl-package CMPControl-package Control Charts for Conway-Maxwell-Poisson Distribution The main purpose of this package is to juxtapose the different control limits obtained by modelling a data set through the COM-Poisson distribution vs. the classical Poisson distribution. Accordingly, this package offers the ability to compute the COM-Poisson parameter estimates and plot associated Shewhart and true probability bounds for a given data set. Package: CMPControl Type: Package Version: 1.0 Date: 2014-04-05 License: What license is it under? For a given data set, the user can use the ControlCharts function to overlay any combination of the 3-sigma Shewhart CMP control chart, 3-sigma Shewhart classical Poisson control chart (c-chart), and the true CMP probability limits. The function also returns a list with relevant values relating to the control charts. Kimberly Sellers, Luis Costa Maintainer: Luis Costa <lc436@georgetown.edu> Saghir, A., Lin, Z., Abbasi, S. A., Ahmad, S. "The Use of Probability Limits of COM-Poisson Charts and their Applications." Quality and Reliability Engineering International 2013 ; 29:759-770. Montgomery, Douglas C. "Introduction to Statistical Quality Control" (4th Ed). Wiley: New York, 2001. Examples ControlCharts(nonconformities,"Sample Number", "Number of nonconformities")

ComputeLambdaAndNuHat.shiftCMPest 3 ComputeLambdaAndNuHat.shiftCMPest Compute Lambda and Nu Hat for a given data set Computes the COM-Poisson lambda and nu parameter estimates for a given data set. ComputeLambdaAndNuHat.shiftCMPest(y,lambdainit=mean(y)-min(y),nuinit=1,a=min(y),max=100) Arguments y lambdainit nuinit a max The data set in question, as a vector Initial value for Lambda Initial value for Nu The location shift constant Maximum number of iterations to run for truncating infinite sums Uses the built-in nlminb function (constrained optimization) to maximize the COM-Poisson loglikelihood function for a given data set and therefore compute the maximum likelihood estimators Lambda and Nu for said data set. Value Returns the maximum likelihood estimates for lambda and nu using constrained optimization through nlminb. Kimberly Sellers

4 computez.lambdaest computez.lambdaest Compute the normalizing constant Z Computes the normalizing constant Z in the COM-Poisson model for the given parameters of lambda and nu. computez.lambdaest(lambda, nu, max) Arguments lambda nu max Lambda value in the COM-Poisson distribution Nu value in the COM-Poisson distribution Maximum number of iterations to run for truncating infinite sums Computez.lambdaest estimates the COM-Poisson normalizing constant. Value After the specified number of iterations, the function returns the normalizing constant Z as a real number. Kimberly Sellers

ControlCharts 5 ControlCharts Parameter estimation and control chart construction Computes the COM-Poisson parameters (lambda and nu) for a given data set and plots any combination of the 3-sigma COM-Poisson Shewhart control chart, the 3-sigma classical Poisson Shewhart control chart, and the data set s true COM-Poisson probability limits. ControlCharts(data, xlabel, ylabel, CMP=TRUE, P=TRUE, CMPProb=TRUE) Arguments data xlabel ylabel CMP P CMPProb The data set in question, as a vector The desired x-axis label, inputted in quotation marks The desired y-axis label, inputted in quotation marks Input CMP=TRUE to plot the 3-sigma COM-Poisson Shewhart control chart and CMP=FALSE to not plot it. Defaults to TRUE. Input P=TRUE to plot the 3-sigma classical Poisson Shewhart control chart and P=FALSE to not plot it. Defaults to TRUE. Input P=TRUE to plot the true CMP probability limits and P=FALSE to not plot them. Defaults to TRUE. Value This function depends on the compoisson package. ControlCharts plots any combination of the 3-sigma COM-Poisson Shewhart control chart, the 3- sigma classical Poisson Shewhart control chart, and the data set s true COM-Poisson probability limits. By default, the code overlays the three control charts. However, users may omit one or more control charts by switching the Boolean value of the control charts they wish to omit to FALSE when running the code. The code also returns a list containing the following values: CMP Lambda Hat and Nu Hat CMP parameters Lambda and Nu for the given data CMP Mean and Standard Deviation The CMP mean and standard deviation of the data CMP Shewhart Upper and Lower Bounds 3-Sigma upper and lower CMP bounds Poisson Mean and Standard Deviation The classical Poisson mean and standard deviation of the data

6 nonconformities Poisson Shewhart Upper and Lower Bounds 3-Sigma upper and lower classical Poisson bounds Upper Out of Control Observations Observations that lay above the upper control limits Lower Out of Control Observations Observations that lay below the lower control limits CMP Probability Limits Values of the true CMP probability limits Kimberly Sellers, Luis Costa Saghir, A., Lin, Z., Abbasi, S. A., Ahmad, S. "The Use of Probability Limits of COM-Poisson Charts and their Applications." Quality and Reliability Engineering International 2013 ; 29:759-770. nonconformities Nonconformities in printed circuit boards Format Source The number of nonconformities observed in 26 successive samples of 100 printed circuit boards. A nonconforming item is a unit of product that does not satisfy one or more of the specifications for that product. nonconformities The format is: num [1:26] 21 24 16 12 15 5 28 20 31 25... Montgomery, Douglas C. "Introduction to Statistical Quality Control" (4th Ed). Wiley: New York, 2001.Pages 330/331. Examples ControlCharts(nonconformities,"Sample Number","Number of nonconformities")

Index CMPControl (CMPControl-package), 2 CMPControl-package, 2 ComputeLambdaAndNuHat.shiftCMPest, 3 computez.lambdaest, 4 ControlCharts, 5 nonconformities, 6 7