Learn R Programming

statpsych (version 1.7.0)

ci.rel2: Confidence interval for a 2-group reliability difference

Description

Computes a 100(1 - alpha)% confidence interval for a difference in population reliabilities in a 2-group design. This function can be used with any type of reliability coefficient (e.g., Cronbach alpha, McDonald omega, intraclass reliability). The function requires a point estimate and a 100(1 - alpha)% confidence interval for each reliability as input.

Usage

ci.rel2(rel1, ll1, ul1, rel2, ll2, ul2)

Value

Returns a 1-row matrix. The columns are:

  • Estimate - estimated reliability difference

  • LL - lower limit of the confidence interval

  • UL - upper limit of the confidence interval

Arguments

rel1

estimated reliability for group 1

ll1

lower limit for group 1 reliability

ul1

upper limit for group 1 reliability

rel2

estimated reliability for group 2

ll2

lower limit for group 2 reliability

ul2

upper limit for group 2 reliability

References

Bonett2015statpsych

Examples

Run this code
ci.rel2(.4, .35, .47, .2, .1, .32)

# Should return:
# Estimate   LL        UL
#      0.2 0.07 0.3220656
 

Run the code above in your browser using DataLab