Hi,
I am having a problem when I want to estimate my equation. I have a set of paneldata (20 countries, 8 years) on a certain variable that is available for all countries over all years. Now I want to specify my explanatory variable in five levels, so I created five new variables. Now I want to make a regression but eviews tells me I have an insufficient number of observations.
Does anyone kwow if there is an easier way to split my explanatory variable into five new variables so that eviews will not make a problem. I attached my data in an excel format.
Insufficient number of observations
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
Insufficient number of observations
- Attachments
-
- forum.xlsx
- (22.22 KiB) Downloaded 1406 times
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3796
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Insufficient number of observations
It would be much better if you
(a) posted the EViews workfile you actually used.
(b) showed exactly what regression you ran.
(a) posted the EViews workfile you actually used.
(b) showed exactly what regression you ran.
Re: Insufficient number of observations
Okay, I have my workfile attached. As you can see I have been struggling with discriminating unden for the different levels. What I would like to do is to run a regression that includes an explanatory variable that combines unden and level, ie: I would like to see the effect each rate of unden at a particular level has on my explained variable. When I try dummy variables, not only I obtain different coefficients if I run the regression for one particular level but obviously I cannot incorporate all dummy variables at once. Do you have any idea how I could fix this and still see the different effects? I would really appreciate your help!
Eventually I want my equation to look like this: avg_dur c "unden at level1" "unden at level2" "unden at level 3" "unden at level 4" ... and the other explanatory variables.
Eventually I want my equation to look like this: avg_dur c "unden at level1" "unden at level2" "unden at level 3" "unden at level 4" ... and the other explanatory variables.
- Attachments
-
- data-workfile-averagedur2.WF1
- (40.51 KiB) Downloaded 1111 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Insufficient number of observations
It would be much better if you
(b) showed exactly what regression you ran.
Re: Insufficient number of observations
This is the equation I wanted estimated: avg_dur c density1 density2 density3 density4 nrr epl realminwag.
I can't post the regression's outcome, since eviews gives an error. In this first regression I wanted to run I used an OLS model without any fixed effects.
Is there a better way to show what regression I want to run? Thanks for the reply!
I can't post the regression's outcome, since eviews gives an error. In this first regression I wanted to run I used an OLS model without any fixed effects.
Is there a better way to show what regression I want to run? Thanks for the reply!
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3796
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Insufficient number of observations
Your workfile doesn't include the variables density1 density2 density3 density4This is the equation I wanted estimated: avg_dur c density1 density2 density3 density4 nrr epl realminwag.
I can't post the regression's outcome, since eviews gives an error. In this first regression I wanted to run I used an OLS model without any fixed effects.
Is there a better way to show what regression I want to run? Thanks for the reply!
You might want to make an equation object that has the exact regression you want to run and include that in the workfile you post.
Re: Insufficient number of observations
Ah I see, this one does.
I can't add an equation to my workfile as eviews will not let me run the regression. I think I did not understand you correctly.
I can't add an equation to my workfile as eviews will not let me run the regression. I think I did not understand you correctly.
- Attachments
-
- data-workfile-averagedur2.wf1
- (45.51 KiB) Downloaded 918 times
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3796
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Insufficient number of observations
You can add an equation by typing
and then double-clicking on eq01 and filling out the specification.
But in any event, your problem is that for every observation at least one of density1 density2 density3 density4 is NA. You have zero complete observations.
Code: Select all
equation eq01But in any event, your problem is that for every observation at least one of density1 density2 density3 density4 is NA. You have zero complete observations.
Last edited by startz on Wed May 08, 2013 6:49 am, edited 1 time in total.
Re: Insufficient number of observations
Okay, thanks for your reply. I still can't seem to manage to estimate the equation. I know how to do this if there is no error given by eviews but I still can't specify it here.
Have you got an idea on how I would still be able to see the effect of the density at different values for "level"?
Have you got an idea on how I would still be able to see the effect of the density at different values for "level"?
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3796
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Insufficient number of observations
EViews is doing what it's supposed to. There is no way to estimate an equation without any data. You need to figure out why your variables are missing so much data.
Re: Insufficient number of observations
Thanks for the replies, I chose to exclude some variables on a theoretical basis and this at lest allowed me to run the regression.
Who is online
Users browsing this forum: No registered users and 2 guests
