probit/logit models: calculation of the probability of event

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

Anna30
Posts: 2
Joined: Sat Oct 17, 2009 1:27 pm

probit/logit models: calculation of the probability of event

Postby Anna30 » Sat Oct 17, 2009 1:58 pm

Hey!
my question is pretty easy.... I need to calculate probabilities of event (of being employed) , given the values of explanatory variables (characteristics for a particular individual - a man/a woman with a given age, years of education and so on). this is using logit and probit models.
I've estimated the logit and the probit.
I think I must find first the scalar, substituting age, years of education and so on.. into the equation and using the obtained coefficients. But how do I do it in EViews?
After that I think I must just get scalar man_prob=@dnrom(scalar from above) or scalar man_prob=@dlogostic(scalar from above).
is it correct ? and how exactly can I do it in EViews?
thank you for help!!!
Anna

hetero
Posts: 18
Joined: Tue Sep 08, 2009 11:40 am

Re: probit/logit models: calculation of the probability of event

Postby hetero » Sun Oct 18, 2009 5:00 am

From the estimated equation window select: view representations.

Now select and copy the formula for the substituted coefficients. It should look like, depending on the variables you have used, something like this: GRADE = 1-@CNORM(-(-7.45231964735 + 1.62581003927*GPA + 0.0517289454976*TUCE + 1.42633234193*PSI))

Paste the formula to the command field and modify it according to your needs
e.g. scalar prob_grade = 1-@CNORM(-(-7.45231964735 + 1.62581003927*3.2 + 0.0517289454976*21 + 1.42633234193*1))
you define the prob. as a scalar named: prob_grade and at the same time you substitute your independent variables with the desired values

Regards
Last edited by hetero on Tue Oct 20, 2009 10:24 am, edited 3 times in total.

Anna30
Posts: 2
Joined: Sat Oct 17, 2009 1:27 pm

Re: probit/logit models: calculation of the probability of event

Postby Anna30 » Sun Oct 18, 2009 7:34 am

thank you!

Jirka
Posts: 6
Joined: Tue Nov 19, 2013 4:12 pm

Re: probit/logit models: calculation of the probability of e

Postby Jirka » Thu Apr 09, 2015 4:08 pm

Hi, please, I would like to compute a probability from logit equation and show in a graph, how probability is changing when changing some variable, other variables staying equal. Could you help me writing a program code with such loop please? I am only an amateur as regards programming...Thank you!

EViews Glenn
EViews Developer
Posts: 2672
Joined: Wed Oct 15, 2008 9:17 am

Re: probit/logit models: calculation of the probability of e

Postby EViews Glenn » Fri Apr 10, 2015 8:07 am

There's an example in the manual.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 13 guests