score.s {forward} | R Documentation |
Score test for the Box-Cox transformation of the response
Description
Computes the approximate score test statistic for the Box-Cox transformation
Usage
score.s(x, y, la, tol = 1e-20)
lambda.mle(x, y, init = c(-2, 2), tol = 1e-04)
Arguments
x |
a matrix or data frame containing the explanatory variables. |
y |
the response: a vector of length the number of rows of |
la |
the value of the lambda parameter. |
tol |
tolerance value used to check for full rank matrix. |
init |
range of values to search for MLE. |
Details
See pag. 82–86 of Atkinson and Riani (2000).
Value
Return a list with two components:
Score |
the value of the score test statistic |
Likelihood |
the value of the likelihood |
Author(s)
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
References
Atkinson, A.C. and Riani, M. (2000), Robust Diagnostic Regression Analysis, First Edition. New York: Springer, Chapter 4.
See Also
[Package forward version 1.0.6 Index]