public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Response = argHelper.LoadStringArgument(nameof(Response));
            this.ResponseTransformation = argHelper.LoadStringArgument(nameof(ResponseTransformation));
            this.XAxis = argHelper.LoadStringArgument(nameof(XAxis));
            this.XAxisTransformation = argHelper.LoadStringArgument(nameof(XAxisTransformation));
            this.FirstCatFactor      = argHelper.LoadStringArgument(nameof(FirstCatFactor));
            this.SecondCatFactor     = argHelper.LoadStringArgument(nameof(SecondCatFactor));
            this.StyleType           = (GraphStyleType)Enum.Parse(typeof(GraphStyleType), argHelper.LoadStringArgument(nameof(StyleType)), true);
            this.DisplayLegend       = argHelper.LoadBooleanArgument(nameof(DisplayLegend));
            this.SEMPlotIncludeData  = argHelper.LoadBooleanArgument(nameof(SEMPlotIncludeData));
            this.MainTitle           = argHelper.LoadStringArgument(nameof(MainTitle));
            this.XAxisTitle          = argHelper.LoadStringArgument(nameof(XAxisTitle));
            this.YAxisTitle          = argHelper.LoadStringArgument(nameof(YAxisTitle));

            this.XAxisLevelsOrder           = argHelper.LoadStringArgument(nameof(XAxisLevelsOrder));
            this.FirstCatFactorLevelsOrder  = argHelper.LoadStringArgument(nameof(FirstCatFactorLevelsOrder));
            this.SecondCatFactorLevelsOrder = argHelper.LoadStringArgument(nameof(SecondCatFactorLevelsOrder));

            this.ScatterplotSelected      = argHelper.LoadBooleanArgument(nameof(ScatterplotSelected));
            this.LinearFitSelected        = argHelper.LoadBooleanArgument(nameof(LinearFitSelected));
            this.JitterSelected           = argHelper.LoadBooleanArgument(nameof(JitterSelected));
            this.BoxplotSelected          = argHelper.LoadBooleanArgument(nameof(BoxplotSelected));
            this.BoxplotOptions           = argHelper.LoadStringArgument(nameof(BoxplotOptions));
            this.SEMPlotSelected          = argHelper.LoadBooleanArgument(nameof(SEMPlotSelected));
            this.SEMType                  = (SEMPlotType)Enum.Parse(typeof(SEMPlotType), argHelper.LoadStringArgument(nameof(SEMType)), true);
            this.HistogramSelected        = argHelper.LoadBooleanArgument(nameof(HistogramSelected));
            this.NormalDistSelected       = argHelper.LoadBooleanArgument(nameof(NormalDistSelected));
            this.CaseProfilesPlotSelected = argHelper.LoadBooleanArgument(nameof(CaseProfilesPlotSelected));
            this.CaseIDFactor             = argHelper.LoadStringArgument(nameof(CaseIDFactor));
            this.ReferenceLine            = argHelper.LoadNullableDecimalArgument(nameof(ReferenceLine));
        }
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Responses = argHelper.LoadIEnumerableArgument(nameof(Responses));
            this.ResponseTransformation = argHelper.LoadStringArgument(nameof(ResponseTransformation));
            this.TargetValue            = argHelper.LoadDecimalArgument(nameof(TargetValue));
            this.ConfidenceInterval     = argHelper.LoadBooleanArgument(nameof(ConfidenceInterval));
            this.NormalPlot             = argHelper.LoadBooleanArgument(nameof(NormalPlot));
            this.Significance           = argHelper.LoadStringArgument(nameof(Significance));
        }
Beispiel #3
0
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Response              = argHelper.LoadStringArgument(nameof(Response));
            this.Treatment             = argHelper.LoadStringArgument(nameof(Treatment));
            this.Censorship            = argHelper.LoadStringArgument(nameof(Censorship));
            this.SummaryResults        = argHelper.LoadBooleanArgument(nameof(SummaryResults));
            this.SurvivalPlot          = argHelper.LoadBooleanArgument(nameof(SurvivalPlot));
            this.CompareSurvivalCurves = argHelper.LoadBooleanArgument(nameof(CompareSurvivalCurves));
            this.Significance          = argHelper.LoadStringArgument(nameof(Significance));
        }
Beispiel #4
0
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Response           = argHelper.LoadStringArgument(nameof(Response));
            this.GroupingFactor     = argHelper.LoadStringArgument(nameof(GroupingFactor));
            this.ResponseCategories = argHelper.LoadStringArgument(nameof(ResponseCategories));
            this.ChiSquaredTest     = argHelper.LoadBooleanArgument(nameof(ChiSquaredTest));
            this.FishersExactTest   = argHelper.LoadBooleanArgument(nameof(FishersExactTest));
            this.Hypothesis         = argHelper.LoadStringArgument(nameof(Hypothesis));
            this.BarnardsTest       = argHelper.LoadBooleanArgument(nameof(BarnardsTest));
            this.Significance       = argHelper.LoadStringArgument(nameof(Significance));
        }
Beispiel #5
0
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Response = argHelper.LoadStringArgument(nameof(Response));
            this.ResponseTransformation = argHelper.LoadStringArgument(nameof(ResponseTransformation));
            this.Treatment = argHelper.LoadStringArgument(nameof(Treatment));
            this.EqualVarianceCaseSelected        = argHelper.LoadBooleanArgument(nameof(EqualVarianceCaseSelected));
            this.UnequalVarianceCaseSelected      = argHelper.LoadBooleanArgument(nameof(UnequalVarianceCaseSelected));
            this.ResidualsVsPredictedPlotSelected = argHelper.LoadBooleanArgument(nameof(ResidualsVsPredictedPlotSelected));
            this.NormalProbabilityPlotSelected    = argHelper.LoadBooleanArgument(nameof(NormalProbabilityPlotSelected));
            this.ControlGroup = argHelper.LoadStringArgument(nameof(ControlGroup));
            this.Significance = argHelper.LoadStringArgument(nameof(Significance));
        }
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Responses           = argHelper.LoadIEnumerableArgument(nameof(Responses));
            this.IncludeAllVariables = argHelper.LoadBooleanArgument(nameof(IncludeAllVariables));
            this.Responses           = argHelper.LoadIEnumerableArgument(nameof(SelectedVariables));
            this.ResponseName        = argHelper.LoadStringArgument(nameof(ResponseName));
            this.RepeatedFactorName  = argHelper.LoadStringArgument(nameof(RepeatedFactorName));
            this.SubjectFactorName   = argHelper.LoadStringArgument(nameof(SubjectFactorName));
        }
Beispiel #7
0
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Response                   = argHelper.LoadStringArgument(nameof(Response));
            this.Treatments                 = argHelper.LoadIEnumerableArgument(nameof(Treatments));
            this.OtherDesignFactors         = argHelper.LoadIEnumerableArgument(nameof(OtherDesignFactors));
            this.ResponseTransformation     = argHelper.LoadStringArgument(nameof(ResponseTransformation));
            this.Covariates                 = argHelper.LoadIEnumerableArgument(nameof(Covariates));
            this.PrimaryFactor              = argHelper.LoadStringArgument(nameof(PrimaryFactor));
            this.CovariateTransformation    = argHelper.LoadStringArgument(nameof(CovariateTransformation));
            this.ANOVASelected              = argHelper.LoadBooleanArgument(nameof(ANOVASelected));
            this.PRPlotSelected             = argHelper.LoadBooleanArgument(nameof(PRPlotSelected));
            this.NormalPlotSelected         = argHelper.LoadBooleanArgument(nameof(NormalPlotSelected));
            this.Significance               = argHelper.LoadStringArgument(nameof(Significance));
            this.SelectedEffect             = argHelper.LoadStringArgument(nameof(SelectedEffect));
            this.LSMeansSelected            = argHelper.LoadBooleanArgument(nameof(LSMeansSelected));
            this.AllPairwise                = argHelper.LoadStringArgument(nameof(AllPairwise));
            this.GenerateComparisonsDataset = argHelper.LoadBooleanArgument(nameof(GenerateComparisonsDataset));
        }
        public void LoadBooleanArgument_ReturnsCorrectBool()
        {
            //Arrange
            System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
            ArgumentHelper sut = new ArgumentHelper(GetArguments());

            //Act
            bool result = sut.LoadBooleanArgument("ANOVASelected");

            //Assert
            Assert.True(result);
        }
Beispiel #9
0
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.SelectedInputFormat = (InputFormatType)Enum.Parse(typeof(InputFormatType), argHelper.LoadStringArgument(nameof(SelectedInputFormat)), true);
            this.Response            = argHelper.LoadStringArgument(nameof(Response));
            this.SubjectFactor       = argHelper.LoadStringArgument(nameof(SubjectFactor));
            this.TimeFactor          = argHelper.LoadStringArgument(nameof(TimeFactor));
            this.Responses           = argHelper.LoadIEnumerableArgument(nameof(Responses));
            this.NumericalTimePoints = argHelper.LoadStringArgument(nameof(NumericalTimePoints));
            this.IncludeAllVariables = argHelper.LoadBooleanArgument(nameof(IncludeAllVariables));
            this.SelectedVariables   = argHelper.LoadIEnumerableArgument(nameof(SelectedVariables));
            this.AUCOutput           = (AUCOutputType)Enum.Parse(typeof(AUCOutputType), argHelper.LoadStringArgument(nameof(AUCOutput)), true);
        }
Beispiel #10
0
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Response                   = argHelper.LoadStringArgument(nameof(Response));
            this.Treatments                 = argHelper.LoadIEnumerableArgument(nameof(Treatments));
            this.OtherDesignFactors         = argHelper.LoadIEnumerableArgument(nameof(OtherDesignFactors));
            this.ResponseTransformation     = argHelper.LoadStringArgument(nameof(ResponseTransformation));
            this.Covariates                 = argHelper.LoadIEnumerableArgument(nameof(Covariates));
            this.PrimaryFactor              = argHelper.LoadStringArgument(nameof(PrimaryFactor));
            this.CovariateTransformation    = argHelper.LoadStringArgument(nameof(CovariateTransformation));
            this.EquivalenceBoundsType      = (EquivalenceBoundsOption)Enum.Parse(typeof(EquivalenceBoundsOption), argHelper.LoadStringArgument(nameof(EquivalenceBoundsType)), true);
            this.LowerBoundAbsolute         = argHelper.LoadNullableDecimalArgument(nameof(LowerBoundAbsolute));
            this.UpperBoundAbsolute         = argHelper.LoadNullableDecimalArgument(nameof(UpperBoundAbsolute));
            this.LowerBoundPercentageChange = argHelper.LoadNullableDecimalArgument(nameof(LowerBoundPercentageChange));
            this.UpperBoundPercentageChange = argHelper.LoadNullableDecimalArgument(nameof(UpperBoundPercentageChange));
            this.PRPlotSelected             = argHelper.LoadBooleanArgument(nameof(PRPlotSelected));
            this.NormalPlotSelected         = argHelper.LoadBooleanArgument(nameof(NormalPlotSelected));
            this.Significance               = argHelper.LoadStringArgument(nameof(Significance));
            this.SelectedEffect             = argHelper.LoadStringArgument(nameof(SelectedEffect));
            this.LSMeansSelected            = argHelper.LoadBooleanArgument(nameof(LSMeansSelected));
            this.ComparisonType             = (ComparisonOption)Enum.Parse(typeof(ComparisonOption), argHelper.LoadStringArgument(nameof(ComparisonType)), true);
            this.ControlGroup               = argHelper.LoadStringArgument(nameof(ControlGroup));
        }
Beispiel #11
0
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Response                        = argHelper.LoadStringArgument(nameof(Response));
            this.PositiveResult                  = argHelper.LoadStringArgument(nameof(PositiveResult));
            this.Covariates                      = argHelper.LoadIEnumerableArgument(nameof(Covariates));
            this.CovariateTransformation         = argHelper.LoadStringArgument(nameof(CovariateTransformation));
            this.Treatments                      = argHelper.LoadIEnumerableArgument(nameof(Treatments));
            this.ContinuousFactors               = argHelper.LoadIEnumerableArgument(nameof(ContinuousFactors));
            this.ContinuousFactorsTransformation = argHelper.LoadStringArgument(nameof(ContinuousFactorsTransformation));
            this.OtherDesignFactors              = argHelper.LoadIEnumerableArgument(nameof(OtherDesignFactors));
            this.TableOfOverallEffectTests       = argHelper.LoadBooleanArgument(nameof(TableOfOverallEffectTests));
            this.OddsRatio                       = argHelper.LoadBooleanArgument(nameof(OddsRatio));
            this.ModelPredictionAssessment       = argHelper.LoadBooleanArgument(nameof(ModelPredictionAssessment));
            this.PlotOfModelPredicted            = argHelper.LoadBooleanArgument(nameof(PlotOfModelPredicted));
            this.TableOfModelPredictions         = argHelper.LoadBooleanArgument(nameof(TableOfModelPredictions));
            this.GoodnessOfFitTest               = argHelper.LoadBooleanArgument(nameof(GoodnessOfFitTest));
            this.ROCCurve                        = argHelper.LoadBooleanArgument(nameof(ROCCurve));
            this.Significance                    = argHelper.LoadStringArgument(nameof(Significance));
        }
Beispiel #12
0
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Response           = argHelper.LoadStringArgument(nameof(Response));
            this.CategoricalFactors = argHelper.LoadIEnumerableArgument(nameof(CategoricalFactors));
            this.OtherDesignFactors = argHelper.LoadIEnumerableArgument(nameof(OtherDesignFactors));
            this.ContinuousFactors  = argHelper.LoadIEnumerableArgument(nameof(ContinuousFactors));
            this.ContinuousFactorsTransformation = argHelper.LoadStringArgument(nameof(ContinuousFactorsTransformation));
            this.ResponseTransformation          = argHelper.LoadStringArgument(nameof(ResponseTransformation));
            this.Covariates               = argHelper.LoadIEnumerableArgument(nameof(Covariates));
            this.PrimaryFactor            = argHelper.LoadStringArgument(nameof(PrimaryFactor));
            this.CovariateTransformation  = argHelper.LoadStringArgument(nameof(CovariateTransformation));
            this.ANOVASelected            = argHelper.LoadBooleanArgument(nameof(ANOVASelected));
            this.Coefficients             = argHelper.LoadBooleanArgument(nameof(Coefficients));
            this.AdjustedRSquared         = argHelper.LoadBooleanArgument(nameof(AdjustedRSquared));
            this.Significance             = argHelper.LoadStringArgument(nameof(Significance));
            this.ResidualsVsPredictedPlot = argHelper.LoadBooleanArgument(nameof(ResidualsVsPredictedPlot));
            this.NormalProbabilityPlot    = argHelper.LoadBooleanArgument(nameof(NormalProbabilityPlot));
            this.CooksDistancePlot        = argHelper.LoadBooleanArgument(nameof(CooksDistancePlot));
            this.LeveragePlot             = argHelper.LoadBooleanArgument(nameof(LeveragePlot));
        }
Beispiel #13
0
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Responses              = argHelper.LoadIEnumerableArgument(nameof(Responses));
            this.FirstCatFactor         = argHelper.LoadStringArgument(nameof(FirstCatFactor));
            this.SecondCatFactor        = argHelper.LoadStringArgument(nameof(SecondCatFactor));
            this.ThirdCatFactor         = argHelper.LoadStringArgument(nameof(ThirdCatFactor));
            this.FourthCatFactor        = argHelper.LoadStringArgument(nameof(FourthCatFactor));
            this.Transformation         = argHelper.LoadStringArgument(nameof(Transformation));
            this.Method                 = argHelper.LoadStringArgument(nameof(Method));
            this.Hypothesis             = argHelper.LoadStringArgument(nameof(Hypothesis));
            this.CorrelationCoefficient = argHelper.LoadBooleanArgument(nameof(CorrelationCoefficient));
            this.TestStatistic          = argHelper.LoadBooleanArgument(nameof(TestStatistic));
            this.PValue                 = argHelper.LoadBooleanArgument(nameof(PValue));
            this.Scatterplot            = argHelper.LoadBooleanArgument(nameof(Scatterplot));
            this.Matrixplot             = argHelper.LoadBooleanArgument(nameof(Matrixplot));
            this.Significance           = argHelper.LoadStringArgument(nameof(Significance));
            this.ByCategoriesAndOverall = argHelper.LoadBooleanArgument(nameof(ByCategoriesAndOverall));
        }
Beispiel #14
0
        public override void LoadArguments(IEnumerable<Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Response = argHelper.LoadStringArgument(nameof(Response));
            this.ResponseTransformation = argHelper.LoadStringArgument(nameof(ResponseTransformation));
            this.Treatment = argHelper.LoadStringArgument(nameof(Treatment));
            this.Subject = argHelper.LoadStringArgument(nameof(Subject));
            this.OtherDesignFactors = argHelper.LoadIEnumerableArgument(nameof(OtherDesignFactors));
            this.Covariates = argHelper.LoadIEnumerableArgument(nameof(Covariates));
            this.Covariance = argHelper.LoadStringArgument(nameof(Covariance));
            this.CompareCovarianceModels = argHelper.LoadBooleanArgument(nameof(CompareCovarianceModels));
            this.CovariateTransformation = argHelper.LoadStringArgument(nameof(CovariateTransformation));
            this.ANOVASelected = argHelper.LoadBooleanArgument(nameof(ANOVASelected));
            this.PRPlotSelected = argHelper.LoadBooleanArgument(nameof(PRPlotSelected));
            this.NormalPlotSelected = argHelper.LoadBooleanArgument(nameof(NormalPlotSelected));
            this.LSMeansSelected = argHelper.LoadBooleanArgument(nameof(LSMeansSelected));
            this.AllPairwiseComparisons = argHelper.LoadBooleanArgument(nameof(AllPairwiseComparisons));
            this.ControlGroup = argHelper.LoadStringArgument(nameof(ControlGroup));
            this.Significance = argHelper.LoadStringArgument(nameof(Significance));
        }
        public override void LoadArguments(IEnumerable <Argument> arguments)
        {
            ArgumentHelper argHelper = new ArgumentHelper(arguments);

            this.Responses              = argHelper.LoadIEnumerableArgument(nameof(Responses));
            this.FirstCatFactor         = argHelper.LoadStringArgument(nameof(FirstCatFactor));
            this.SecondCatFactor        = argHelper.LoadStringArgument(nameof(SecondCatFactor));
            this.ThirdCatFactor         = argHelper.LoadStringArgument(nameof(ThirdCatFactor));
            this.FourthCatFactor        = argHelper.LoadStringArgument(nameof(FourthCatFactor));
            this.Transformation         = argHelper.LoadStringArgument(nameof(Transformation));
            this.ByCategoriesAndOverall = argHelper.LoadBooleanArgument(nameof(ByCategoriesAndOverall));
            this.CoefficientOfVariation = argHelper.LoadBooleanArgument(nameof(CoefficientOfVariation));
            this.ConfidenceInterval     = argHelper.LoadBooleanArgument(nameof(ConfidenceInterval));
            this.Mean = argHelper.LoadBooleanArgument(nameof(Mean));
            this.MedianAndQuartiles = argHelper.LoadBooleanArgument(nameof(MedianAndQuartiles));
            this.MinAndMax          = argHelper.LoadBooleanArgument(nameof(MinAndMax));
            this.N = argHelper.LoadBooleanArgument(nameof(N));
            this.NormalProbabilityPlot = argHelper.LoadBooleanArgument(nameof(NormalProbabilityPlot));
            this.Significance          = argHelper.LoadIntArgument(nameof(Significance));
            this.StandardDeviation     = argHelper.LoadBooleanArgument(nameof(StandardDeviation));
            this.StandardErrorOfMean   = argHelper.LoadBooleanArgument(nameof(StandardErrorOfMean));
            this.Variance = argHelper.LoadBooleanArgument(nameof(Variance));
        }