Search found 11943 matches

by EViews Gareth
Wed Jan 23, 2019 6:31 am
Forum: Estimation
Topic: Dummies for day of the week, month and year
Replies: 6
Views: 84

Re: Dummies for day of the week, month and year

The idea behind using dummy variables is fine, my point was that in EViews you don’t need to create them as series first, you can just estimate with the expressions in the equation directly.
by EViews Gareth
Tue Jan 22, 2019 1:00 pm
Forum: Estimation
Topic: Dummies for day of the week, month and year
Replies: 6
Views: 84

Re: Dummies for day of the week, month and year

Although, I'll reiterate, there should be no reason to create these series at all.
by EViews Gareth
Tue Jan 22, 2019 12:59 pm
Forum: Estimation
Topic: Dummies for day of the week, month and year
Replies: 6
Views: 84

Re: Dummies for day of the week, month and year

You can't give a series a name starting with a number. Call it Y2009 instead.
by EViews Gareth
Tue Jan 22, 2019 12:15 pm
Forum: Estimation
Topic: Dummies for day of the week, month and year
Replies: 6
Views: 84

Re: Dummies for day of the week, month and year

Why can you not do the same thing for years using @year?

Also, you should try using @expand(@month) etc... to automatically impose the dummies rather than creating them manually.
http://www.eviews.com/Learning/dummies.html
by EViews Gareth
Tue Jan 22, 2019 10:13 am
Forum: Data Manipulation
Topic: Import hourly data - workfile
Replies: 10
Views: 142

Re: Import hourly data - workfile

Unfortunately not. You could create an alpha series containing the format you want (something like alpha a = @datestr(@date, "DD/MM/YYYY") + " " + @str(@hour+1)), then structure the workfile as undated by id series, where that alpha is the id series. But once you've done that, EV...
by EViews Gareth
Tue Jan 22, 2019 9:39 am
Forum: Data Manipulation
Topic: inserting text files in string
Replies: 8
Views: 94

Re: inserting text files in string

No.

Given that there isn't a proc to save strings as text, how did you save them?
by EViews Gareth
Tue Jan 22, 2019 9:38 am
Forum: Data Manipulation
Topic: Import hourly data - workfile
Replies: 10
Views: 142

Re: Import hourly data - workfile

I'm not sure I follow the issue... It seems like EViews is putting the data in the correct place. Are you just worried about the labeling of the hours? The observation labeled as: 01/01/2009 00:00 Has a value of 0.801182 for series A. That observation is the time between midnight and 1am (00:00 and ...
by EViews Gareth
Tue Jan 22, 2019 9:28 am
Forum: Data Manipulation
Topic: inserting text files in string
Replies: 8
Views: 94

Re: inserting text files in string

There isn't an easy way to do it. String objects aren't really intended for that sort of thing (I'm kinda surprised the menu item exists!). If the text file only has one line, you would go through a text object, then grab the first line into a string. Or convert the text object into an svector and l...
by EViews Gareth
Tue Jan 22, 2019 9:08 am
Forum: Data Manipulation
Topic: inserting text files in string
Replies: 8
Views: 94

Re: inserting text files in string

What's a string list?
by EViews Gareth
Tue Jan 22, 2019 8:45 am
Forum: Data Manipulation
Topic: Import hourly data - workfile
Replies: 10
Views: 142

Re: Import hourly data - workfile

Could you provide an example excel file (over-write the data with random numbers if confidentiality is an issue).
by EViews Gareth
Tue Jan 22, 2019 8:45 am
Forum: Data Manipulation
Topic: inserting text files in string
Replies: 8
Views: 94

Re: inserting text files in string

You'd have to go through a text object. text.append to open the text file.
by EViews Gareth
Mon Jan 21, 2019 6:03 pm
Forum: Data Manipulation
Topic: Import hourly data - workfile
Replies: 10
Views: 142

Re: Import hourly data - workfile

Are you doing a "Dated read" import or a "Sequential read" import?

If dated, try doing sequential (assuming your file has the same number of rows as the workfile etc...)
by EViews Gareth
Mon Jan 21, 2019 6:00 pm
Forum: Programming
Topic: Date Format
Replies: 8
Views: 124

Re: Date Format

Code: Select all

wfsave(type=text) artificial_undated6.txt nonames
by EViews Gareth
Mon Jan 21, 2019 1:14 pm
Forum: Data Manipulation
Topic: Import hourly data - workfile
Replies: 10
Views: 142

Re: Import hourly data - workfile

How are you doing the import?
by EViews Gareth
Mon Jan 21, 2019 1:12 pm
Forum: Programming
Topic: Date Format
Replies: 8
Views: 124

Re: Date Format

There’s a nonames option.

Go to advanced search