public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
        {
            this.Context = AnalysisStatisticContext;
            this.config  = Configuration.GetNewInstance();


            this.IdentifierList = this.Context.InputVariableList["IdentifierList"].Split(',');
            for (int i = 0; i < this.IdentifierList.Length; i++)
            {
                this.IdentifierList[i] = this.IdentifierList[i].Trim(new char[] { '[', ']' });
            }

            if (this.Context.InputVariableList.ContainsKey("StratvarList"))
            {
                this.StratvarList = this.Context.InputVariableList["StratvarList"].Split(',');
                for (int i = 0; i < this.StratvarList.Length; i++)
                {
                    this.StratvarList[i] = this.StratvarList[i].Trim(new char[] { '[', ']' });
                }
            }
            this.OutTable               = this.Context.InputVariableList["OutTable"];
            this.WeightVar              = this.Context.InputVariableList["WeightVar"];
            this.commandText            = this.Context.InputVariableList["commandText"];
            this.CurrentRead_Identifier = this.Context.InputVariableList["TableName"];
            this.commandText            = this.Context.InputVariableList["CommandText"];
        }
Example #2
0
        public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
        {
            this.Context = AnalysisStatisticContext;
            this.config = Configuration.GetNewInstance();

            this.Numeric_Variable = this.Context.InputVariableList["Numeric_Variable"].Trim(new char[] { '[', ']' });

            if (this.Context.InputVariableList["Cross_Tabulation_Variable"] != null)
            {
                this.Cross_Tabulation_Variable = this.Context.InputVariableList["Cross_Tabulation_Variable"].Trim(new char[] { '[', ']' });
            }

            if (this.Context.InputVariableList.ContainsKey("StratvarList"))
            {
                this.StratvarList = this.Context.InputVariableList["StratvarList"].Split(',');
                for (int i = 0; i < this.StratvarList.Length; i++)
                {
                    this.StratvarList[i] = this.StratvarList[i].Trim(new char[] { '[', ']' });
                }
            }
            if (this.Context.InputVariableList.ContainsKey("OutTable"))
            {
                this.OutTable = this.Context.InputVariableList["OutTable"];
            }
            if (this.Context.InputVariableList.ContainsKey("WeightVar"))
            {
                this.WeightVar = this.Context.InputVariableList["WeightVar"];
            }
            this.commandText = this.Context.InputVariableList["commandText"];

            this.commandText = this.Context.InputVariableList["CommandText"];
        }
Example #3
0
        public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
        {
            Context = AnalysisStatisticContext;
            aggregateList = Context.InputVariableList["AggregateList"].Split(',');

            if (Context.InputVariableList.ContainsKey("StratvarList"))
            {
                stratvarList = Context.InputVariableList["StratvarList"].Split(',');
            }
            string[]table = Context.InputVariableList["AggregateElementList"].Split(',');

            for(int i = 0; i < table.Length; i++)
            {
                string[] row = table[i].Split('=');
                aggregateElement.Add(row[0].Trim(), row[1].Replace(" ", "").Trim());
            }

            if (Context.InputVariableList.ContainsKey("ParticipatingVariableList"))
            {
                participatingVariableList.AddRange(Context.InputVariableList["ParticipatingVariableList"].Split(','));
            }

            outTableName = Context.InputVariableList["OutTable"];
            weightVar = Context.InputVariableList["WeightVar"];
            commandText = Context.InputVariableList["commandText"];
            currentRead_Identifier = Context.InputVariableList["TableName"];
            commandText = Context.InputVariableList["CommandText"];
        }
Example #4
0
        public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
        {
            Context       = AnalysisStatisticContext;
            aggregateList = Context.InputVariableList["AggregateList"].Split(',');

            if (Context.InputVariableList.ContainsKey("StratvarList"))
            {
                stratvarList = Context.InputVariableList["StratvarList"].Split(',');
            }
            string[] table = Context.InputVariableList["AggregateElementList"].Split(',');

            for (int i = 0; i < table.Length; i++)
            {
                string[] row = table[i].Split('=');
                aggregateElement.Add(row[0].Trim(), row[1].Replace(" ", "").Trim());
            }

            if (Context.InputVariableList.ContainsKey("ParticipatingVariableList"))
            {
                participatingVariableList.AddRange(Context.InputVariableList["ParticipatingVariableList"].Split(','));
            }

            outTableName           = Context.InputVariableList["OutTable"];
            weightVar              = Context.InputVariableList["WeightVar"];
            commandText            = Context.InputVariableList["commandText"];
            currentRead_Identifier = Context.InputVariableList["TableName"];
            commandText            = Context.InputVariableList["CommandText"];
        }
Example #5
0
        public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
        {
            this.Context = AnalysisStatisticContext;
            //AggregateElementList
            this.AggregateList = this.Context.InputVariableList["AggregateList"].Split(',');
            if (this.Context.InputVariableList.ContainsKey("StratvarList"))
            {
                this.StratvarList = this.Context.InputVariableList["StratvarList"].Split(',');
            }
            string[]table = this.Context.InputVariableList["AggregateElementList"].Split(',');
            for(int i = 0; i < table.Length; i++)
            {
                string[] row = table[i].Split('=');
                this.AggregateElement.Add(row[0].Trim(), row[1].Replace(" ","").Trim());
            }

            this.OutTable = this.Context.InputVariableList["OutTable"];
            this.WeightVar = this.Context.InputVariableList["WeightVar"];
            this.commandText = this.Context.InputVariableList["commandText"];
            this.CurrentRead_Identifier = this.Context.InputVariableList["TableName"];
            this.commandText = this.Context.InputVariableList["CommandText"];
        }
        public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
        {
            this.Context = AnalysisStatisticContext;
            //AggregateElementList
            this.AggregateList = this.Context.InputVariableList["AggregateList"].Split(',');
            if (this.Context.InputVariableList.ContainsKey("StratvarList"))
            {
                this.StratvarList = this.Context.InputVariableList["StratvarList"].Split(',');
            }
            string[] table = this.Context.InputVariableList["AggregateElementList"].Split(',');
            for (int i = 0; i < table.Length; i++)
            {
                string[] row = table[i].Split('=');
                this.AggregateElement.Add(row[0].Trim(), row[1].Replace(" ", "").Trim());
            }


            this.OutTable               = this.Context.InputVariableList["OutTable"];
            this.WeightVar              = this.Context.InputVariableList["WeightVar"];
            this.commandText            = this.Context.InputVariableList["commandText"];
            this.CurrentRead_Identifier = this.Context.InputVariableList["TableName"];
            this.commandText            = this.Context.InputVariableList["CommandText"];
        }
 public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     CSTables.Construct(AnalysisStatisticContext);
 }
 public ComplexSampleTables(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     CSTables = new StatisticsRepository.ComplexSampleTables();
     this.Construct(AnalysisStatisticContext);
 }
Example #9
0
        public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
        {
            Context = AnalysisStatisticContext;

            if (Context.InputVariableList.ContainsKey("Command_Text"))
            {
                _commandText = Context.InputVariableList["Command_Text"];
            }
            if (Context.InputVariableList.ContainsKey("Independent_Variable_List"))
            {
                _independentVariableList  = Context.InputVariableList["Independent_Variable_List"];
                _independentVariableArray = Context.InputVariableList["Independent_Variable_List"].Split(',');
            }
            if (Context.InputVariableList.ContainsKey("Cross_Tabulation_Variable"))
            {
                _graphCrossTab = Context.InputVariableList["Cross_Tabulation_Variable"];
            }
            if (this.Context.InputVariableList.ContainsKey("StrataVar"))
            {
                _strataVar = this.Context.InputVariableList["StrataVar"];
            }
            if (Context.InputVariableList.ContainsKey("Graph_Type"))
            {
                _graphType = Context.InputVariableList["Graph_Type"].ToUpperInvariant().Replace(" ", "").Replace("\"", "");
            }
            if (Context.InputVariableList.ContainsKey("Graph_Title"))
            {
                _graphTitle = Context.InputVariableList["Graph_Title"];
            }
            if (Context.InputVariableList.ContainsKey("Graph_Independent_Value_Axis_Label"))
            {
                _graphIndependentAxisLabel = Context.InputVariableList["Graph_Independent_Value_Axis_Label"];
            }
            if (Context.InputVariableList.ContainsKey("Graph_Dependent_Value_Axis_Label"))
            {
                _graphDependentAxisLabel = Context.InputVariableList["Graph_Dependent_Value_Axis_Label"];
            }
            if (Context.InputVariableList.ContainsKey("Weight_Variable"))
            {
                _weightVar = Context.InputVariableList["Weight_Variable"];
            }
            if (Context.InputVariableList.ContainsKey("Aggregate_Function"))
            {
                _aggregateFunction = Context.InputVariableList["Aggregate_Function"];
            }
            if (Context.InputVariableList.ContainsKey("Date_Format"))
            {
                _graphDateFormat = Context.InputVariableList["Date_Format"];
            }
            if (Context.InputVariableList.ContainsKey("Interval"))
            {
                _graphInterval = Context.InputVariableList["Interval"];
            }
            if (Context.InputVariableList.ContainsKey("Interval_Units"))
            {
                _graphIntervalUnits = Context.InputVariableList["Interval_Units"];
            }
            if (Context.InputVariableList.ContainsKey("Start_From"))
            {
                _graphStartFrom = DateTime.MinValue;
                string startFromDate = Context.InputVariableList["START_FROM"].Trim(new char[] { '"' });
                DateTime.TryParse(startFromDate, out _graphStartFrom);
            }
        }
Example #10
0
 public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     this.Context = AnalysisStatisticContext;
     mCoxPH       = new StatisticsRepository.EICoxProportionalHazards();
     mCoxPH.Construct(this.Context);
 }
Example #11
0
 public Match(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     this.Construct(AnalysisStatisticContext);
 }
 public LinearRegression(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     LinearRegress = new StatisticsRepository.LinearRegression();
     this.Construct(AnalysisStatisticContext);
 }
 public ComplexSampleMeans(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     CSMeans = new StatisticsRepository.ComplexSampleMeans();
     this.Construct(AnalysisStatisticContext);
 }
Example #14
0
 public Summarize(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     Construct(AnalysisStatisticContext);
 }
Example #15
0
 public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     this.Context = AnalysisStatisticContext;
     KMSurvival   = new StatisticsRepository.EIKaplanMeierSurvival();
     KMSurvival.Construct(this.Context);
 }
Example #16
0
 public KaplanMeierSurvival(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     this.Construct(AnalysisStatisticContext);
 }
 public Match(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     this.Construct(AnalysisStatisticContext);
 }
 public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     this.Context = AnalysisStatisticContext;
     KMSurvival = new StatisticsRepository.EIKaplanMeierSurvival();
     KMSurvival.Construct(this.Context);
 }
 public KaplanMeierSurvival(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     this.Construct(AnalysisStatisticContext);
 }
Example #20
0
 public LogisticRegression(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     LogisticRegress = new StatisticsRepository.LogisticRegression();
     this.Construct(AnalysisStatisticContext);
 }
Example #21
0
 public Frequency(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     this.Construct(AnalysisStatisticContext);
 }
Example #22
0
 public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     LogisticRegress.Construct(AnalysisStatisticContext);
 }
Example #23
0
 public Graph(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     Construct(AnalysisStatisticContext);
 }
 public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     CSMeans.Construct(AnalysisStatisticContext);
 }
 public Frequency(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     this.Construct(AnalysisStatisticContext);
 }
 public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     LinearRegress.Construct(AnalysisStatisticContext);
 }
Example #27
0
 public Graph(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     Construct(AnalysisStatisticContext);
 }
Example #28
0
 public Summarize(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     Construct(AnalysisStatisticContext);
 }
Example #29
0
 public CoxProportionalHazards(IAnalysisStatisticContext AnalysisStatisticContext)
 {
     this.Construct(AnalysisStatisticContext);
 }
Example #30
0
        public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
        {
            this.Context = AnalysisStatisticContext;
            this.config = Configuration.GetNewInstance();

            this.IdentifierList = this.Context.InputVariableList["IdentifierList"].Split(',');
            for (int i = 0; i < this.IdentifierList.Length; i++)
            {
                this.IdentifierList[i] = this.IdentifierList[i].Trim(new char[] { '[', ']' });
            }

            if (this.Context.InputVariableList.ContainsKey("StratvarList"))
            {
                this.StratvarList = this.Context.InputVariableList["StratvarList"].Split(',');
                for (int i = 0; i < this.StratvarList.Length; i++)
                {
                    this.StratvarList[i] = this.StratvarList[i].Trim(new char[] { '[', ']' });
                }
            }
            this.OutTable = this.Context.InputVariableList["OutTable"];
            this.WeightVar = this.Context.InputVariableList["WeightVar"];
            this.commandText = this.Context.InputVariableList["commandText"];
            this.CurrentRead_Identifier = this.Context.InputVariableList["TableName"];
            this.commandText = this.Context.InputVariableList["CommandText"];
        }
Example #31
0
        public void Construct(IAnalysisStatisticContext AnalysisStatisticContext)
        {
            Context = AnalysisStatisticContext;

            if (Context.InputVariableList.ContainsKey("Command_Text"))
            {
                _commandText = Context.InputVariableList["Command_Text"];
            }
            if (Context.InputVariableList.ContainsKey("Independent_Variable_List"))
            {
                _independentVariableList = Context.InputVariableList["Independent_Variable_List"];
                _independentVariableArray = Context.InputVariableList["Independent_Variable_List"].Split(',');
            }
            if (Context.InputVariableList.ContainsKey("Cross_Tabulation_Variable"))
            {
                _graphCrossTab = Context.InputVariableList["Cross_Tabulation_Variable"];
            }
            if (this.Context.InputVariableList.ContainsKey("StrataVar"))
            {
                _strataVar = this.Context.InputVariableList["StrataVar"];
            }
            if (Context.InputVariableList.ContainsKey("Graph_Type"))
            {
                _graphType = Context.InputVariableList["Graph_Type"].ToUpper().Replace(" ", "").Replace("\"", "");
            }
            if (Context.InputVariableList.ContainsKey("Graph_Title"))
            {
                _graphTitle = Context.InputVariableList["Graph_Title"];
            }
            if (Context.InputVariableList.ContainsKey("Graph_Independent_Value_Axis_Label"))
            {
                _graphIndependentAxisLabel = Context.InputVariableList["Graph_Independent_Value_Axis_Label"];
            }
            if (Context.InputVariableList.ContainsKey("Graph_Dependent_Value_Axis_Label"))
            {
                _graphDependentAxisLabel = Context.InputVariableList["Graph_Dependent_Value_Axis_Label"];
            }
            if (Context.InputVariableList.ContainsKey("Weight_Variable"))
            {
                _weightVar = Context.InputVariableList["Weight_Variable"];
            }
            if (Context.InputVariableList.ContainsKey("Aggregate_Function"))
            {
                _aggregateFunction = Context.InputVariableList["Aggregate_Function"];
            }
            if (Context.InputVariableList.ContainsKey("Date_Format"))
            {
                _graphDateFormat = Context.InputVariableList["Date_Format"];
            }
            if (Context.InputVariableList.ContainsKey("Interval"))
            {
                _graphInterval = Context.InputVariableList["Interval"];
            }
            if (Context.InputVariableList.ContainsKey("Interval_Units"))
            {
                _graphIntervalUnits = Context.InputVariableList["Interval_Units"];
            }
            if (Context.InputVariableList.ContainsKey("Start_From"))
            {
                _graphStartFrom = DateTime.MinValue;
                string startFromDate = Context.InputVariableList["START_FROM"].Trim(new char[]{'"'});
                DateTime.TryParse(startFromDate, out _graphStartFrom);
            }
        }