pwr2ppl (version 0.1.1)

depcorr0: Compute Power for Comparing Two Dependent Correlations, No Variables in Common Takes correlations and range of values. First variable in each pair is termed predictor, second is DV

Description

Compute Power for Comparing Two Dependent Correlations, No Variables in Common Takes correlations and range of values. First variable in each pair is termed predictor, second is DV

Usage

depcorr0(r12, rxy, r1x, r1y, r2x, r2y, nlow, nhigh, alpha = 0.05,
  tails = 2, by = 1)

Arguments

r12

Correlation between the predictor and DV (first set of measures)

rxy

Correlation between the predictor and DV (second set of measures)

r1x

Correlation between the predictor (first measure) and the predictor variable (first measure)

r1y

Correlation between the predictor (first measure) and the dependent variable (second measure)

r2x

Correlation between the DV (first measure) and the predictor variable (first measure)

r2y

Correlation between the DV (first measure) and the dependent variable (second measure)

nlow

Starting sample size

nhigh

Ending sample size

alpha

Type I error (default is .05)

tails

one or two-tailed tests (default is 2)

by

Incremental increase in sample size from low to high

Value

Power for Comparing Two Dependent Correlations, No Variables in Common

Examples

Run this code
# NOT RUN {
depcorr0(r12=.4,rxy=.7,r1x=.3,r1y=.1,r2x=.45,r2y=.35,  nlow=20,nhigh=200,by=10, tails=2)
# }

Run the code above in your browser using DataCamp Workspace