help pr_pred_cub

Title

pr_pred_cub - Module to predict probabilities for the model "cub00"

Syntax

pr_pred_cub
varname
[if] [in]
[weight],
[
prob(stub)
]

fweights and pweights are allowed;
see weight.

Description

pr_pred_cub estimates the model cub00 (see cub) and generates the predicted probabilities of the ordinal outcome variable.

Options

prob(stub) generates the variable named stub containing the predicted probabilities of the ordinal outcome.

Example

********************************************************************************
* LOAD THE DATASET
********************************************************************************
. use universtata.dta , clear
********************************************************************************
* ESTIMATE "cub00" AND PRODUCE THE PREDICTED PROBABILITIES
********************************************************************************
. pr_pred_cub informat , prob(_PROB)
********************************************************************************

References

Piccolo, D., and Simone, R. 2019a. The class of CUB models: statistical foundations, inferential issues and empirical evidence. Statistical Methods & Applications, Vol. 28, pp. 389–435.

Piccolo, D., and Simone, R. 2019b. Rejoinder to the discussion of "The class of cub models: statistical foundations, inferential issues and empirical evidence". Statistical Methods & Applications, Vol. 28, Issue 3, pp. 477–493.

Baum, F.C., Cerulli, G., Di Iorio, F., Piccolo, D., Simone, R. 2018, The Stata module CUB for fitting mixture models for ordinal data. Presented at: "The 2018 Italian Stata Users Group meeting", Bologna, 15 November.

Piccolo, D. 2006. Observed information matrix for cub models. Quaderni di Statistica, Vol. 8.

Author

Giovanni Cerulli

IRCrES-CNR

Research Institute for Sustainable Economic Growth, National Research Council of Italy

E-mail: giovanni.cerulli@ircres.cnr.it

Acknowledgements

I wish to thank Kit Baum, Francesca Di Iorio, Domenico Piccolo, and Rosaria Simone for their help and suggestions in improving this work. I am also grateful to the organizers and participants to the 2018 Italian Stata Users Group meeting held in Bologna (Italy) on the 15th of November 2018.

Also see

Online: cub , gr_prob_cub , scattercub , glm