powered by
Hodrick-Prescott filter estimation
UChp(y, lambda = 1600)
A time series object
Smoothing constant (default: 1600)
The cycle estimation
UC, UCmodel, UCvalidate, UCfilter, UCsmooth, UCcomponents, UCdisturb
UC
UCmodel
UCvalidate
UCfilter
UCsmooth
UCcomponents
UCdisturb
# NOT RUN { cycle <- UChp(USgdp) plot(cycle) # }
Run the code above in your browser using DataLab