I have a scenario where I get negative R2 values for a linear fit. My algorithm relies on a goodness of fit measure to improve the model. But in the specific cases that I am working on, the R2 values are never becoming positive, let alone close to 1. What are the other measures by which I can quantify the goodness of fit?
PS: If it helps, then I am getting negative values because the data is non-stationary. I am trying to break the data to stationary chunks by looking at R2 values. But they seem to never become positive.