Description Usage Arguments Value See Also Examples
View source: R/vMask.method5.R
The V-mask method in vMask
Package, is considered on the basis of variety of situations/information by different functions.
One of these functions is vMask.method1
which can plot the V-mask based on μ_0, μ_1, σ and the probabilities of type I and II errors of testing null hypotheses H_0: μ = μ_0 vs. alternative hypothesis H_1: μ = μ_0 + k σ.
1 2 |
data |
Type of inputted data must be a matrix with dim=c(m,n), in which m is size of samples and n is size of each subsample. Meanwhile, data can be a numerical vector where its elements are sub-sample means. |
mu0 |
The target value for process mean, with default |
mu1 |
The mean under the alternative hypothesis, i.e., μ_1 = μ_0 + k σ. |
sigma |
The standard deviation of the process, with default |
alpha |
The probability of type I error in testing hypotheses H_0: μ = μ_0 vs. H_1: μ = μ_0 + k σ. |
beta |
The probability of type II error in testing hypotheses H_0: μ = μ_0 vs. H_1: μ = μ_0 + k σ. The default of |
sleep |
Sleeping time (in second) of the program between showing figures. This time needs for see the result of checking i-th point on CUSUM control chart by V-mask. Also, if |
d |
The distance between two points: (1) O, i.e the latest cumulative sum point (which duty of the V-mask is checking this point), and (2) P, i.e. the junction points of V-mask arms. |
k |
Difference/shift in the mean of process after a probably change. Its default is considered 0.5 σ and it depends on the form of the alternative hypothesis H_1: μ = μ_1 \ (μ_1=μ_0+k σ). |
theta |
half of the angle formed by the V-mask arms (in degrees). |
h |
the vertical distance between the origin and the upper (or lower) arm of V-mask. |
c |
A vector of the cumulative differences between statistic (mean) values and the mean target value; i.e. c=(c_1, ..., c_m) where c_i=∑_{j=1}^{i} (\bar{x}_j - μ_0) . |
OutControl |
The number of Out-of-control points in CUSUM chart. |
InControl |
The number of In-control points in CUSUM chart. |
vMask.method3, vMask.method6
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.