Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: estimates + _predict + svymlogit


From   "sandrine rospabe" <[email protected]>
To   [email protected]
Subject   st: estimates + _predict + svymlogit
Date   Mon, 07 Apr 2003 17:03:55 +0000

Hi there,

I have the following problem: I would like to save results in e() after estimating a multinomial logit using svy. More precisely, I would like to save the predicted probabilities for each of the outcome (3 in my case: p1, p2, p3). I guess I have to use the e(predict) command but I don't know exactly how. The beginning of the programm is the folowing:


capture program drop proba
program define proba, eclass
tempname p1 p2 p3
svyset, clear
svyset pweight WGT4
svyset psu PSU
svyset strata stratif
svymlogit employment male, base(1)
....


Could someone help me to finish it?

Thanks in advance

Sandrine

_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr/worldwide.asp

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index