ArimaModel.PseudoRSquared Property

Gets the pseudo R Squared value for the ARIMA model.

Definition

Namespace: Numerics.NET.Statistics.TimeSeriesAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
C#
public double PseudoRSquared { get; }

Property Value

Double
The pseudo R Squared value for the model.

Remarks

The R2 value indicates the ratio of variation that is explained by the model to the total variation in the model. Its value is usually between 0 and 1, where 0 indicates the model explains nothing, and 1 means the model explains the data perfectly.

The value of R2 only makes sense for linear models. For an ARIMA model, the pseudo-R2 is the ratio of the explained variance to the total variance in the model.

This property is only available when the model is fitted. It throws an InvalidOperationException if the model is empty or deployed.

Exceptions

InvalidOperationException Thrown if the model is empty or deployed.

See Also