UChp: UChp

View source: R/UCestim.R

UChpR Documentation

UChp

Description

Hodrick-Prescott filter estimation

Usage

UChp(y, lambda = 1600)

Arguments

y

A time series object

lambda

Smoothing constant (default: 1600)

Value

The cycle estimation

Author(s)

Diego J. Pedregal

See Also

UC, UCforecast, UCvalidate, UCfilter, UCsmooth, UCcomponents, UCdisturb

Examples


cycle <- UChp(USgdp)
plot(cycle)


UComp documentation built on April 24, 2026, 5:07 p.m.

Related to UChp in UComp...