Page 1 of 1

probit/logit models: calculation of the probability of event

Posted: Sat Oct 17, 2009 1:58 pm
by Anna30
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

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

Posted: Sun Oct 18, 2009 5:00 am
by hetero
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

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

Posted: Sun Oct 18, 2009 7:34 am
by Anna30
thank you!

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

Posted: Thu Apr 09, 2015 4:08 pm
by Jirka
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!

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

Posted: Fri Apr 10, 2015 8:07 am
by EViews Glenn
There's an example in the manual.