Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Estimate conditional probabilities after xtprobit


From   "Austin Nichols" <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Estimate conditional probabilities after xtprobit
Date   Mon, 24 Apr 2006 13:18:13 -0400

What else are you conditioning on? This might work for you:

clear
set seed 12345
range id 1 5 5
expand 100
bys id: gen t=_n
g y=(uniform()*t)>25
bys id (t): g yl=y[_n-1]
xtprobit y t yl, i(id)
preserve
replace y=1
predict pry1, pu0
su pry1
restore

On 4/23/06, Nikolaos Kanellopoulos <nkkanel@yahoo.gr> wrote:
> Hi,
>
> After estimating a dynamic random effects probit Yit=a1+a2Yit-1+a3X +Uit+Vi
> How can I estimate the Pr(Yt=1|Yt-1=1)?
>
> Thanks
> Nick
>
> __________________________________________________
> &KHgr;&rgr;&eegr;&sgr;&igr;&mgr;&ogr;&pgr;&ogr;&igr;&egr;&iacgr;&tgr;&egr; Yahoo!;
> &Bgr;&agr;&rgr;&egr;&thgr;&eeacgr;&kgr;&agr;&tgr;&egr; &tgr;&agr; &egr;&ngr;&ogr;&khgr;&lgr;&eegr;&tgr;&igr;&kgr;&aacgr; &mgr;&eegr;&ngr;&uacgr;&mgr;&agr;&tgr;&agr; (spam);   &Tgr;&ogr; Yahoo! Mail &dgr;&igr;&agr;&thgr;&eacgr;&tgr;&egr;&igr; &tgr;&eegr;&ngr; &kgr;&agr;&lgr;&uacgr;&tgr;&egr;&rgr;&eegr; &dgr;&ugr;&ngr;&agr;&tgr;&eeacgr; &pgr;&rgr;&ogr;&sgr;&tgr;&agr;&sgr;&iacgr;&agr; &kgr;&agr;&tgr;&aacgr; &tgr;&ohgr;&ngr; &egr;&ngr;&ogr;&khgr;&lgr;&eegr;&tgr;&igr;&kgr;&ohacgr;&ngr; &mgr;&eegr;&ngr;&ugr;&mgr;&aacgr;&tgr;&ohgr;&ngr;
> http://mail.yahoo.gr
> *
> *   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/
>

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index