private static Statistics ParseStatistics(object[,] values) { Statistics retValue = new Statistics(); retValue.MultipleR = Convert.ToDouble(values[4, 2]); retValue.RSquare = Convert.ToDouble(values[5, 2]); retValue.AdjustedRSquare = Convert.ToDouble(values[6, 2]); retValue.StandardError = Convert.ToDouble(values[7, 2]); retValue.Observations = Convert.ToInt32(values[8, 2]); return retValue; }
public Regression(Statistics statistics, AnovaStatistics anova, CoefficentStatistics coefficients) { this.Statistics = statistics; this.Anova = anova; this.Coefficients = coefficients; }