[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: HP-filter
Jens C. H. Thellesen
> I have a problem with the HP-filter. I write the following command:
> hpfilter lgdp
> gen gdpgab=100*(lgdp-H.lgdp)
> and get the error meassage:"H: operator invalid"
> I don't get any error with the hpfilter command but the
> detrended serie is not
> saved in H.lgdp
> I use stata7 (with the latest update) and have installed
> tslib and tslib_part2.
-hpfilter- is a vipers' nest of problems, aired intermittently
on this list. It has many non-standard or poorly explained
or designed features -- by the standards of Stata now -- but the
immediate issue is not -hpfilter-, but that H is not a valid
time-series operator. That is, any variable name which looks like
is examined to see if "stuff" is a time-series operator.
Is H.lgdp a typo for H_lgdp?
* For searches and help try:
- st: HP-filter
- From: "Jens C. H. Thellesen" <firstname.lastname@example.org>