Ejemplo n.º 1
0
 public Form1()
 {
     InitializeComponent();
     dataProvider    = new DataProvider();
     fileReader      = new FileReader();
     firstLevelStat  = new FirstLevelStat();
     correlationStat = new CorrelationStat();
 }
Ejemplo n.º 2
0
 public RegressionStatistic(IEnumerable <Model> listModels, CorrelationStat correlationStat)
 {
     this.correlationStat = correlationStat;
     listX = new List <double>();
     listY = new List <double>();
     foreach (var item in listModels)
     {
         listX.Add(item.X);
         listY.Add(item.Y);
     }
 }