powered by
This function plots the results of a forward search analysis for Box-Cox transformation of response in linear regression models.
# S3 method for fwdsco plot(x, plot.Sco = TRUE, plot.Lik = FALSE, th.Sco = 2.58, plot.mle = TRUE, ylim = NULL, xlim = NULL, ...)
a "fwdsco" object.
"fwdsco"
logical, if TRUE plots the score test statistic at each step of the forward search for each lambda value.
TRUE
logical, if TRUE plots the likelihood value at each step of the forward search for each lambda value.
numerical, a value used to draw the confidence interval on the plot of the score test statistic.
logical, if TRUE adds a point at the maximum likelihood value for the transformation computed in the final step, i.e. on the full dataset.
a two component vector for the min and max of the y axis.
a two component vector for the min and max of the x axis.
further arguments passed to or from other methods.
Originally written for S-Plus by: Kjell Konis kkonis@insightful.com and Marco Riani mriani@unipr.it Ported to R by Luca Scrucca luca@stat.unipg.it
Atkinson, A.C. and Riani, M. (2000), Robust Diagnostic Regression Analysis, First Edition. New York: Springer, Chapters 2-3.
fwdsco, fwdlm, fwdglm.
fwdsco
fwdlm
fwdglm
if (FALSE) { data(wool) mod <- fwdsco(y ~ x1 + x2 + x3, data = wool) plot(mod, plot.mle=FALSE) plot(mod, plot.Sco=FALSE, plot.Lik=TRUE) }
Run the code above in your browser using DataLab