Beispiel #1
0
 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;
 }
Beispiel #2
0
 List<double> Coef_Cv(DataTable X_Table, statistics stat, int n)
 {
     double[] x = TableValues(X_Table, 0);
     List<double> k3 = new List<double>();
     double cv = stat.Variation(x, 0, x.Length);
     for (int i = 0; i <= x.Length - n; i++)
     {
         k3.Add(stat.Variation(x, i, n) / cv);
     }
     return k3;
 }