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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -