Learn R Programming

⚠️There's a newer version (2.7.0) of this package.Take me there.

README

Version Information

  • psychmeta R package
  • Version 0.2.2

Authors

  • Jeffrey A. Dahlke
  • Brenton M. Wiernik

Contributors

  • Michael T. Brannick
  • Jack Kostal
  • Sean Potter
  • Yuejia (Mandy) Teng

The psychmeta package provides tools for computing bare-bones and psychometric meta-analyses and for generating psychometric data for use in meta-analysis simulations. Currently, the package supports bare-bones, individual-correction, and artifact-distribution methods for meta-analyzing correlations and d values.

Copy Link

Version

Install

install.packages('psychmeta')

Monthly Downloads

628

Version

0.2.4

License

GPL (>= 3)

Maintainer

Jeffrey A. Dahlke

Last Published

March 21st, 2018

Functions in psychmeta (0.2.4)

adjust_n_r

Adjusted sample size for a non-Pearson correlation coefficient for use in a meta-analysis of Pearson correlations
anova.lm_mat

Anova method for objects of the class "lm_mat"
anova.summary_lm_mat

Anova method for objects of the class "summary_lm_mat"
composite_d_matrix

Matrix formula to estimate the standardized mean difference associated with a weighted or unweighted composite variable
adjust_n_d

Adjusted sample size for a non-Cohen d value for use in a meta-analysis of Cohen's d values
composite_d_scalar

Scalar formula to estimate the standardized mean difference associated with a composite variable
add_commas

Add commas to integers Add commas to integers (e.g., convert "1000000" to "1,000,000")
check_wt_type

Check whether wt_type argument is valid and determine which package to use for weights
composite_r_matrix

Matrix formula to estimate the correlation between two weighted or unweighted composite variables
clean_warning

Clean warnings and remove warnings present in the environment before running the function of interest
compute_alpha

Compute coefficient alpha
composite_rel_matrix

Matrix formula to estimate the reliability of a weighted or unweighted composite variable
composite_r_scalar

Scalar formula to estimate the correlation between a composite and another variable or between two composite variables
composite_rel_scalar

Scalar formula to estimate the reliability of a composite variable
compute_dmod

Comprehensive \(d_{Mod}\) calculator
compute_dmod_par

Function for computing parametric \(d_{Mod}\) effect sizes for any number of focal groups
composite_u_matrix

Matrix formula to estimate the u ratio of a composite variable
confidence

Construct a confidence interval
confidence_r

Construct a confidence interval for correlations using Fisher's z transformation
compute_dmod_npar

Function for computing non-parametric \(d_{Mod}\) effect sizes for a single focal group
composite_u_scalar

Scalar formula to estimate the u ratio of a composite variable
convert_sdd_to_sdr

Convert the SD of d to the SD of r via TSA
confint.lm_mat

Confidence interval method for objects of the class "lm_mat"
convert_pq_to_p

Convert the variance of a dichotomous variable (i.d., pq) to the proportion of one of the categories in the variable (i.e., p)
confint.summary_lm_mat

Confidence interval method for objects of the class "summary_lm_mat"
convert_sdr_to_sdd

Convert the SD of r to the SD of d via TSA
convert_reltype2consistency

Convert string variable containing reliability type indicators to a logical variable indicating whether a reliability value is an internal-consistency estimate or a multiple-administration estimate
convert_consistency2reltype

Convert logical variable indicating whether a reliability value is an internal-consistency estimate or a multiple-administration estimate to a string variable of generic reliability types
correct_r_bias

Correct correlations for small-sample bias
convert_es

Convert effect sizes and compute confidence intervals
correct_glass_bias

Correct for small-sample bias in Glass' \(\Delta\) values
correct_r_bvdrr

Correct correlations for bivariate direct range restriction and measurement error
convert_vard_to_varr

Convert the variance of d to the variance of r via TSA
correct_means_mvrr

Multivariate select/correction for vectors of means
correct_matrix_mvrr

Multivariate select/correction for covariance matrices
convert_varr_to_vard

Convert the variance of r to the variance of d via TSA
correct_r

Correct correlations for range restriction and/or measurement error
correct_d

Correct d values for range restriction and/or measurement error
correct_r_bvirr

Correct correlations for bivariate indirect range restriction and measurement error
correct_d_bias

Correct for small-sample bias in Cohen's d values
create_ad_array

Create an array of all possible combinations of artifact values from 2-4 artifact distributions
convert_ma

Function to convert meta-analysis of correlations to d values or vice-versa
correct_r_uvirr

