View source: R/PoDDyHePoModelSelection.R
PoDDyHePoModelSelection | R Documentation |
PoDDyHePoModelSelection returns a list of 4 elements: Models (Records all selected models of each imputed data set), Mean BIC (Records Mean BIC of each round of imputation), Selected Models (Records a selected model/selected models over imputation of cases) Suggested Model (Records a suggested model with smaller BIC value)
PoDDyHePoModelSelection(
imp,
DV,
NsVar = NULL,
df = NULL,
knots = NULL,
b.knots = NULL,
f.var = NULL
)
imp |
An object of class |
DV |
Abbreviation of Dependent Variable. |
NsVar |
A specific variable to which would apply nature splines. The default is |
df |
Degrees of freedom. The default is |
knots |
Breakpoints that define the spline. |
b.knots |
Boundary points at which to impose the natural boundary conditions and anchor the B-spline basis (default the range of the data). |
f.var |
Fixed variables. Variables that are fixed in the model (will not be removed by stepwise process). |
Description of PoDDyHePoModelSelection()
When NsVar = NULL, there is only one BIC value in Mean BIC and one model in Selected Models, the model in Selected Models is the same as in Suggested Model. df or knots should be denied. When both knots and b.knots are specified, df will be ignored.
Returns a list with 4 elements: Models, Mean BIC, Selected Models and Suggested Model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.