Note: These functions are deprecated in the supernova
package and have been moved to the
coursekata
package which can be found at
https://github.com/UCLATALL/coursekata-r
This collection of functions is useful for extracting estimates and statistics from a fitted
model. They are particularly useful when estimating many models, like when bootstrapping
confidence intervals. Each function can be used with an already fitted model as an lm
object,
or a formula and associated data can be passed to it. All of these assume the comparison is the
empty model.
b0
: The intercept from the full model.
b1
: The slope b1 from the full model.
fVal
: The F value from the full model.
PRE
: The Proportional Reduction in Error for the full model.
SSE
: The SS Error (SS Residual) from the model.
SSM
: The SS Model (SS Regression) for the full model.
SSR
: Alias for SSM.
b0(object, data = NULL, ...)b1(object, data = NULL, ...)
f(object, data = NULL, ...)
pre(object, data = NULL, ...)
sse(object, data = NULL, ...)
ssm(object, data = NULL, ...)
ssr(object, data = NULL, ...)
fVal(object, data = NULL, ...)
PRE(object, data = NULL, ...)
SSE(object, data = NULL, ...)
SSM(object, data = NULL, ...)
SSR(object, data = NULL, ...)
The value of the estimate as a single number.
If object
is a formula, the data to fit the formula to as a data.frame
.
Additional arguments passed through to lm
.