Vector Extensions.Apply Hodrick Prescott Filter Method
Applies Hodrick-Prescott smoothing to the vector.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A vector that contains the smoothed trend of the vector.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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.