Page 1 of 1
String Variables commands
Posted: Tue Mar 03, 2009 1:37 am
by Qmars
I have a quick question regarding the following commands :
I am trying to replace equation eql.ls GDP c GDP (-1) with %x="GDP" eql.ls {%x} c {%x} (-1)
But there is a pop up message box with "%x is not defined or is an illegal command".
As the consequence it doesn't execute the analysis. What's wrong with the string variables of %x=GDP
Thanks very much
Re: String Variables commands
Posted: Tue Mar 03, 2009 9:19 am
by EViews Gareth
try:
%x = "GDP"
equation eql.ls {%x} c {%x}(-1)
Re: String Variables commands
Posted: Fri Mar 06, 2009 6:50 am
by Qmars
Thanks very much.
Now if I have more than one GDP i.e. AU_GDP for austria , US_GDP for the US what would be the string variable to run the same analysis for all time series.
Cheers
Re: String Variables commands
Posted: Fri Mar 06, 2009 9:10 am
by EViews Gareth
Not quite sure I follow what you want to do there. Are you attempting to do pool estimation?
Re: String Variables commands
Posted: Wed Mar 18, 2009 7:53 am
by Qmars
Yes indeed.
I got GDD data for 20 years for a series of countries and i'd like to run ARIMA model for all of them.
Thanks
Re: String Variables commands
Posted: Thu Apr 30, 2009 1:04 am
by Qmars
Hi again
I would like to write a program to forecast the number of cars sold in 10 countries by 2015, using a multiple regression model.
The explained variable is the “cars sold” and explanatory variables are average Household disposable income, Tax on import, Highroad network in KM per head.
These variables have anID like: AU_cars, AU_HHDISP, AU_Tax, AU_HROAD for Austria and BE_cars… etc for Belgium.
The historical data for all the variables are annual and starts from 1980 till 2008.
How can I use EViews programming tool to estimate the explained variable and forecast it up to 2015 for each individual country?
Thanks very much