Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: re hodrick prescott filter


From   Marwan Elkhoury <[email protected]>
To   [email protected]
Subject   st: re hodrick prescott filter
Date   Thu, 29 Oct 2009 17:45:20 +0100

I have a panel data with 180 countries over 10 years (annual data) and I tried to run a hodrick prescott filter over it to smooth data by typing the following command in stata 10:

by cntry: hprescott realgdomcred realgdpgrowth if tin(1997, 2008), stub (HP) smooth(6.25)

and I get error 3301 subscript invalid;

I've tried to increase memory size to 100M
and maxvar size to 10000
as well as matsize to 6500 (could not increase it to more)

P.S. I'm running stata 10 through Paralleldesk on my macbook

If any idea why I can't run the HP filter as such.

sincerely yours,


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index