public HedgesSetupVM(ExcelDataSet excelDataSet, HedgesSettings settings)
        {
            _excelDataSet = excelDataSet;
            _settings = settings;

            var availableVariableNames = GetAvailableVariableNames().ToList();
            AvailableVariables = new ObservableCollection<string>(availableVariableNames);
            AvailableGroups = new ObservableCollection<string>(availableVariableNames);

            AvailableFirstValues = new ObservableCollection<string>();
            AvailableSecondValues = new ObservableCollection<string>();
        }
        private void OnCalculateHedges()
        {
            var settings = new HedgesSettings();
            var effectSizeCalculator = new HedgesCalculator(_excelDataSet, settings);
            var resultExporter = new HedgesResultExporter(settings);
            var hedgesSetupVM = new HedgesSetupVM(_excelDataSet, settings);

            ShowEffectSizeWindow(effectSizeCalculator, resultExporter, hedgesSetupVM);
        }
 public HedgesCalculator(ExcelDataSet excelDataSet, HedgesSettings hedgesSettings)
 {
     _excelDataSet = excelDataSet;
     _hedgesSettings = hedgesSettings;
 }
 public HedgesResultExporter(HedgesSettings settings)
 {
     _settings = settings;
 }