Learn R Programming

psychmeta (version 1.0.2)

ma_d_order2: 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, conf_level = 0.95,
  cred_level = 0.8, conf_method = "t", cred_method = "t",
  var_unbiased = TRUE, hs_override = FALSE, data = NULL)

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.

conf_level

Confidence level to define the width of the confidence interval (default = .95).

cred_level

Credibility level to define the width of the credibility interval (default = .80).

conf_method

Distribution to be used to compute the width of confidence intervals. Available options are "t" for t distribution or "norm" for normal distribution.

cred_method

Distribution to be used to compute the width of credibility intervals. Available options are "t" for t distribution or "norm" for normal distribution.

var_unbiased

Logical scalar determining whether variances should be unbiased (TRUE) or maximum-likelihood (FALSE).

hs_override

When TRUE, this will override settings for conf_method (will set to "norm"), cred_method (will set to "norm"), and var_unbiased (will set to FALSE).

data

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

Value

An object of the classes psychmeta, ma_d_as_d, ma_order2, and ma_bb, ma_ic, and/or ma_ad.