statistics - Prediction using sampleSelection package in R -
i use
require(sampleselection)
package in r. nicely regressing wish, however, prediction using coefficients confusing. tried
predict(heckitmodel, newdata)
in order create predictions normal linear model, seems uses coefficients of "outcome" part, not of probit part, estimate binary side of question.
would possible avoid manual handling of coefficients create predictions model? in other words, there automated way predict sampleselection selection object?
if there is, highly appreciate sample prediction, since cannot figure out while now.
Comments
Post a Comment