List<double> Coef_Eta(DataTable X_Table, statistics stat, int n) { double[] q = new double[n]; double[] x = TableValues(X_Table, 0); List<double> k5 = new List<double>(); double cv = stat.Variation(x, 0, x.Length); double cs = stat.Asimmetria(x, 0, x.Length); double eta = cs / cv; // int index = 0; for (int i = 0; i <= x.Length - n; i++) { k5.Add(stat.Asimmetria(x, i, n ) / stat.Variation(x, i, n ) / eta); } return k5; }
List<double> Coef_Cs(DataTable X_Table, statistics stat, int n) { double[] q = new double[n]; double[] x = TableValues(X_Table, 0); List<double> k4 = new List<double>(); double cs = stat.Asimmetria(x, 0, x.Length); for (int i = 0; i <= x.Length - n; i++) { k4.Add(stat.Asimmetria(x, i, n ) / cs); } return k4; }