Statalist


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

st: FW: question


From   PETRESKI Marjan <M.Petreski@staffs.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: FW: question
Date   Tue, 9 Dec 2008 20:42:48 -0000

Dear Statausers,

Looking for how to perform HP filter with multiple panels, I came across
Nick Cox's reply to Nicolas Winkler. The syntax is as follows:

levelsof id, local(ID) 

foreach I of local ID { 
	hprescott myvar if id == `I', stub(foo) 
} 

egen foo = rowmax(foo*_*) 


However, when I apply this procedure, I get the smoothed series only for
the first country. Could you please instruct me on how to improve and
have smoothed series for all N in the panel?

Thanks.
Sincerely,

Mr. Marjan Petreski, PhD cand. 
Staffordshire University
Leek Road 229
Stoke on Trent, Staffordshire
United Kingdom
web: www.linkedin.com/in/mpetreski 


The information in this email is confidential and is intended solely for
the addressee.  Access to this email by anyone else is unauthorised.  



If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on
it, except for the purpose of delivery to the addressee, is prohibited
and may be unlawful.  Kindly notify the sender and delete the message
and any attachment from your computer. 


The information in this email is confidential and is intended solely for the addressee.  Access to this email by anyone else is unauthorised.  



If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, except for the purpose of delivery to the addressee, is prohibited and may be unlawful.  Kindly notify the sender and delete the message and any attachment from your computer.


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index