Correct correlations for Case IV indirect range restriction and measurement error
create_ad

Generate an artifact distribution object for use in artifact-distribution meta-analysis programs.
correct_r_uvdrr

Correct correlations for Case II direct range restriction and measurement error
correct_r_meas

Correct correlations for measurement error
correct_r_split

Correct correlations for uneven/unrepresentative splits
create_ad_int

Generate an artifact distribution object for use in interactive artifact-distribution meta-analysis programs.
correct_r_dich

Correct correlations for artifical dichotomization of one or both variables
data_r_gonzalezmule_2014

Meta-analysis of OCB correlations with other constructs
create_ad_group

Generate an artifact distribution object for a dichotomous grouping variable.
correct_r_coarseness

Correct correlations for scale coarseness
credibility

Construct a credibility interval
data_d_meas_multi

Hypothetical d value dataset simulated to statisfy the assumptions of the correction for measurement error only in multiple constructs
data_r_bvdrr

Hypothetical dataset simulated to statisfy the assumptions of the bivariate correction for direct range restriction
data_r_uvirr

Hypothetical dataset simulated to statisfy the assumptions of the univariate correction for indirect range restriction
data_r_oh_2009

Second order meta-analysis of operational validities of big five personality measures across East Asian countries
create_ad_tsa

Generate an artifact distribution object for use in interactive artifact-distribution meta-analysis programs.
data_d_bb_multi

Hypothetical d value dataset simulated with sampling error only
data_r_roth_2015

Artifact-distribution meta-analysis of the correlation between school grades and cognitive ability
data_r_bvirr

Hypothetical dataset simulated to statisfy the assumptions of the bivariate correction for indirect range restriction
create_ad_tsa_group

Generate an artifact distribution object for a dichotomous grouping variable for use in Taylor series artifact-distribution meta-analysis programs.
estimate_artifacts

Estimation of applicant and incumbent reliabilities and of true- and observed-score u ratios
create_ad_int_group

Generate an artifact distribution object for a dichotomous grouping variable for use in interactive artifact-distribution meta-analysis programs.
estimate_length_sb

Inverse Spearman-Brown formula to estimate the amount by which a measure would have to be lengthened or shorted to achieve a desired level of reliability
estimate_rel_dist

Estimate descriptive statistics of reliabilities
data_r_mcdaniel_1994

Artifact-distribution meta-analysis of the validity of interviews
estimate_var_rho_int

Non-linear estimate of variance of \(\rho\) corrected for psychometric artifacts using numeric integration
filter_r

Filter to detect and remove impossible values in vectors of correlations and sample sizes.
estimate_u

Estimate u ratios from available artifact information
data_r_mcleod_2007

Bare-bones meta-analysis of parenting and childhood depression
estimate_rel_sb

Spearman-Brown prophecy formula to estimate the reliability of a lengthened measure
estimate_var_rho_tsa

Taylor Series Approximation of variance of \(\rho\) corrected for psychometric artifacts
estimate_prod

Estimation of statistics computed from products of random, normal variables
data_r_uvdrr

Hypothetical dataset simulated to statisfy the assumptions of the univariate correction for direct range restriction
estimate_q_dist

Estimate descriptive statistics of square-root reliabilities
data_r_meas

Hypothetical dataset simulated to statisfy the assumptions of the correction for measurement error only
estimate_var_artifacts

Taylor series approximations for the variances of estimates artifact distributions.
data_r_meas_multi

Hypothetical correlation dataset simulated to statisfy the assumptions of the correction for measurement error only in multiple constructs
filter_rel

Filter to remove impossible values from vectors of reliabilities and corresponding weights.
interval_warning

Warning message for the widths of uncertainty intervals
format_wide

Create wide-format datasets in simulate_r_database
heterogeneity

Supplemental heterogeneity statistics for meta-analyses
limits_tau

Confidence limits of tau
generate_directory

Generate a system of folders from a file path to a new directory
ma_d_ad

Artifact-distribution meta-analysis of d values
impute_artifacts

Impute missing and impossible artifact values
ma_d

Master framework for meta-analysis of d values
format_long

Create long-format datasets in simulate_r_database
filter_u

Filter to remove impossible values from vectors of u ratios and corresponding weights.
ma_generic

Bare-bones meta-analysis of generic effect sizes
ma_r_ad.int_bvdrr

Interactive artifact-distribution meta-analysis correcting for Case V indirect range restriction and measurement error
ma_r_ad

Artifact-distribution meta-analysis of correlations
ma_d_order2

