Learn R Programming

tstests (version 1.0.0)

minzar_test: Mincer-Zarnowitz Test

Description

The forecast unbiasedness test of Mincer and Zarnowitz (1969).

Usage

minzar_test(actual, forecast, ...)

Value

An object of class “tstest.minzar” which has a print and as_flextable method.

Arguments

actual

a vector representing the actual values of a series.

forecast

a vector representing the forecasted values of the series.

...

additional arguments passed to linearHypothesis, except the “test” argument which is fixed to Chisq.

References

Mincer1969tstests

Examples

Run this code
data(arma_forecast)
test <- minzar_test(arma_forecast$actual, arma_forecast$forecast)
test

Run the code above in your browser using DataLab