Description Usage Arguments Details Value Author(s) See Also
Predict new outcomes based on the model fitted by larf
.
1 2 |
object |
an object of class |
newCov |
A matrix containing the new covariates. |
newTreatment |
A vector containing the new binary treatment. |
... |
currently not used. |
Predicted outcomes are based on the estimated coefficients and new covariates and/or new treatment. The predicted outcomes are probabilities when the outcome is binary.
predicted.values |
The function returns a vector of the predicted outcomes. |
Weihua An and Xuefu Wang, Departments of Statistics and Sociology, Indiana University Bloomington
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.