R2.ts: R2

R2.tsR Documentation

R2

Description

Compute the R-squared (R2) between actual values and forecasts of a time series

Usage

R2.ts(actual, prediction)

Arguments

actual

real observations

prediction

predicted observations

Value

A number, which is the calculated R2


daltoolbox documentation built on May 29, 2024, 1:57 a.m.