Logit and Probit Regression
Moderators: EViews Gareth, EViews Moderator
-
RoaStudent1984
- Posts: 9
- Joined: Wed Jul 18, 2012 7:47 am
Logit and Probit Regression
Can someone please tell me how to run a probit and logit regression with Eviews?
I have absolutely no clue how the program works, and need these regressions to finish my thesis.
Both Regressions need to be run on 363(Date of Data) *10 (variables) data items.
For the Probit Regression I have:
- 6 independent control variables and 4 dummy variables.
- Dependent variables are valuation models used by brokers (0=Multiple, 1=DCF)
For the Logit Regression I have:
- 6 independent control variables and 4 dummy variables.
- Dependent variables are valuation models used by brokers (1=Multiple, 2=DCF, 3=SOP)
Thanks in advance!
I have absolutely no clue how the program works, and need these regressions to finish my thesis.
Both Regressions need to be run on 363(Date of Data) *10 (variables) data items.
For the Probit Regression I have:
- 6 independent control variables and 4 dummy variables.
- Dependent variables are valuation models used by brokers (0=Multiple, 1=DCF)
For the Logit Regression I have:
- 6 independent control variables and 4 dummy variables.
- Dependent variables are valuation models used by brokers (1=Multiple, 2=DCF, 3=SOP)
Thanks in advance!
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Logit and Probit Regression
Do you already have your data in EViews? Which parts of the manual have you looked at?
-
RoaStudent1984
- Posts: 9
- Joined: Wed Jul 18, 2012 7:47 am
Re: Logit and Probit Regression
Yes my data is in Eviews and I found in the manual that I have to select the binary estimation method from the equation objects.Do you already have your data in EViews? Which parts of the manual have you looked at?
When I enter my equation specification the displayed information shows NA for St.Error, Z-statistic and Prob.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Logit and Probit Regression
Do you get a warning message on the equation output?
-
RoaStudent1984
- Posts: 9
- Joined: Wed Jul 18, 2012 7:47 am
Re: Logit and Probit Regression
There is indeed a warning message:Do you get a warning message on the equation output?
Singular covariance - coefficients are not unique
Covariance matrix computed using second derivatives
My equations input is as follows:
valuation_model c volatility size growth leverage mkt_bk r_d @expand(industrysector) @expand(industrysubgroup) @expand(cyclical) @expand(broker)
The regression output gives no warning when I leave the dummy variables out of the equation...
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Logit and Probit Regression
Dummy variable trap.
-
RoaStudent1984
- Posts: 9
- Joined: Wed Jul 18, 2012 7:47 am
Re: Logit and Probit Regression
If I leave the constant out of the equation I get the following error message:Dummy variable trap.
Non-positive likelihood value for observation 1
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Logit and Probit Regression
See what happens if you only use one @expand statement at at time.
-
RoaStudent1984
- Posts: 9
- Joined: Wed Jul 18, 2012 7:47 am
Re: Logit and Probit Regression
It works when I only use one @expand statement at at time.See what happens if you only use one @expand statement at at time.
Does this effect the outcome of the regression if I have to perform them seperately instead of at once?
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Logit and Probit Regression
The problem is that you are falling into the dummy variable trap with multiple categories of dummies. Basically, you need to drop one dummy from each category.
-
RoaStudent1984
- Posts: 9
- Joined: Wed Jul 18, 2012 7:47 am
Re: Logit and Probit Regression
Shouldn't I then just rewrite the equation so that every dummy is seperate?
So @recode(MS,1,0) @recode(CS,1,0) @recode(3510,1,0) @recode(3520,1,0) etc?
So @recode(MS,1,0) @recode(CS,1,0) @recode(3510,1,0) @recode(3520,1,0) etc?
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Logit and Probit Regression
No. Look at the @drop options in @expand
-
RoaStudent1984
- Posts: 9
- Joined: Wed Jul 18, 2012 7:47 am
Re: Logit and Probit Regression
I tried the following:
@expand(industry, @dropfirst) but then I get the same error message as in the beginning.
@expand(industry, @dropfirst) but then I get the same error message as in the beginning.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Logit and Probit Regression
Try googling "dummy variable trap"
-
RoaStudent1984
- Posts: 9
- Joined: Wed Jul 18, 2012 7:47 am
Re: Logit and Probit Regression
Thanks for all the help! The probit model is now completed.
Next step is that I have to run a multinomial logit regression.
The dependent variable can be either one of three choices where 1 is the reference point.
The dependent variable is followed by a set of independent variables (regressors?).
How do I have to create the equation so that I get values for both 2nd and 3d choice in one single output model?
Next step is that I have to run a multinomial logit regression.
The dependent variable can be either one of three choices where 1 is the reference point.
The dependent variable is followed by a set of independent variables (regressors?).
How do I have to create the equation so that I get values for both 2nd and 3d choice in one single output model?
Who is online
Users browsing this forum: No registered users and 1 guest
