hi,
I want to transform my variable into log but it gives me the following messageL
String argument passed to numeric log function
And then if I try to run a regression with the variable I get this message: syntax error.
if I include more than two variables, I get this message: alpha series in specification -net_income @ expand can convert to catagorical dummies
anyone can help?
indy
transform data into log
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13602
- Joined: Tue Sep 16, 2008 5:38 pm
Re: transform data into log
The log function only works on numbers. You've passed in a string variable. EViews cannot take the log of strings.
-
coelhoindy
- Posts: 6
- Joined: Fri Sep 25, 2009 7:52 am
Re: transform data into log
how to eliminate a string variable?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13602
- Joined: Tue Sep 16, 2008 5:38 pm
Re: transform data into log
Assuming your string variable contains numbers stored as a string (possible, but unlikely), you can create a series with something like:
where myalpha is the name of your alpha/string series.
Code: Select all
series myseries = @val(myalpha)
Who is online
Users browsing this forum: No registered users and 2 guests
