quarterly effects

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

lemongrass
Posts: 4
Joined: Sun Jul 07, 2013 2:25 am

quarterly effects

Postby lemongrass » Sun Jul 07, 2013 2:29 am

Hi all,

I have to estimate a regression with 12 countries over 40 quarters. I've got a dated pool. If better, I could also make a dated panel data set.

I have an OLS estimation with Coef covariance method white period and cross-section fixed effects.
Now I want to implement quarterly effects, not period fixed effects.
I used @expand(@quarter, @drop(1)). The problem, Eviews take only quater 2, 3 and 4... note 39 quaters
-> how can I "tell" Eviews that it should estimate quarterly effects for 39 quarters?

THANKS for your help!!

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: quarterly effects

Postby startz » Sun Jul 07, 2013 7:34 am

Do you mean there are only three dummy variables created or do you mean that the dummy variables only have values for the first three quarters?

lemongrass
Posts: 4
Joined: Sun Jul 07, 2013 2:25 am

Re: quarterly effects

Postby lemongrass » Sun Jul 07, 2013 12:28 pm

Hi,

there are only three dummies created. I got @quarter-2, @quarter-3 and @quarter-4
I want dummies for quarter 2,3,...,40. For each quarter in all years, excluded the first quarter in my regression.

THANKS!
Last edited by lemongrass on Sun Jul 07, 2013 12:45 pm, edited 2 times in total.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: quarterly effects

Postby startz » Sun Jul 07, 2013 12:35 pm

Hi,

there are only three dummies created. I got @quarter-2, @quarter-3 and @quarter-4
I want dummies for quarter 2,3,...,47. For each quarter in all years, excluded the first quarter in my regression.

THANKS!
If you have quarterly data and you want a dummy for each quarter, then those are period fixed effects.

lemongrass
Posts: 4
Joined: Sun Jul 07, 2013 2:25 am

Re: quarterly effects

Postby lemongrass » Sun Jul 07, 2013 12:42 pm

Hi,

thanks for your very fast reply :)

I've tried already period fixed effects. It works and I get no error message. But I wanted period fixed effects but not for quarter 1. I want to exlude the first quarter. Is this possible?

THANKS

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: quarterly effects

Postby startz » Sun Jul 07, 2013 1:11 pm

I suspect that EViews is already dropping one period, but I'm not sure about that.

In any event, you might try

Code: Select all

@expand(@date,@dropfirst)

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: quarterly effects

Postby EViews Gareth » Sun Jul 07, 2013 1:54 pm

The built in effects are deviations from mean. The regression is the same. If you really want the non-deviation form you can use Startz's suggestion.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests