predict.aldvmm {aldvmm}R Documentation

Predict Method for Adjusted Limited Dependent Variable Mixture Model Fits


The generic function predict calls aldvmm.pred to predict outcomes and their standard errors in new data using aldvmm.pred and aldvmm.sefit.


## S3 method for class 'aldvmm'
predict(object, newdata, = FALSE, type = "pred", level = 0.95, ...)



an object inheriting from class 'aldvmm'.


a data frame, list or environment (or object coercible to a data frame by including explanatory variables for prediction.

an optional logical value indicating whether standard errors of fitted values are calculated. The default value is FALSE.


a character value of either 'fit' or 'pred' indicating whether the standard error of the fit ('fit') or the standard error of predictions in new data ('pred') are calculated.


a numeric value of the significance level for confidence bands of fitted values. The default value is 0.95.


further arguments passed to or from other methods.


a named list of numeric vectors of predicted outcomes, standard errors and confidence or prediction intervals.

[Package aldvmm version 0.8.4 Index]