ma_r_order2 | R Documentation |
This function computes second-order meta-analysis function for correlations. It supports second-order analyses of bare-bones, artifact-distribution, and individual-correction meta-analyses.
ma_r_order2(
k,
N = NULL,
r = NULL,
rho = NULL,
var_r = NULL,
var_r_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(),
...
)
k |
Vector or column name of meta-analyses' k values. |
N |
Vector or column name of meta-analyses' total sample sizes (optional). |
r |
Vector or column name of mean observed correlations. |
rho |
Vector or column name of mean corrected correlations. |
var_r |
Vector or column name of observed variances of observed correlations. |
var_r_c |
Vector or column name of observed variances of corrected correlations. |
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 |
... |
Further arguments to be passed to functions called within the meta-analysis. |
A nested tabular object of the class "ma_psychmeta".
## Analysis of the validity of conscientiousness as a predictor of job performance in East Asia
out <- ma_r_order2(k = k, r = r_bar_i, rho = rho_bar_i, var_r = var_r,
var_r_c = NULL, ma_type = c("bb", "ad"),
sample_id = NULL, moderators = NULL,
construct_x = NULL, construct_y = NULL,
data = dplyr::filter(data_r_oh_2009, Predictor == "Conscientiousness"))
summary(out)
## Analysis of the validity of the Big Five traits as predictors of job performance in East Asia
out <- ma_r_order2(k = k, r = r_bar_i, rho = rho_bar_i, var_r = var_r,
var_r_c = NULL, ma_type = c("bb", "ad"),
sample_id = NULL, moderators = NULL, construct_x = Predictor,
data = data_r_oh_2009)
summary(out)
## Analysis of the average validity of the Big Five traits as predictors of
## job performance by Eastern Asian country
out <- ma_r_order2(k = k, r = r_bar_i, rho = rho_bar_i, var_r = var_r,
var_r_c = NULL, ma_type = c("bb", "ad"),
sample_id = NULL, moderators = "Country", data = data_r_oh_2009)
summary(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.