Vector Extensions.Apply Hodrick Prescott Filter Method
Applies Hodrick-Prescott smoothing to the vector.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A vector that contains the smoothed trend of the vector.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Vector<double> ApplyHodrickPrescottFilter(
this Vector<double> vector,
double smoothingParameter
)
Parameters
- vector Vector<Double>
- The vector to transform.
- smoothingParameter Double
- The relative weight of the smoothness term.
Return Value
Vector<Double>A vector that contains the smoothed trend of the vector.