print.MDM: Prints 'MDM' Object.

View source: R/MDM.test.R

print.MDMR Documentation

Prints MDM Object.

Description

The function prints selected outcomes obtained from MDM.selection.

Usage

## S3 method for class 'MDM'
print(x, ...)

Arguments

x

an object of MDM class

...

not used

Details

The function prints models with outstanding predictive ability, their mean loss function, statistics corresponding to their loss differentials (they are the number of the models less one), and orders these statistics. It also prints the p-value of the test and the number of eliminated models. If no models with outstanding predictive ability were found, the funtions prints such an information.

Examples

data(MDMforecasts)
ts <- MDMforecasts$ts
forecasts <- MDMforecasts$forecasts
m <- MDM.selection(realized=ts,evaluated=forecasts,q=10,alpha=0.1,statistic="S",loss.type="AE")
print(m)

multDM documentation built on June 9, 2022, 5:06 p.m.

Related to print.MDM in multDM...