Description Usage Arguments Value Examples
View source: R/HeckmanSelect.R
Title Predict Method for HeckSelect Fits
1 2 |
object |
a fitted object of class inheriting from "HeckSelect" |
newdata |
optionally, a data frame in which to look for variables with which to predict. If omitted, the fitted linear predictors are used. |
na.action |
function determining what should be done with missing values in newdata. The default is to predict NA |
... |
vector of predicted values for P(outcome=1|selection=1)
1 2 | pp <- HeckSelect(selection, outcome, data=data, allowParallel = TRUE, penalty="ALASSO", Model="AMH",crit="bic")
predict(pp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.