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
probit/logit models: calculation of the probability of event
Moderators: EViews Gareth, EViews Moderator
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
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.
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: 2682
- 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.
Who is online
Users browsing this forum: No registered users and 2 guests
