URGENT: How to estimate Predicted Probabilities in Logit Regression?
Posted: Tue May 19, 2020 11:04 am
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!!
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!!