- use http://fmwww.bc.edu/repec/bocode/h/hamiltonfilterdmonthly.dta, clear
- tsset datevar
- tsfilter hp hp_cycle = lgrpcecm,
- tsline hp_cycle
- gen hp_trend = lgrpcecm-hp_cycle
- tsline hp_trend
|
楼主: zhdstanley
|
38329
19
[时间序列问题] 如何在stata中执行HP滤波命令 |
| ||
加好友,备注jltj京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


