Creates a forecast based on the empirical marginal distribution using the mean of the p most recent observations.

MarginalModel(p = NULL)

Arguments

p

Number of most recent observations to use (default: all observations)

Value

A MarginalModel object

Examples

if (FALSE) { # \dontrun{
model <- MarginalModel(p = 10)
} # }