NMath Reference Guide

## One |

Class OneSampleAndersonDarlingTest performs a Anderson-Darling test of the distribution of
one sample.

Inheritance Hierarchy

Syntax

The OneSampleAndersonDarlingTest type exposes the following members.

Constructors

Name | Description | |
---|---|---|

OneSampleAndersonDarlingTest | Default constructor. Constructs an empty OneSampleAndersonDarlingTest instance. | |

OneSampleAndersonDarlingTest(Double) | Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown. | |

OneSampleAndersonDarlingTest(DoubleVector) | Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown. | |

OneSampleAndersonDarlingTest(IDFColumn) | Constructs a OneSampleAndersonDarlingTest from the given sample data where the population mean and population standard deviation are unknown. | |

OneSampleAndersonDarlingTest(Int32) | ||

OneSampleAndersonDarlingTest(Double, Double) | ||

OneSampleAndersonDarlingTest(DoubleVector, Double) | ||

OneSampleAndersonDarlingTest(IDFColumn, Double) | ||

OneSampleAndersonDarlingTest(Int32, Double) |

Properties

Name | Description | |
---|---|---|

Alpha | Gets and sets the alpha level associated with this hypothesis test. | |

DefaultAlpha | Default alpha level | |

Error | Error message if the Anderson-Darling test fails on the provided data | |

IsGood | If the test statistic cannot be derived then IsGood is set to false. Otherwise, IsGood is true. | |

N | Gets the sample size. | |

P | Gets the p-value associated with the test statistic. | |

Reject | Tests whether the null hypothesis can be rejected using the current alpha level. | |

S | Sample standard deviation. | |

Statistic | Test statistic associated with this hypothesis test (A). | |

StatisticStar | Modified Anderson Darling statistic used to derive P (A*) | |

Xbar | Sample mean. |

Methods

Name | Description | |
---|---|---|

Clone | Creates a deep copy of this OneSampleAndersonDarlingTest. | |

ToString |
Returns a formatted string representation of the test results.
(Overrides ObjectToString) | |

Update(Double) | Updates this test with new sample data. | |

Update(DoubleVector) | Updates this test with the established parameters. | |

Update(IDFColumn) | Updates this test with new sample data. | |

Update(Int32) | Updates this test with new sample data. |

Remarks

Class OneSampleAndersonDarlingTest compares the distribution of a given sample to normal distribution function
(CDF). The alternative hypothesis that the data do not have
a normal distribution.

See Also