Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double SignTest(TVec *Data, double Median, THypothesisResult &hRes, double &Signif, DewArray<double> &ConfInt, const THypothesisType hType = THypothesisType::htTwoTailed, const double Alpha = 0.05); | One or two-sample Sign test. |
| 2 | double SignTest(TVec *Data1, TVec *Data2, THypothesisResult &hRes, double &Signif, DewArray<double> &ConfInt, const THypothesisType hType = THypothesisType::htTwoTailed, const double Alpha = 0.05); | Performs paired Sign test. The routine tests the null hypothesis that Data1 and Data2 have equal median value. |
Overload 1: double SignTest(TVec *Data, double Median, THypothesisResult &hRes, double &Signif, DewArray<double> &ConfInt, const THypothesisType hType = THypothesisType::htTwoTailed, const double Alpha = 0.05);
One or two-sample Sign test.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Data | TVec * | |
| 2 | Median | double | |
| 3 | hRes | THypothesisResult & | |
| 4 | Signif | double & | |
| 5 | ConfInt | DewArray<double> & | |
| 6 | hType = THypothesisType::htTwoTailed | const THypothesisType | |
| 7 | Alpha = 0.05 | const double |
Remarks:
Performs one-sample Sign test by comparing Data median value with given Median. The null hypothesis is that Data median is equal to Median. Additional assumption is that underlying population is continuous.
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler
Overload 2: double SignTest(TVec *Data1, TVec *Data2, THypothesisResult &hRes, double &Signif, DewArray<double> &ConfInt, const THypothesisType hType = THypothesisType::htTwoTailed, const double Alpha = 0.05);
Performs paired Sign test. The routine tests the null hypothesis that Data1 and Data2 have equal median value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Data1 | TVec * | First set of data from which to compute the median. |
| 2 | Data2 | TVec * | Second set of data from which to compute the median. |
| 3 | hRes | THypothesisResult & | Returns the result of the null hypothesis (default assumption is that the means are equal). |
| 4 | Signif | double & | (Significance level) returns the probability of observing the given result by chance given that the null hypothesis is true. |
| 5 | ConfInt | DewArray<double> & | Returns the 100*(1-Alpha) percent confidence interval for the mean. |
| 6 | hType = THypothesisType::htTwoTailed | const THypothesisType | Defines the type of the null hypothesis (left, right and two - tailed). |
| 7 | Alpha = 0.05 | const double | Defines the desired significance level. If the significance probability (Signif) is bellow the desired significance (Alpha), the null hypothesis is rejected. |
Returns: The Sign test statistics.
See Also: Statistics::WilcoxonSign
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler