LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::sim::ShapiroWilkResult< T > Struct Template Reference

Outcome of the Shapiro-Wilk normality test. More...

#include <line/api/sim/sim_shapirowilk.h>

Collaboration diagram for line::sim::ShapiroWilkResult< T >:

Public Attributes

W
 The Shapiro-Wilk statistic.
double pvalue = 1.0
 p-value, small means normality is rejected
double zscore = 0.0
 Normalized statistic, NaN when n = 3.
bool reject = false
 True when pvalue < alpha.
std::size_t nobs = 0
 Number of observations n.

Detailed Description

template<class T>
struct line::sim::ShapiroWilkResult< T >

Outcome of the Shapiro-Wilk normality test.

Definition at line 53 of file sim_shapirowilk.h.

Member Data Documentation

◆ nobs

template<class T>
std::size_t line::sim::ShapiroWilkResult< T >::nobs = 0

Number of observations n.

Definition at line 58 of file sim_shapirowilk.h.

Referenced by line::sim::sim_shapirowilk().

◆ pvalue

template<class T>
double line::sim::ShapiroWilkResult< T >::pvalue = 1.0

p-value, small means normality is rejected

Definition at line 55 of file sim_shapirowilk.h.

Referenced by line::sim::sim_shapirowilk().

◆ reject

template<class T>
bool line::sim::ShapiroWilkResult< T >::reject = false

True when pvalue < alpha.

Definition at line 57 of file sim_shapirowilk.h.

Referenced by line::sim::sim_shapirowilk().

◆ W

template<class T>
T line::sim::ShapiroWilkResult< T >::W

The Shapiro-Wilk statistic.

Definition at line 54 of file sim_shapirowilk.h.

Referenced by line::sim::sim_shapirowilk().

◆ zscore

template<class T>
double line::sim::ShapiroWilkResult< T >::zscore = 0.0

Normalized statistic, NaN when n = 3.

Definition at line 56 of file sim_shapirowilk.h.

Referenced by line::sim::sim_shapirowilk().


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