double FTest(TVec *Data1, TVec *Data2, THypothesisResult &hRes, double &Signif, DewArray<double> &ConfInt, THypothesisType hType = THypothesisType::htTwoTailed, double Alpha = 0.05);
F Test.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Data1 | TVec * | First data set from which to compute standard deviation. |
| 2 | Data2 | TVec * | Second data set from which to compute standard deviation. |
| 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 | THypothesisType | Defines the type of the null hypothesis (left, right and two - tailed). |
| 7 | Alpha = 0.05 | double | Defines the desired significance level. If the significance probability (Signif) is bellow the desired significance (Alpha), the null hypothesis is rejected. |
Returns: The F-test statistics.
Remarks:
Performs F-Test by comparing Data1 and Data2 standard deviations.
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler