changing from monthly to quarterly
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
changing from monthly to quarterly
If you have an unbalanced monthly panel (cross-section id PERMNO, dates in DATE), how do you create a quarterly panel programmatically? I don't need to copy the data over, just to get the structure set up.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: changing from monthly to quarterly
Do you want the new page to be balanced or unbalanced?
Follow us on Twitter @IHSEViews
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: changing from monthly to quarterly
unbalanced
-
- EViews Developer
- Posts: 2672
- Joined: Wed Oct 15, 2008 9:17 am
Re: changing from monthly to quarterly
Trying to stump us Startz? This one is from Chris...
will create the page you want named QUARTERLY.
Code: Select all
pagecreate(id, page=quarterly) PERMNO @date(@datefloor(DATE, "q"))
will create the page you want named QUARTERLY.
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: changing from monthly to quarterly
It is well known that Chris is a smart chap
Who is online
Users browsing this forum: No registered users and 30 guests