mphase1.methods {dfphase1} | R Documentation |
Methods for objects of class mphase1
Description
Methods print
and plot
allow to write
to the console and plot (optionally changing the layout)
the result of the Phase I analysis performed with function
mphase1
.
Method postsignal
implements the post-signal Phase I analysis
based on the adaptive LASSO described in Capizzi and Masarotto (2016).
It uses the p-value and the results on the forward search
contained in its first argument. Hence, it is
useful for re-running the analysis with different values
of alpha
and/or gamma
.
Usage
## S3 method for class 'mphase1'
print(x,...)
## S3 method for class 'mphase1'
plot(x,layout=c(1,p),...)
## S3 method for class 'mphase1'
postsignal(x, plot = TRUE, alpha = 0.05, gamma = 0.5,...)
Arguments
x |
an object returned by function |
layout |
an integer vector describing the multi-panel (and possible multi-page) layout. |
plot |
logical; if |
alpha |
real; the acceptable false alarm probability; if the
observed p-value is greater than |
gamma |
real; the extra penalization for the extended BIC criteria. |
... |
ignored. |
Value
An object of class mphase1
. See mphase1
for the description.
Author(s)
Giovanna Capizzi and Guido Masarotto.
References
G. Capizzi and G. Masarotto (2017), Phase I Distribution-Free Analysis of Multivariate Data, Technometrics, 59, pp. 484–495, doi:10.1080/00401706.2016.1272494.
Examples
data(gravel)
u <- mphase1(gravel,plot=FALSE)
print(u)
plot(u,layout=c(2,1))
postsignal(u,plot=FALSE,gamma=1)