Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


dfphase1 (version 1.2.0)

mphase1.methods: 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 mphase1
print(x,...)
# S3 method for mphase1
plot(x,layout=c(1,p),...)
# S3 method for mphase1
postsignal(x, plot = TRUE, alpha = 0.05, gamma = 0.5,...)

Value

An object of class mphase1. See mphase1

for the description.

Arguments

x

an object returned by function mphase1.

layout

an integer vector describing the multi-panel (and possible multi-page) layout.

plot

logical; if TRUE the diagnostic plot is displayed.

alpha

real; the acceptable false alarm probability; if the observed p-value is greater than alpha, then the estimated mean function is a constant.

gamma

real; the extra penalization for the extended BIC criteria.

...

ignored.

Author

tools:::Rd_package_author("dfphase1").

References

G. Capizzi and G. Masarotto (2017), Phase I Distribution-Free Analysis of Multivariate Data, Technometrics, 59, pp. 484--495, tools:::Rd_expr_doi("10.1080/00401706.2016.1272494").

Examples

Run this code
  data(gravel)
  u <- mphase1(gravel,plot=FALSE)
  print(u)
  plot(u,layout=c(2,1))
  postsignal(u,plot=FALSE,gamma=1)

Run the code above in your browser using DataLab