rkhs_optimization_fun | R Documentation |
Export function used to compute the optimal bandwidth of Reproducing Kernel Hilbert Space (RKHS) filters
rkhs_optimization_fun(
horizon = 6,
leads = 0,
degree = 2,
kernel = c("Biweight", "Henderson", "Epanechnikov", "Triangular", "Uniform",
"Triweight"),
asymmetricCriterion = c("Timeliness", "FrequencyResponse", "Accuracy", "Smoothness"),
density = c("uniform", "rw"),
passband = 2 * pi/12
)
horizon |
horizon (bandwidth) of the symmetric filter. |
leads |
Leads of the filter (should be positive or 0). |
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. |
plot(rkhs_optimization_fun(horizon = 6, leads = 0,degree = 3, asymmetricCriterion = "Timeliness"),
5.5, 6*3, ylab = "Timeliness",
main = "6X0 filter")
plot(rkhs_optimization_fun(horizon = 6, leads = 1,degree = 3, asymmetricCriterion = "Timeliness"),
5.5, 6*3, ylab = "Timeliness",
main = "6X1 filter")
plot(rkhs_optimization_fun(horizon = 6, leads = 2,degree = 3, asymmetricCriterion = "Timeliness"),
5.5, 6*3, ylab = "Timeliness",
main = "6X2 filter")
plot(rkhs_optimization_fun(horizon = 6, leads = 3,degree = 3, asymmetricCriterion = "Timeliness"),
5.5, 6*3, ylab = "Timeliness",
main = "6X3 filter")
plot(rkhs_optimization_fun(horizon = 6, leads = 4,degree = 3, asymmetricCriterion = "Timeliness"),
5.5, 6*3, ylab = "Timeliness",
main = "6X4 filter")
plot(rkhs_optimization_fun(horizon = 6, leads = 5,degree = 3, asymmetricCriterion = "Timeliness"),
5.5, 6*3, ylab = "Timeliness",
main = "6X5 filter")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.