Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Re: -HPRESCOTT- problem


From   ajjee <[email protected]>
To   [email protected]
Subject   st: Re: -HPRESCOTT- problem
Date   Fri, 25 Mar 2011 22:10:58 -0700 (PDT)

Thanks!

But the problem is still there after generating id also.

Regards,


On 26 March 2011 05:45, Syed Basher &lt;[email protected]&gt; wrote:
Hi,

May be try using id (instead of country) as cross-section identifier.
Creating
id is easy in Stata:
http://www.stata.com/support/faqs/data/group.html

I recently used the following commands to my data set, and it worked
by id: hprescott lm2, stub(hp) smooth(6.25)

Hope you find this helpful.

Syed Basher
Doha, Qatar



----- Original Message ----
From: ajjee &lt;[email protected]&gt;
To: [email protected]
Sent: Sat, March 26, 2011 7:24:15 AM
Subject: st: -HPRESCOTT- problem

Dear All

I've a panel dataset of 130 countries over the period 1970-2008. I'm facing
a problem with -hprescott-. When I write the command

xtset country year

by country: hprescott  gdp_constant , stub (hp) smooth(6.25) , the result is
no observations

but when I don't give the smoothing parameter,that is,

by country: hprescott  gdp_constant , stub (hp)

it works assuming a smoothing parameter of 1600 which is for quarterly
data(I think). Please help.

Regards,

ajjee



--

--
View this message in context: http://statalist.1588530.n2.nabble.com/HPRESCOTT-problem-tp6209845p6209896.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index