ma_d_order2: Second-order meta-analysis function for _d_ values

View source: R/ma_d_order2.R

ma_d_order2R Documentation

Second-order meta-analysis function for d values

Description

This function computes second-order meta-analysis function for d values. It supports second-order analyses of bare-bones, artifact-distribution, and individual-correction meta-analyses.

Usage

ma_d_order2(
  k,
  N = NULL,
  d = NULL,
  delta = NULL,
  var_d = NULL,
  var_d_c = NULL,
  ma_type = c("bb", "ic", "ad"),
  sample_id = NULL,
  citekey = NULL,
  moderators = NULL,
  moderator_type = "simple",
  construct_x = NULL,
  construct_y = NULL,
  construct_order = NULL,
  data = NULL,
  control = control_psychmeta(),
  ...
)

Arguments

k

Vector or column name of meta-analyses' k values.

N

Vector or column name of meta-analyses' total sample sizes (optional).

d

Vector or column name of mean observed d values.

delta

Vector or column name of mean corrected d values.

var_d

Vector or column name of observed variances of observed d values.

var_d_c

Vector or column name of observed variances of corrected d values.

ma_type

Type of meta-analyses being analyzed: "bb" (barebones), "ic" (individual correction), or "ad" (artifact distribution).

sample_id

Vector or column name of study ID labels.

citekey

Optional vector of bibliographic citation keys for samples/studies in the meta-analysis (if multiple citekeys pertain to a given effect size, combine them into a single string entry with comma delimiters (e.g., "citkey1,citekey2").

moderators

Matrix or column names of moderator variables to be used in the meta-analysis (can be a vector in the case of one moderator).

moderator_type

Type of moderator analysis ("none", "simple", or "hierarchical").

construct_x

Vector or column name of construct names for X.

construct_y

Vector or column name of construct names for Y.

construct_order

Vector indicating the order in which variables should be arranged, with variables listed earlier in the vector being preferred for designation as X.

data

Data frame containing columns whose names may be provided as arguments to vector arguments and/or moderators.

control

Output from the control_psychmeta() function or a list of arguments controlled by the control_psychmeta() function. Ellipsis arguments will be screened for internal inclusion in control.

...

Further arguments to be passed to functions called within the meta-analysis.

Value

A nested tabular object of the class "ma_psychmeta".


jadahlke/psychmeta documentation built on Feb. 11, 2024, 9:15 p.m.