Skip to content

sam::YuenTest

Module: Test Strategies

Inherits from sam::TestStrategy

Public Classes

Name
struct Parameters
struct ResultType

Public Functions

Name
YuenTest(const Parameters & p)
virtual void run(Experiment * experiment) override
virtual void run(DependentVariable & group_1, DependentVariable & group_2) override
ResultType yuen_t_test_one_sample(const arma::Row< float > & x, float alpha, const TestStrategy::TestAlternative alternative, float trim, float mu)
ResultType yuen_t_test_paired(const arma::Row< float > & x, const arma::Row< float > & y, float alpha, const TestStrategy::TestAlternative alternative, float trim, float mu)
ResultType yuen_t_test_two_samples(const arma::Row< float > & x, const arma::Row< float > & y, float alpha, const TestStrategy::TestAlternative alternative, float trim, float mu)

Public Attributes

Name
Parameters params

Additional inherited members

Public Types inherited from sam::TestStrategy

Name
enum TestMethod
enum TestAlternative

Public Functions inherited from sam::TestStrategy

Name
virtual ~TestStrategy() =0
virtual float alpha()
std::unique_ptr< TestStrategy > build(json & test_strategy_config)

Public Attributes inherited from sam::TestStrategy

Name
float alpha_

Public Functions Documentation

function YuenTest

inline YuenTest(
    const Parameters & p
)

function run

virtual void run(
    Experiment * experiment
) override

Reimplements: sam::TestStrategy::run

function run

inline virtual void run(
    DependentVariable & group_1,
    DependentVariable & group_2
) override

Reimplements: sam::TestStrategy::run

function yuen_t_test_one_sample

static ResultType yuen_t_test_one_sample(
    const arma::Row< float > & x,
    float alpha,
    const TestStrategy::TestAlternative alternative,
    float trim,
    float mu
)

function yuen_t_test_paired

static ResultType yuen_t_test_paired(
    const arma::Row< float > & x,
    const arma::Row< float > & y,
    float alpha,
    const TestStrategy::TestAlternative alternative,
    float trim,
    float mu
)

function yuen_t_test_two_samples

static ResultType yuen_t_test_two_samples(
    const arma::Row< float > & x,
    const arma::Row< float > & y,
    float alpha,
    const TestStrategy::TestAlternative alternative,
    float trim,
    float mu
)

Public Attributes Documentation

variable params

Parameters params;

Updated on 29 June 2021 at 16:13:48 CEST


Last update: 2021-09-18