rkhs_filter | R Documentation |
Estimation of a filter using Reproducing Kernel Hilbert Space (RKHS)
rkhs_filter(
horizon = 6,
degree = 2,
kernel = c("Biweight", "Henderson", "Epanechnikov", "Triangular", "Uniform",
"Triweight"),
asymmetricCriterion = c("Timeliness", "FrequencyResponse", "Accuracy", "Smoothness",
"Undefined"),
density = c("uniform", "rw"),
passband = 2 * pi/12,
optimalbw = TRUE,
optimal.minBandwidth = horizon,
optimal.maxBandwidth = 3 * horizon,
bandwidth = horizon + 1
)
horizon |
horizon (bandwidth) of the symmetric filter. |
degree |
degree of polynomial. |
kernel |
kernel uses. |
asymmetricCriterion |
the criteria used to compute the optimal bandwidth. If |
density |
hypothesis on the spectral density: |
passband |
passband threshold. |
optimalbw |
boolean indicating if the bandwith should be choosen by optimisation (between |
optimal.minBandwidth, optimal.maxBandwidth |
the range used for the optimal bandwith selection. |
bandwidth |
the bandwidth to use if |
An object of class "rkhs_filter"
, which is a list of 4 elements:
"internal"
Java object used for internal functions
"filters.coef"
The coefficients of the selected filter
"filters.gain"
The gain function between 0 and pi (601 observations)
"filters.phase"
The phase function between 0 and pi (601 observations)
Dagum, Estela Bee and Silvia Bianconcini (2008). “The Henderson Smoother in Reproducing Kernel Hilbert Space”. In: Journal of Business & Economic Statistics 26, pp. 536–545. URL: https://ideas.repec.org/a/bes/jnlbes/v26y2008p536-545.html.
rkhs <- rkhs_filter(horizon = 6, asymmetricCriterion = "Timeliness")
plot_coef(rkhs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.