11 November 2014 13 7K Report

Consider a time series (stationary or non-stationary). I fit a linear model of order 0, i.e., an intercept to the data. In the stationary case, this corresponds to the mean. Now, when I calculate the R2 value as:

R2 = 1- sum(residual squared)/(N*variance of data)

The numerator and denominator in the expression are equal and R2 = 0.

This represents a poor fit, when it is not. How do I overcome this? What is a good statistic for the goodness of fit in this case?

In the non-stationary case also, the R2 = 0 (although it does not make sense to calculate the variance in the denominator, nothing stops us from doing that for arguments sake).

In any case, how do I frame a statistic that overcomes this issue?

More Laya Das's questions See All
Similar questions and discussions