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

st: xtlogit/xtprobit and predicted probabilities


From   Christer.Thrane@hil.no
To   statalist@hsphsun2.harvard.edu
Subject   st: xtlogit/xtprobit and predicted probabilities
Date   Tue, 11 May 2004 13:01:57 +0200

Hi,

While there are numerous semi-automatic ways of getting predicted
probabilities for regular logit/probit models, I cannot find these for
xtlogit/xtprobit.

My model (in Stata) is:

xtlogit y gender xcon xcat, re

where

y is a binary variable measured at three time points

gender is coded 1 for male and zero for female

xcon is a continionus time-varying covariate

xcat is an ordinal time-varying covariate with five values.

I want to get the following predicted probabilities:

(1) for men and women, respectively, with xcon = mean and xcat = 3

(2) for men and women, respectively, with xcon = 5 and xcat = 3

Thanks in advance!

Christer Thrane

Christer Thrane, dr.polit.
Associate Professor, Sociology
Department of Social Science
Lillehammer University College
2626 Lillehammer, Norway
+ 47 61 28 81 70 (fax)
+ 47 61 28 82 47 (phone, work)
+ 47 61 25 68 44 (phone, home)
+ 47 92 29 54 39 (mobile)
E-mail, work: christer.thrane@hil.no
E-mail, home: ch-thran@online.no


*
*   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