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