Skip to content

sam::RandomEffectEstimator

Module: Meta Analysis Methods

Random Effect Estimator. #include <MetaAnalysis.h>

Inherits from sam::MetaAnalysis

Public Classes

Name
struct Parameters
Parameters of the RandomEffectEstimator.
struct ResultType

Public Functions

Name
RandomEffectEstimator() =default
RandomEffectEstimator(const Parameters & p)
virtual void estimate(Journal * journal)
float DL(const arma::Row< float > & yi, const arma::Row< float > & vi, const arma::Row< float > & ai)
float PM(const arma::Row< float > & yi, const arma::Row< float > & vi, const float tau2)
ResultType RandomEffect(const arma::Row< float > & vi, const arma::Row< float > & yi, float tau2)

Public Attributes

Name
Parameters params

Additional inherited members

Public Functions inherited from sam::MetaAnalysis

Name
virtual ~MetaAnalysis() =0
std::unique_ptr< MetaAnalysis > build(std::string name)
std::unique_ptr< MetaAnalysis > build(const json & config)
std::vector< std::string > Columns(std::string name)

Public Functions Documentation

function RandomEffectEstimator

RandomEffectEstimator() =default

function RandomEffectEstimator

inline RandomEffectEstimator(
    const Parameters & p
)

function estimate

virtual void estimate(
    Journal * journal
)

Reimplements: sam::MetaAnalysis::estimate

function DL

float DL(
    const arma::Row< float > & yi,
    const arma::Row< float > & vi,
    const arma::Row< float > & ai
)

function PM

float PM(
    const arma::Row< float > & yi,
    const arma::Row< float > & vi,
    const float tau2
)

function RandomEffect

static ResultType RandomEffect(
    const arma::Row< float > & vi,
    const arma::Row< float > & yi,
    float tau2
)

Public Attributes Documentation

variable params

Parameters params;

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


Last update: 2021-09-18