Learn R Programming

speedglm (version 0.3-5)

summary.speedlm: Methods to summarize Linear Models fits

Description

summary method for class 'speedlm'.

Usage

# 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)

Value

coefficients

the matrix of coefficients, standard errors, t-statistics and two-side p-values.

rdf

degrees of freedom of the fitted model. It is a component from object.

call

the component from object.

r.squared

R^2, the fraction of variance explained by the model.

adj.r.squared

the "adjusted" R^2 statistic, penalizing for higher p.

fstatistic

(for models including non-intercept terms) a 3-vector with the value of the F-statistic with its numerator and denominator degrees of freedom.

f.pvalue

p-value of the F-statistic.

RSS

Residual sum of squares.

var.res

estimated variance of residuals.

rank

the component from object.

correlation

(only if correlation is true) the correlations of the estimated parameters.

...

the results from the functions logLik, AIC and vcov.

Arguments

object

an object of class 'speedlm'.

correlation

logical. Do you want to print the correlation matrix? By default it is false.

k

numeric, the penalty per parameter to be used; the default k = 2 is the classical AIC.

...

further optional arguments

Author

Marco ENEA

See Also

speedlm

Examples

Run this code

data(data1)
m <- speedlm(y ~ x1 + x2 + factor(fat1), data1)
summary(m)

Run the code above in your browser using DataLab