Hi, Thank you for the help.
I've worked it out. (It's simple but it took me some time..)
I;m wondering how I can add Newey-West options through the looping?
thanks.
Search found 7 matches
- Tue Jun 03, 2014 6:31 am
- Forum: Programming
- Topic: Novice question: Loop
- Replies: 7
- Views: 7346
- Mon Jun 02, 2014 8:02 am
- Forum: Programming
- Topic: Novice question: Loop
- Replies: 7
- Views: 7346
Re: Novice question: Loop
sorry, the comma wasn't in my codes for eviews. The error says %country is not a valid string or scalar name. I just want to repeat same regression for 30 countries. they all have same dependent and independent variables corresponding to their own countries. so my dataset is like: us_rate, us_gdp, u...
- Mon Jun 02, 2014 7:41 am
- Forum: Programming
- Topic: Novice question: Loop
- Replies: 7
- Views: 7346
Re: Novice question: Loop
Hi Gerah, I've viewed that page many times before I posted the question, but my problem seems simpler than that...so I've tried to simply put a string for my 30 countries %country="us, uk,..." then set an equations as {%country}_RATE c {%country}_GDP {%country}_UNEMPLOYMENT But it doesn't ...
- Mon Jun 02, 2014 5:32 am
- Forum: Programming
- Topic: Novice question: Loop
- Replies: 7
- Views: 7346
Novice question: Loop
Hi, I'm trying to create a loop OLS regression for a set of 30 countries, but it keeps alerting me with error messages. I've read some manuals, but I still haven't worked out.... Take US for example I have the independent variables like this: US_GDP, US_UNEMPLOYMENT, etc I have dependent variable as...
- Tue May 20, 2014 11:23 am
- Forum: Programming
- Topic: filter the extreme values
- Replies: 4
- Views: 17814
Re: filter the extreme values
thanK you! That worked.
- Tue May 20, 2014 8:59 am
- Forum: Programming
- Topic: filter the extreme values
- Replies: 4
- Views: 17814
Re: filter the extreme values
I figured the command would be:
series xtop10=@recode ( x > @quantile ( x, .10),1,0)
series xbottom10=@recode ( x < @quantile ( x, .90),1,0)
whereas I checked the output, they don't appear to be what I want.
Can anyone help.....?
series xtop10=@recode ( x > @quantile ( x, .10),1,0)
series xbottom10=@recode ( x < @quantile ( x, .90),1,0)
whereas I checked the output, they don't appear to be what I want.
Can anyone help.....?
- Tue May 20, 2014 5:07 am
- Forum: Programming
- Topic: filter the extreme values
- Replies: 4
- Views: 17814
filter the extreme values
Hi, I usually can find my answers by checking the forum, but this time I have some difficulties in tackling this problem. As I'm new to this software, I thought it might be a good idea to ask help from the forum. Here is my question: I have a time series of stock returns over 20 years, and I'd like ...
