summary method for class 'speedlm'.
summary
# S3 method for speedlm summary(object, correlation = FALSE,...) # S3 method for speedlm coef(object,...) # S3 method for speedlm vcov(object,...) # S3 method for speedlm logLik(object,...) # S3 method for speedlm AIC(object,...,k = 2)
an object of class 'speedlm'.
logical. Do you want to print the correlation matrix? By default it is false.
numeric, the penalty per parameter to be used; the default k = 2 is the classical AIC.
further optional arguments
the matrix of coefficients, standard errors, t-statistics and two-side p-values.
degrees of freedom of the fitted model. It is a component from object.
object
the component from object.
R^2, the fraction of variance explained by the model.
the "adjusted" R^2 statistic, penalizing for higher p.
(for models including non-intercept terms) a 3-vector with the value of the F-statistic with its numerator and denominator degrees of freedom.
p-value of the F-statistic.
Residual sum of squares.
estimated variance of residuals.
(only if correlation is true) the correlations of the estimated parameters.
correlation
the results from the functions logLik, AIC and vcov.
logLik
AIC
vcov
speedlm
# NOT RUN { y <- rnorm(100,1.5,1) x <- round(matrix(rnorm(200), 100, 2), digits = 3) colnames(x) <- c("s1","s2") da <- data.frame(y, x) m <- speedlm(y ~ s1 + s2,da) summary(m) # }
Run the code above in your browser using DataLab