Second-order meta-analysis function for d values
ma_r_ad.int_none

Null artifact distribution result: No corrections performed
ma_r_ad.int_meas

Interactive artifact-distribution meta-analysis correcting for measurement error
ma_d_bb

Bare-bones meta-analysis of d values
ma_r_ad.tsa_bvdrr

Taylor series approximation artifact-distribution meta-analysis correcting for Case V indirect range restriction and measurement error
ma_d_ic

Individual-correction meta-analysis of d values
ma_r_ad.tsa_bvirr

Taylor series approximation artifact-distribution meta-analysis correcting for Case V indirect range restriction and measurement error
ma_r_ad.int_bvirr

Interactive artifact-distribution meta-analysis correcting for Case V indirect range restriction and measurement error
ma_r_ad.int_rbAdj

Interactive artifact-distribution meta-analysis correcting for Case II direct range restriction and measurement error
ma_r_ad.tsa_rb1Orig

Taylor series approximation artifact-distribution meta-analysis correcting for Raju and Burke's case 1 direct range restriction and measurement error
ma_r_ad.tsa_rb2Adj

Taylor series approximation artifact-distribution meta-analysis correcting for Raju and Burke's case 2 direct range restriction and measurement error
ma_r

Master framework for meta-analysis of correlations
ma_r_ad.int_rbOrig

Interactive artifact-distribution meta-analysis correcting for Case II direct range restriction and measurement error
matreg

Compute linear regression models and generate "lm" objects from covariance matrices.
ma_r_ad.tsa_rb2Orig

Taylor series approximation artifact-distribution meta-analysis correcting for Raju and Burke's case 2 direct range restriction and measurement error
ma_r_ad.int_uvdrr

Interactive artifact-distribution meta-analysis correcting for Case II direct range restriction and measurement error
ma_r_ad.tsa_uvdrr

Taylor series approximation artifact-distribution meta-analysis correcting for Case II direct range restriction and measurement error
merge_simdat_d

Merge multiple "simdat_d" class objects
merge_simdat_r

Merge multiple "simdat_r" class objects
ma_r_ic

Individual-correction meta-analysis of correlations
ma_r_ad.int_uvirr

Interactive artifact-distribution meta-analysis correcting for Case IV indirect range restriction and measurement error
ma_r_order2

Second-order meta-analysis function for correlations
metabulate

Write a summary table of meta-anlytic results
ma_r_ad.tsa_meas

Taylor series approximation artifact-distribution meta-analysis correcting for measurement error
mix_r_2group

Estimate the mixture correlation for two groups
print.psychmeta.correct_d

print method for d values corrected for artifacts
print.psychmeta.describe_simdat_r

print method for simulated psychometric studies
mix_matrix

Estimate mixture covariance matrix from within-group covariance matrices
ma_r_ad.tsa_rb1Adj

Taylor series approximation artifact-distribution meta-analysis correcting for Raju and Burke's case 1 direct range restriction and measurement error
print.psychmeta.correct_r

print method for correlations corrected for artifacts
print.psychmeta.dmod

print method for dmod effect sizes
predict.lm_mat

Prediction method for objects of the class "lm_mat"
ma_wrapper

Wrapper function to compute meta-analytic results for all analyses.
print.lm_mat

Print method for objects of the class "lm_mat "
print.psychmeta

Master print method for objects of the 'psychmeta' class
print.psychmeta.ma_r.ad

print method for artifact-distribution meta-analyses of correlations
predict.summary_lm_mat

Prediction method for objects of the class "summary_lm_mat"
manage_arglength

Check the length of x against the length of y and replicate z if necessary
print.psychmeta.ad_int

print method for interactive artifact distributions
metareg

Compute meta-regressions
print.psychmeta.ma_r.ad.master

print method for artifact-distribution meta-analyses of correlations
print.psychmeta.heterogeneity

print method for heterogeneity statistics
print.psychmeta.ad_tsa

print method for Taylor series artifact distributions
ma_r_ad.tsa_uvirr

Taylor series approximation artifact-distribution meta-analysis correcting for Case II direct range restriction and measurement error
mix_dist

Descriptive statistics for a mixture distribution
print.psychmeta.simdat_r

print method for simulated psychometric studies
print.psychmeta.ma_d.ic

print method for individual-correction meta-analyses of d values
print.psychmeta.ma_d.order2

print method for second-order meta-analyses of d values
print.psychmeta.simulate_d

print method for simulated psychometric studies
ma_r_bb

Bare-bones meta-analysis of correlations
print.psychmeta.ma_d.ic.master

