Description Usage Arguments Value Author(s) Examples
This function calulates the estimated proprtion non-conforming with sigma unknown or known using the standardized distribution.
1 |
sample |
sample is a numeric vector of sampled values. |
sided |
sided is 'one' or 'two' depending on whether there is one or two specification limits. The default is 'one'. |
stype |
stype is 'known' or 'unknown' depending on whether the standard deviation is known. The default is 'unknown'. |
LSL |
LSL is the lower spoecification limit, leave it out if there is no lower specification limit. |
USL |
USL is the upper spoecification limit, leave it out if there is no upper specification limit. |
sigma |
sigma is the known standard deviation, leave it out if it is unknown an stype is 'unknown'. |
xbar |
sample mean. Leave it out if the vector sample is supplied. |
s |
sample standard deviation. Leave it out if the vector sample is supplied. |
n |
number of items in the sample. Leave it out if the vector sample is supplied. |
returns a single number (the estimated proportion nonconforming)
John S. Lawson lawson@byu.edu
1 2 3 4 5 6 7 | EPn(sided="one",stype="known",LSL=100,sigma=8,xbar=110,n=10)
EPn(sided="one",stype="unknown",LSL=225,xbar=255,s=15,n=42)
sample<-c(197,188,184,205,201)
EPn(sample,sided="one",USL=209)
sample<-c(197,188,184,205,201)
EPn(sample,sided="two",LSL=180,USL=209)
EPn(sided="two",stype="known",sigma=2,LSL=90,USL=100,xbar=96.68,n=21)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.