Ejemplo n.º 1
0
        public override string GetCommandLineArguments()
        {
            ArgumentFormatter argFormatter = new ArgumentFormatter();
            StringBuilder     arguments    = new StringBuilder();

            arguments.Append(" " + argFormatter.GetFormattedArgument(Responses));                //4
            arguments.Append(" " + argFormatter.GetFormattedArgument(SubjectFactor, true));      //5
            arguments.Append(" " + argFormatter.GetFormattedArgument(IncludeAllVariables));      //6
            arguments.Append(" " + argFormatter.GetFormattedArgument(SelectedVariables));        //7
            arguments.Append(" " + argFormatter.GetFormattedArgument(ResponseName, true));       //8
            arguments.Append(" " + argFormatter.GetFormattedArgument(RepeatedFactorName, true)); //9
            arguments.Append(" " + argFormatter.GetFormattedArgument(SubjectFactorName, true));  //10

            return(arguments.ToString().Trim());
        }
Ejemplo n.º 2
0
        public override string GetCommandLineArguments()
        {
            ArgumentFormatter argFormatter = new ArgumentFormatter();
            StringBuilder     arguments    = new StringBuilder();

            if (AnalysisType == AnalysisOption.FourParameter) //4
            {
                arguments.Append(" " + "FourParameter");
            }
            else
            {
                arguments.Append(" " + "Equation");
            }

            arguments.Append(" " + argFormatter.GetFormattedArgument(Response, true));                //5

            arguments.Append(" " + argFormatter.GetFormattedArgument(ResponseTransformation, false)); //6
            arguments.Append(" " + argFormatter.GetFormattedArgument(Dose, true));                    //7

            //get the checkbox setting
            arguments.Append(" " + argFormatter.GetFormattedArgument(Offset.ToString(), false));          //8

            arguments.Append(" " + argFormatter.GetFormattedArgument(DoseScale.ToString(), false));       //9

            arguments.Append(" " + argFormatter.GetFormattedArgument(QCResponse, true));                  //10
            arguments.Append(" " + argFormatter.GetFormattedArgument(QCDose, true));                      //11
            arguments.Append(" " + argFormatter.GetFormattedArgument(SamplesResponse, true));             //12

            arguments.Append(" " + argFormatter.GetFormattedArgument(MinCoeff.ToString(), false));        //13
            arguments.Append(" " + argFormatter.GetFormattedArgument(MaxCoeff.ToString(), false));        //14
            arguments.Append(" " + argFormatter.GetFormattedArgument(SlopeCoeff.ToString(), false));      //15
            arguments.Append(" " + argFormatter.GetFormattedArgument(EDICCoeff.ToString(), false));       //16

            arguments.Append(" " + argFormatter.GetFormattedArgument(MinStartValue.ToString(), false));   //17
            arguments.Append(" " + argFormatter.GetFormattedArgument(MaxStartValue.ToString(), false));   //18
            arguments.Append(" " + argFormatter.GetFormattedArgument(SlopeStartValue.ToString(), false)); //19
            arguments.Append(" " + argFormatter.GetFormattedArgument(EDICStartValue.ToString(), false));  //20

            arguments.Append(" " + argFormatter.GetFormattedArgument(Equation, false));                   //21
            arguments.Append(" " + argFormatter.GetFormattedArgument(StartValues, false));                //22

            arguments.Append(" " + argFormatter.GetFormattedArgument(EquationYAxis, true));               //23
            arguments.Append(" " + argFormatter.GetFormattedArgument(EquationXAxis, true));               //24

            return(arguments.ToString().Trim());
        }
