unity.scopes.testing.AndersonDarlingTest

Implements the Anderson-Darling test for normality for the case of empirical mean and variance. 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 for_normality (const Sample &sample)
 for_normality evaluates a given sample to check if its underlying distribution is normal. More...
 

Detailed Description

Implements the Anderson-Darling test for normality for the case of empirical mean and variance.

Member Function Documentation

unity::scopes::testing::AndersonDarlingTest::Result unity::scopes::testing::AndersonDarlingTest::for_normality ( const Sample sample)

for_normality evaluates a given sample to check if its underlying distribution is normal.

Parameters
sampleThe sample to check.
Returns
A hypothesis containing the test statistics, can be evaluated at different confidence levels.