print method for individual-correction meta-analyses of correlations
print.psychmeta.ma_generic

print method for bare-bones meta-analyses of correlations
print.summary_lm_mat

Print method for objects of the class "summary_lm_mat "
organize_database

Organize a database of multi-construct or moderated information
print.psychmeta.ma_r.barebones

print method for bare-bones meta-analyses of correlations
print.psychmeta.es

print method for effect sizes and converted effect sizes
psychmeta-package

psychmeta: Psychometric meta-analysis toolkit
print.psychmeta.ma_r.barebones.master

print method for bare-bones meta-analyses of correlations
organize_moderators

Organization of moderator data for use in meta-analyses
print.psychmeta.simulate_psych

print method for simulated psychometric studies
reshape_vec2mat

Assemble a variance-covariance matrix
print.psychmeta.simulate_r

print method for simulated psychometric studies
screen_ad_int

Screen to detect invalid interactive artifact distribution objects
reshape_wide2long

Reshape database from wide format to long format
print.psychmeta.ma_r.ic

print method for individual-correction meta-analyses of correlations
round2char

Round numeric values to an exact number of digits and return as a character
screen_ad_tsa

Screen to detect invalid Taylor series artifact distribution objects
scalar_arg_warning

Warning message for scalar arguments receiving multiple values
record_warnings

Summary of warning messages generated within a function
print.psychmeta.ma_r.ic.master

print method for individual-correction meta-analyses of correlations
reshape_mat2dat

Extract a long-format correlation database from a correlation matrix and its supporting vectors/matrices of variable information
simulate_psych

Simulate Monte Carlo psychometric data (observed, true, and error scores)
print.psychmeta.ma_d.ad

print method for artifact-distribution meta-analyses of d values
simulate_r_database

Simulate correlation databases of primary studies
screen_u

Screen to detect impossible values in vectors of u ratios.
print.psychmeta.ma_d.ad.master

print method for artifact-distribution meta-analyses of correlations
simulate_d_sample

Simulate a sample of psychometric d value data with measurement error, direct range restriction, and/or indirect range restriction
sensitivity

Sensitivity analyses for meta-analyses
summary.lm_mat

Summary method for objects of the class "lm_mat"
screen_r

Screen to detect impossible values in vectors of correlations and sample sizes.
truncate_dist

Truncation function for normal distributions (truncates both mean and variance)
print.psychmeta.ma_r.order2

print method for second-order meta-analyses of correlations
simulate_matrix

Generate a list of simulated sample matrices sampled from the Wishart distribution
screen_rel

Screen to detect impossible values in vectors of reliability estimates.
var_error_r

Estimate the error variance of correlations
print.psychmeta.simdat_d

print method for simulated psychometric studies
truncate_mean

Truncation function for means
var_error_r_bvirr

Taylor series approximation of the sampling variance of correlations corrected using the Case V correction for indirect range restriction
sparsify_simdat_r

Create sparse artifact information in a "simdat_r" class object
var_error_rel

Estimate the error variance of reliability estimates
truncate_var

Truncation function for variances
var_error_u

Estimate the error variance of u ratios
var_error_d

Estimate the error variance Cohen's d values
summarize_ads

Summarize artifact information from meta-analyses into table format
simulate_r_sample

Simulation of data with measurement error and range-restriction artifacts
var_error_delta

Estimate the error variance of Glass' delta values
var_error_A

Estimate the error variance of the probability-based effect size (A, AUC, the common language effect size [CLES])
sparsify_simdat_d

Create sparse artifact information in a "simdat_d" class object
print.psychmeta.ma_d.barebones

print method for bare-bones meta-analyses of d values
warning_variance

Warning message for invalid variances
unmix_matrix

Estimate average within-group covariance matrices from a mixture covariance matrix
var_error_alpha

Analytic estimate of the sampling variance of alpha
wt_cov

Compute weighted covariances
print.psychmeta.ma_d.barebones.master

print method for bare-bones meta-analyses of correlations
unmix_r_2group

Estimate the average within-group correlation from a mixture correlation for two groups
simulate_alpha

Generate a vector of simulated sample alpha coefficients
wt_dist

Weighted descriptive statistics for a vector of numbers
psychmeta_news

Retrieve the NEWS file for the psychmeta package
simulate_d_database

Simulate d value databases of primary studies
record_fyis

Summary of FYI messages generated within a function
var_error_g

Estimate the error variance Hedge's g values
var_error_q

Estimate the error variance of square roots of reliability estimates