powered by
This functions summarizes the "msgps" object.
# S3 method for msgps summary(object, digits=max(3, getOption("digits") - 3), num.result = 20, coef.result=100,...)
The degrees of freedom for each tuning parameter.
Maximum value of tuning parameter.
The coefficient selected by each model selection criterion.
The values of tuning parameter of models selected by each model selection criterion.
The degerees of freedom selected of models each model selection criterion.
Fitted "msgps" model object.
"msgps"
The digits of the output.
The number of tuning parameter and the corresponding degrees of freedom displayed in this code.
If the coef.result exceeds the number of variables, the result of coefficient is not described in this code.
Other parameters on summary
Kei Hirose mail@keihirose.com
#data X <- matrix(rnorm(100*8),100,8) beta0 <- c(3,1.5,0,0,2,0,0,0) epsilon <- rnorm(100,sd=3) y <- X %*% beta0 + epsilon y <- c(y) #fit fit <- msgps(X,y) summary(fit)
Run the code above in your browser using DataLab