Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

atten

Correction for Attenuation


Description

Used to correct for attenuated effect sizes due to measurement unreliability.

Usage

atten(es, xx, yy, data)

Arguments

es

r or z' effect size.

xx

Column for reliability of predictor variable ("independent variable").

yy

Column for reliability of outcome variable ("dependent variable").

data

data.frame with the above values.

Value

A new column for es corrected for attenuation (es.corrected) will be added to the data, for those xx & yy columns with complete data.

Author(s)

AC Del Re & William T. Hoyt

Maintainer: AC Del Re acdelre@gmail.com

References

Hunter, J. E., Schmidt, F. L. (2004). Methods of meta-analysis (2nd edition). Thousand Oaks, CA: Sage.

Examples

# Sample data:

id <-c(1, 1:19)
n <-c(10,20,13,22,28,12,12,36,19,12,36,75,33,121,37,14,40,16,14,20)
r <-c(.68,.56,.23,.64,.49,-.04,.49,.33,.58,.18,-.11,.27,.26,.40,.49,
 .51,.40,.34,.42,.16)
xx <-c(.88,.86,.83,.64,.89,.84,.89,.83,.99,.88,.81,.77,.86,.70,.79,
 .71,.80,.74,.82,.86)  # Reliability of "independent variable"
yy <-c(.99,.86,.83,.94,.89,.94,.89,.93,.99,.88,.81,.77,.86,.70,.79,
 .71,.80,.94,.92,.96)  # Reliability of "dependent variable"
   
dat<-data.frame(id, n, r, xx,yy)

# Example        
atten(es= r, xx = xx, yy = yy, data= dat)

MAc

Meta-Analysis with Correlations

v1.1.1
GPL-2
Authors
AC Del Re & William T. Hoyt
Initial release
2010-07-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.