MDM.selection | R Documentation |
This function selects models with outstanding predictive ability basing on multivariate Diebold-Mariano test MDM.test
.
MDM.selection(realized,evaluated,q,alpha,statistic="Sc",loss.type="SE")
realized |
|
evaluated |
|
q |
|
alpha |
|
statistic |
|
loss.type |
method to compute the loss function, |
class MDM
object, list
of
outcomes |
|
p.value |
|
alpha |
|
eliminated |
|
Mariano R.S., Preve, D., 2012. Statistical tests for multiple forecast comparison. Journal of Econometrics 169, 123–130.
data(MDMforecasts)
ts <- MDMforecasts$ts
forecasts <- MDMforecasts$forecasts
MDM.selection(realized=ts,evaluated=forecasts,q=10,alpha=0.1,statistic="S",loss.type="AE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.