Writing NAs
Moderators: EViews Gareth, EViews Moderator
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Writing NAs
It would be useful if there were the ability to control how NAs are written to text files, for example "NAN" rather than "NA." While I guess one could do a recode into an alpha, something more direct would be nice.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Writing NAs
wfsave(type=text) test.txt na="hi_mom"
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Writing NAs
Cool.
Uh, is there a spot in the docs that I can read about this?
Uh, is there a spot in the docs that I can read about this?
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Writing NAs
Yes, that's how I found the option. Both the wfsave and pagesave entries note that all of the options for the specification in wfopen are applicable.
"See wfopen for details on the syntax of source_descriptions and table_descriptions."
Under the Text and Binary Files section of the wfopen command, I found the entry
"na="arg1"", text used to represent observations that are missing from the file. The text should be enclosed in double quotes.
"See wfopen for details on the syntax of source_descriptions and table_descriptions."
Under the Text and Binary Files section of the wfopen command, I found the entry
"na="arg1"", text used to represent observations that are missing from the file. The text should be enclosed in double quotes.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Writing NAs
Thankee.
Return to “Suggestions and Requests”
Who is online
Users browsing this forum: No registered users and 1 guest
