fit.BranchGLMVS {BranchGLM} | R Documentation |
Fits GLMs for summary.BranchGLMVS and BranchGLMVS Objects
Description
Fits GLMs for summary.BranchGLMVS and BranchGLMVS Objects
Usage
## S3 method for class 'BranchGLMVS'
fit(object, which = 1, keepData = TRUE, keepY = TRUE, ...)
fit(object, ...)
## S3 method for class 'summary.BranchGLMVS'
fit(object, which = 1, keepData = TRUE, keepY = TRUE, ...)
Arguments
object |
a |
which |
a positive integer indicating which model to fit, the default is to fit the first model . |
keepData |
Whether or not to store a copy of data and design matrix, the default
is TRUE. If this is FALSE, then the results from this cannot be used inside of |
keepY |
Whether or not to store a copy of y, the default is TRUE. If
this is FALSE, then the binomial GLM helper functions may not work and this
cannot be used inside of |
... |
further arguments passed to other methods. |
Details
The information needed to fit the GLM is taken from the original information
supplied to the VariableSelection
function.
The fitted models do not have standard errors or p-values since these are biased due to the selection process.
Value
An object of class BranchGLM.