selTLSE | R Documentation |
This is the main function to estimate the causal effects using the semiparametric thresholding least squares method.
selTLSE(model, method=c("FTLSE", "BTLSE"),
crit = c("ASY", "AIC", "BIC"),
minPV = function(p) 1/(p * log(p)), vcov.=NULL, ...)
model |
A model of class |
method |
The selection method: backward for forward. |
crit |
The criterion to select the piecewise polynomial knots. |
minPV |
A function to determine the threshold for the significance of the coefficients. It has to be a function of one parameter, which is the average number of knots in the model. |
vcov. |
An alternative function to compute the covariance matrix
of the least squares estimators. The default is the |
... |
Additional arguments to pass to |
data(simData)
mod1 <- setModel(Y~Z|~X1*X2, data=simData)
selTLSE(mod1, "BTLSE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.