|
MCKL
Monte Carlo Kernel Library
|
Permutation test. More...
#include <mckl/random/permutation_test.hpp>
Inherits mckl::ChiSquaredTest< PermutationTest< T > >.
Public Member Functions | |
| PermutationTest (std::size_t n) | |
| Construct a Permutation test. More... | |
| double | degree_of_freedom () const |
| template<typename DistributionType > | |
| double | operator() (DistributionType &&distribution) |
| template<typename RNGType , typename DistributionType > | |
| double | operator() (RNGType &rng, DistributionType &distribution) |
Public Member Functions inherited from mckl::ChiSquaredTest< PermutationTest< T > > | |
| double | cdf (result_type s) const |
| bool | pass (double alpha, result_type s) const |
| double | pdf (result_type s) const |
Additional Inherited Members | |
Public Types inherited from mckl::ChiSquaredTest< PermutationTest< T > > | |
| using | result_type = double |
Protected Member Functions inherited from mckl::ChiSquaredTest< PermutationTest< T > > | |
| double | stat (std::size_t m, const double *count, const double *np) const |
| double | stat (std::size_t m, const double *count, double np) const |
Permutation test.
| T | Length of the tuple |
Definition at line 45 of file permutation_test.hpp.
|
inline |
Construct a Permutation test.
| n | The number of tuples |
Definition at line 55 of file permutation_test.hpp.
|
inline |
Definition at line 73 of file permutation_test.hpp.
|
inline |
Definition at line 57 of file permutation_test.hpp.
|
inline |
Definition at line 60 of file permutation_test.hpp.
1.8.13