statcpp
C++17 Header-Only Statistics Library
Loading...
Searching...
No Matches
Public Attributes | List of all members
statcpp::permutation_result Struct Reference

Structure to store permutation test results. More...

#include <resampling.hpp>

Public Attributes

double observed_statistic
 Observed test statistic.
 
double p_value
 Two-sided p-value.
 
std::size_t n_permutations
 Number of permutations performed.
 
std::vector< double > permutation_distribution
 Distribution of permutation statistics.
 

Detailed Description

Structure to store permutation test results.

Holds the observed statistic, p-value, number of permutations, and permutation distribution from the permutation test.

Definition at line 422 of file resampling.hpp.

Member Data Documentation

◆ n_permutations

std::size_t statcpp::permutation_result::n_permutations

Number of permutations performed.

Definition at line 425 of file resampling.hpp.

◆ observed_statistic

double statcpp::permutation_result::observed_statistic

Observed test statistic.

Definition at line 423 of file resampling.hpp.

◆ p_value

double statcpp::permutation_result::p_value

Two-sided p-value.

Definition at line 424 of file resampling.hpp.

◆ permutation_distribution

std::vector<double> statcpp::permutation_result::permutation_distribution

Distribution of permutation statistics.

Definition at line 426 of file resampling.hpp.


The documentation for this struct was generated from the following file: