Page 1 of 1

URGENT: How to estimate Predicted Probabilities in Logit Regression?

Posted: Tue May 19, 2020 11:04 am
by student95
Hi,

I have estimated marginal effects at means with the code:

q01.forecast(i) xbf
scalar meanxb = @mean(xbf)
scalar meffectw = @dlogistic(-meanxb)
scalar meffectw = @dlogistic(-@mean(xbf))
vector meffects = meffectw*eq01.@coefs

... But how do I estimate predicted probabilities? Can someone help me with a code like the above-mentioned (or directions) in order to get predicted probabilities (most likely in a vector also)

Thanks!!

Re: URGENT: How to estimate Predicted Probabilities in Logit Regression?

Posted: Fri Jun 05, 2020 10:44 am
by EViews Glenn
If you forecast without the "i" option, you'll get the predicted probabilities.