|
Unity Scopes API
|
Implements different variants of the Student's T-test (see http://en.wikipedia.org/wiki/Student's_t-test) More...
#include <unity/scopes/testing/Statistics.h>
Classes | |
| struct | Result |
| Executing the test returns a set of hypothesis that have to be evaluated at the desired confidence level. More... | |
Public Member Functions | |
| Result | one_sample (const Sample &sample, Sample::ValueType mean, Sample::ValueType std_dev) |
| one_sample calculates the Student's T test for one sample and a known mean and std. dev.. More... | |
| Result | two_independent_samples (const Sample &sample1, const Sample &sample2) |
| two_independent_samples calculates the Student's T test for two samples More... | |
Implements different variants of the Student's T-test (see http://en.wikipedia.org/wiki/Student's_t-test)
| unity::scopes::testing::StudentsTTest::Result unity::scopes::testing::StudentsTTest::one_sample | ( | const Sample & | sample, |
| Sample::ValueType | mean, | ||
| Sample::ValueType | std_dev | ||
| ) |
one_sample calculates the Student's T test for one sample and a known mean and std. dev..
| sample | Sample of values. |
| mean | The known mean of the underlying distribution |
| std_dev | The known std. dev. of the underlying distribution |
| unity::scopes::testing::StudentsTTest::Result unity::scopes::testing::StudentsTTest::two_independent_samples | ( | const Sample & | sample1, |
| const Sample & | sample2 | ||
| ) |
two_independent_samples calculates the Student's T test for two samples
| sample1 | The first sample |
| sample2 | The second sample |