sam::TrimAndFill¶
Module: Meta Analysis Methods
Trim and Fill Publication Bias Test.
#include <MetaAnalysis.h>
Inherits from sam::MetaAnalysis
Public Classes¶
Name | |
---|---|
struct | Parameters Parameters of the TrimAndFill. |
struct | ResultType |
Public Functions¶
Name | |
---|---|
TrimAndFill() =default | |
TrimAndFill(const Parameters & p) | |
virtual void | estimate(Journal * journal) |
ResultType | TF(arma::Row< float > yi, arma::Row< float > vi, arma::Row< float > ni, const Parameters & params) |
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 TrimAndFill¶
TrimAndFill() =default
function TrimAndFill¶
inline TrimAndFill(
const Parameters & p
)
function estimate¶
virtual void estimate(
Journal * journal
)
Reimplements: sam::MetaAnalysis::estimate
function TF¶
static ResultType TF(
arma::Row< float > yi,
arma::Row< float > vi,
arma::Row< float > ni,
const Parameters & params
)
Determining the side
flip data if examining right side
sort data by increasing yi
centered values;
Todoties_method="first"); // ranked absolute centered values;
signed ranked centered values;
estimate the number of missing studies with the L0 estimator
estimate the number of missing studies with the Q0 estimator
round k0 and make sure that k0 is non-negative
---------------— Filling and estimating -------------—
if estimated number of missing studies is > 0
flip data back if side is right
create filled-in data set
apply limits if specified Todo: to be implemented
fit model with imputed data
Todoneed to be integrated!
Adjustment for p_k0
TodoThis imbue can be improved
TodoStill need to report the p_k0
Public Attributes Documentation¶
variable params¶
Parameters params;
Updated on 29 June 2021 at 16:13:47 CEST