Ejemplo n.º 3
0
        public override string GetCommandLineArguments()
        {
            ArgumentFormatter argFormatter = new ArgumentFormatter();
            StringBuilder     arguments    = new StringBuilder();

            //first thing to do is to assemble the model (use the GetModel method)
            arguments.Append(" " + argFormatter.GetFormattedArgument(GetModel(), true)); //4

            //get transforms
            arguments.Append(" " + argFormatter.GetFormattedArgument(ResponseTransformation, false));  //5

            arguments.Append(" " + argFormatter.GetFormattedArgument(CovariateTransformation, false)); //6

            arguments.Append(" " + argFormatter.GetFormattedArgument(Treatments));                     //7

            arguments.Append(" " + argFormatter.GetFormattedArgument(OtherDesignFactors));             //8

            arguments.Append(" " + argFormatter.GetFormattedArgument(Covariates));                     //9
            arguments.Append(" " + argFormatter.GetFormattedArgument(Significance, false));            //10

            arguments.Append(" " + argFormatter.GetFormattedArgument(RandomFactor1, true));            //11
            arguments.Append(" " + argFormatter.GetFormattedArgument(RandomFactor2, true));            //12
            arguments.Append(" " + argFormatter.GetFormattedArgument(RandomFactor3, true));            //13
            arguments.Append(" " + argFormatter.GetFormattedArgument(RandomFactor4, true));            //14

            arguments.Append(" " + argFormatter.GetFormattedArgument(DesignOption1, true));            //15
            arguments.Append(" " + argFormatter.GetFormattedArgument(DesignOption2, true));            //16
            arguments.Append(" " + argFormatter.GetFormattedArgument(DesignOption3, true));            //17
            arguments.Append(" " + argFormatter.GetFormattedArgument(DesignOption4, true));            //18

            return(arguments.ToString().Trim());
        }
Ejemplo n.º 4
0
        public override string GetCommandLineArguments()
        {
            ArgumentFormatter argFormatter = new ArgumentFormatter();
            StringBuilder     arguments    = new StringBuilder();

            //first thing to do is to assemble the model (use the GetModel method)
            arguments.Append(" " + argFormatter.GetFormattedArgument(GetModel(), true)); //4

            //assemble a model for the covariate plot (if a covariate has been chosen)...
            arguments.Append(" " + argFormatter.GetFormattedArgument(Covariates)); //5

            //get transforms
            arguments.Append(" " + argFormatter.GetFormattedArgument(ResponseTransformation, false));          //6

            arguments.Append(" " + argFormatter.GetFormattedArgument(CovariateTransformation, false));         //7

            arguments.Append(" " + argFormatter.GetFormattedArgument(PrimaryFactor, true));                    //8

            arguments.Append(" " + argFormatter.GetFormattedArgument(CategoricalFactors));                     //9

            arguments.Append(" " + argFormatter.GetFormattedArgument(ContinuousFactors));                      //10

            arguments.Append(" " + argFormatter.GetFormattedArgument(ContinuousFactorsTransformation, false)); //11

            arguments.Append(" " + argFormatter.GetFormattedArgument(OtherDesignFactors));                     //12

            arguments.Append(" " + argFormatter.GetFormattedArgument(ANOVASelected));                          //13
            arguments.Append(" " + argFormatter.GetFormattedArgument(Coefficients));                           //14
            arguments.Append(" " + argFormatter.GetFormattedArgument(AdjustedRSquared));                       //15

            arguments.Append(" " + Significance);                                                              //16

            arguments.Append(" " + argFormatter.GetFormattedArgument(ResidualsVsPredictedPlot));               //17

            arguments.Append(" " + argFormatter.GetFormattedArgument(NormalProbabilityPlot));                  //18

            arguments.Append(" " + argFormatter.GetFormattedArgument(CooksDistancePlot));                      //19

            arguments.Append(" " + argFormatter.GetFormattedArgument(LeveragePlot));                           //20

            return(arguments.ToString().Trim());
        }
Ejemplo n.º 5
0
        public override string GetCommandLineArguments()
        {
            ArgumentFormatter argFormatter = new ArgumentFormatter();
            StringBuilder     arguments    = new StringBuilder();

            arguments.Append(" " + "DatasetValues");                                        //4

            arguments.Append(" " + argFormatter.GetFormattedArgument(Response, true));      //5
            arguments.Append(" " + argFormatter.GetFormattedArgument(Treatment, true));     //6
            arguments.Append(" " + argFormatter.GetFormattedArgument(ControlGroup, true));  //7
            arguments.Append(" " + argFormatter.GetFormattedArgument(Significance, false)); //8

            if (ChangeType == ChangeTypeOption.Percent)
            {
                arguments.Append(" " + "Percent");                                               //9
                arguments.Append(" " + argFormatter.GetFormattedArgument(PercentChange, false)); //10
            }
            else
            {
                arguments.Append(" " + "Absolute");                                               //9
                arguments.Append(" " + argFormatter.GetFormattedArgument(AbsoluteChange, false)); //10
            }

            if (PlottingRangeType == PlottingRangeTypeOption.SampleSize)
            {
                arguments.Append(" " + "SampleSize");                                      //11
                arguments.Append(" " + argFormatter.GetFormattedArgument(SampleSizeFrom)); //12
                arguments.Append(" " + argFormatter.GetFormattedArgument(SampleSizeTo));   //13
            }
            else
            {
                arguments.Append(" " + "PowerAxis");                                  //11
                arguments.Append(" " + argFormatter.GetFormattedArgument(PowerFrom)); //12
                arguments.Append(" " + argFormatter.GetFormattedArgument(PowerTo));   //13
            }

            arguments.Append(" " + argFormatter.GetFormattedArgument(GraphTitle, false)); //14

            return(arguments.ToString().Trim());
        }
Ejemplo n.º 6
0
        public override string GetCommandLineArguments()
        {
            ArgumentFormatter argFormatter = new ArgumentFormatter();
            StringBuilder     arguments    = new StringBuilder();

            //first thing to do is to assemble the model (use the GetModel method)
            arguments.Append(" " + argFormatter.GetFormattedArgument(GetModel(), true)); //4

            string scatterplotModel = argFormatter.GetFormattedArgument(Response + "~scatterPlotColumn", true);

            arguments.Append(" " + scatterplotModel); //5

            //assemble a model for the covariate plot (if a covariate has been chosen)...
            arguments.Append(" " + argFormatter.GetFormattedArgument(Covariates)); //6

            //get transforms
            arguments.Append(" " + argFormatter.GetFormattedArgument(ResponseTransformation, false));    //7

            arguments.Append(" " + argFormatter.GetFormattedArgument(CovariateTransformation, false));   //8

            arguments.Append(" " + argFormatter.GetFormattedArgument(PrimaryFactor, true));              //9

            arguments.Append(" " + argFormatter.GetFormattedArgument(Treatments));                       //10

            arguments.Append(" " + argFormatter.GetFormattedArgument(OtherDesignFactors));               //11

            arguments.Append(" " + argFormatter.GetFormattedArgument(EquivalenceBoundsType.ToString())); //12

            if (EquivalenceBoundsType == EquivalenceBoundsOption.Absolute)
            {
                arguments.Append(" " + argFormatter.GetFormattedArgument(LowerBoundAbsolute)); //13
                arguments.Append(" " + argFormatter.GetFormattedArgument(UpperBoundAbsolute)); //14
            }
            else
            {
                arguments.Append(" " + argFormatter.GetFormattedArgument(LowerBoundPercentageChange)); //13
                arguments.Append(" " + argFormatter.GetFormattedArgument(UpperBoundPercentageChange)); //14
            }

            arguments.Append(" " + argFormatter.GetFormattedArgument(PRPlotSelected));     //15
            arguments.Append(" " + argFormatter.GetFormattedArgument(NormalPlotSelected)); //16

            arguments.Append(" " + Significance);                                          //17

            //assemble the effect model
            if (String.IsNullOrEmpty(SelectedEffect)) //18, 19
            {
                arguments.Append(" " + "NULL");
                arguments.Append(" " + "NULL");
            }
            else
            {
                arguments.Append(" " + argFormatter.GetFormattedArgument(GetEffectModel(), true));
                arguments.Append(" " + argFormatter.GetFormattedArgument(SelectedEffect, true));
            }

            arguments.Append(" " + argFormatter.GetFormattedArgument(LSMeansSelected));           //20

            arguments.Append(" " + argFormatter.GetFormattedArgument(ComparisonType.ToString())); //21

            arguments.Append(" " + argFormatter.GetFormattedArgument(ControlGroup, false));       //22

            return(arguments.ToString().Trim());
        }
Ejemplo n.º 7
0
        public override string GetCommandLineArguments()
        {
            ArgumentFormatter argFormatter = new ArgumentFormatter();
            StringBuilder     arguments    = new StringBuilder();

            //first thing to do is to assemble the model (use the GetModel method)
            arguments.Append(" " + argFormatter.GetFormattedArgument(GetModel(), true)); //4

            string scatterplotModel = argFormatter.GetFormattedArgument(Response + "~scatterPlotColumn", true);

            arguments.Append(" " + scatterplotModel);                                  //5

            arguments.Append(" " + argFormatter.GetFormattedArgument(PositiveResult)); //6

            //assemble a model for the covariate plot (if a covariate has been chosen)...
            arguments.Append(" " + argFormatter.GetFormattedArgument(Covariates)); //7

            //get transforms
            arguments.Append(" " + argFormatter.GetFormattedArgument(CovariateTransformation, false));         //8

            arguments.Append(" " + argFormatter.GetFormattedArgument(Treatments));                             //9

            arguments.Append(" " + argFormatter.GetFormattedArgument(ContinuousFactors));                      //10

            arguments.Append(" " + argFormatter.GetFormattedArgument(ContinuousFactorsTransformation, false)); //11

            arguments.Append(" " + argFormatter.GetFormattedArgument(OtherDesignFactors));                     //12

            arguments.Append(" " + argFormatter.GetFormattedArgument(TableOfOverallEffectTests));              //13

            arguments.Append(" " + argFormatter.GetFormattedArgument(OddsRatio));                              //14

            arguments.Append(" " + argFormatter.GetFormattedArgument(ModelPredictionAssessment));              //15

            arguments.Append(" " + argFormatter.GetFormattedArgument(PlotOfModelPredicted));                   //16

            arguments.Append(" " + argFormatter.GetFormattedArgument(TableOfModelPredictions));                //17

            arguments.Append(" " + argFormatter.GetFormattedArgument(GoodnessOfFitTest));                      //18

            arguments.Append(" " + argFormatter.GetFormattedArgument(ROCCurve));                               //19

            arguments.Append(" " + Significance);                                                              //20

            return(arguments.ToString().Trim());
        }
        public override string GetCommandLineArguments()
        {
            ArgumentFormatter argFormatter = new ArgumentFormatter();
            StringBuilder     arguments    = new StringBuilder();

            //first thing to do is to assemble the model (use the GetModel method)
            arguments.Append(" " + argFormatter.GetFormattedArgument(Responses));                                 //4
            arguments.Append(" " + argFormatter.GetFormattedArgument(ResponseTransformation, false));             //5
            arguments.Append(" " + argFormatter.GetFormattedArgument(CategoricalPredictor, true));                //6
            arguments.Append(" " + argFormatter.GetFormattedArgument(ContinuousPredictors));                      //7
            arguments.Append(" " + argFormatter.GetFormattedArgument(CaseID, true));                              //8
            arguments.Append(" " + argFormatter.GetFormattedArgument(AnalysisType.ToString(), false));            //9
            arguments.Append(" " + argFormatter.GetFormattedArgument(NoOfClusters));                              //10
            arguments.Append(" " + argFormatter.GetFormattedArgument(DistanceMethod, false));                     //11
            arguments.Append(" " + argFormatter.GetFormattedArgument(AgglomerationMethod, false));                //12
            arguments.Append(" " + argFormatter.GetFormattedArgument(PlotLabel, false));                          //13
            arguments.Append(" " + argFormatter.GetFormattedArgument(NoOfComponents));                            //14
            arguments.Append(" " + argFormatter.GetFormattedArgument(ResponseCentring.Replace(' ', '_'), false)); //15
            arguments.Append(" " + argFormatter.GetFormattedArgument(ResponseScale.Replace(' ', '_'), false));    //16

            return(arguments.ToString().Trim());
        }