- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 12-05-2015 12:54 PM
(2438 views)
Hello, i would like to calculate trend through Hodrick-Prescott Filter.
i have next data :
time Price
10:10:10.10 101
10:10:11.12 102
10:10:12.56 101.2
10:10:12.57 101.2
10:10:16.11 101.8
10:10:16.19 102.1
i found the next link to calculate HP, but i don't undestand it, and i don't think it suitable for time data
http://support.sas.com/documentation/onlinedoc/ets/ex_code/121/ucmex05.html
how can i calculate HP Filter trend?
Thank you
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Proc UCM requires a regularly spaced time series. You'll find a better explanation of the example here :
You can use proc expand to transform your irregular time series into a regular one.
PG