polSelect | R Documentation |
This is a collection of methods to select the piecewise polynomials.
selASY(X, Y, Z, pFact=0.3, splineMet=c("manual","bs")) selIC(X, Y, Z, pFact=0.3, type=c("AIC", "BIC"), splineMet=c("manual","bs")) selCV(X, Y, Z, pFact=0.3, splineMet=c("manual","bs"))
X |
A vector of covariates |
Y |
A vector of observed outcomes |
Z |
A vector of treatment indicators |
pFact |
The maximum number of knots when the argument |
type |
The type of informatrion criterion |
splineMet |
Should the method be homemade (manual) of based on the
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.