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

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

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

thank you!

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

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

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: 2643
Joined: Wed Oct 15, 2008 9:17 am

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

There's an example in the manual.