I have a problem when I try to import a text file in EViews :
Code: Select all
wfopen(type=text) "data.txt" delim=tab na="NULL" names=("num1","num2","alpha1","alpha2","alpha3","pikachu","num4")pikachu contains numerical data (with some missing values), but EViews creates a alphanumerical series for this column.
I saw in EViews Command Reference that the option rformat seems to allow the specification of strings or numbers in the series, but I do not manage to use it : I tried
rformat=(pikachu# 9),
rformat=("pikachu"# 9),
rformat=(num1 1 num2 2 alpha1 3 alpha2 4 alpha3 5 pikachu# 6 num4 7)
but the error message
appears at each execution.Syntax error: unexpected character '(' in rformat specification in "wfopen(type=text) "data.txt" delim=tab rformat=(pikachu# 9) na="NULL" names=("num1","num2","alpha1","alpha2","alpha3","pikachu","num4")
Is there a way to specify in this command that pikachu is a numerical series ?
(I know I could convert the alpha series in a numerical one using
Code: Select all
series pikachu2=@val(pikachu)Thanks in advance
