different date

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

erlin
Posts: 12
Joined: Wed Mar 13, 2013 1:44 pm

different date

Postby erlin » Mon Jun 10, 2013 2:00 am

HIi, I have 2 different data with the same period, the one is financial data that doesn't include holiday and weekend and the other one is weather data that include all day. How can i delete some of the weather data which date not includes in financial data, so i can make a regression from both? Thank you.

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

Re: different date

Postby startz » Mon Jun 10, 2013 6:27 am

Use a dated workfile so the financial data will be NA on holidays and weekends. Regressions will automatically exclude observations with NAs in them.

erlin
Posts: 12
Joined: Wed Mar 13, 2013 1:44 pm

Re: different date

Postby erlin » Mon Jun 10, 2013 9:01 am

I use The Netherlands financial data, they might have different holiday compare to other country such as the queen's day. Is eviews can also detect it?
Thank you.
Kind regards.

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

Re: different date

Postby startz » Mon Jun 10, 2013 9:06 am

I'm pretty sure that EViews doesn't know about Dutch holidays.

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

Re: different date

Postby EViews Gareth » Mon Jun 10, 2013 9:11 am

EViews doesn't know about any country's holidays.

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

Re: different date

Postby startz » Mon Jun 10, 2013 9:14 am

EViews doesn't know about any country's holidays.
Although the forum may be less tended on St. David's day :)

erlin
Posts: 12
Joined: Wed Mar 13, 2013 1:44 pm

Re: different date

Postby erlin » Mon Jun 10, 2013 9:55 am

So the only way to remove this date is do it manually?
or is there any possibility to match the date for both data?
Thank you.

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

Re: different date

Postby startz » Mon Jun 10, 2013 9:57 am

What you probably want is to make a dummy variable coded 1.0 for Dutch holidays. Then do something like

Code: Select all

smpl if Holiday=0


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests