// // CONSTRUCTORS public T_Value(bool isPrimitive) : base( isPrimitive, typeof(T_Value), "T_Value", "t", "s" ) { T_Table = FetchT_Table(); if (isPrimitive) { return; } // Associated Data SegmentsTitles.Add("From Sample"); SegmentsTitles.Add("From DataSet"); Expression[] secondSegment = new Expression[4]; secondSegment[0] = new PopulationMean(); secondSegment[1] = new Sample_Mean(false); secondSegment[2] = new Sample_SD(false); secondSegment[3] = new Sample_Size(false); Expression[] thirdSegment = new Expression[2]; thirdSegment[0] = new PopulationMean(); thirdSegment[1] = new DataSet(); SubExpressions.Add(secondSegment); SubExpressions.Add(thirdSegment); }
// Binomial Randon Variable public Binomial_RV() : base() { Expression[] firstSegment = new Expression[3]; firstSegment[0] = new Sample_Size(true); firstSegment[1] = new Probability(true); firstSegment[2] = new Specific_Number(); SubExpressions.Add(firstSegment); }