indb: Power for Comparing Independent Coefficients in Multiple...

Description Usage Arguments Value Examples

View source: R/indb.R

Description

Power for Comparing Independent Coefficients in Multiple Regression with Two or Three Predictors Requires correlations between all variables as sample size. Means, sds, and alpha are option. Also computes Power(All)

Usage

1
2
3
indb(ry1_1, ry2_1, ry3_1 = NULL, r12_1, r13_1 = NULL, r23_1 = NULL,
  n1, ry1_2, ry2_2, ry3_2 = NULL, r12_2, r13_2 = NULL, r23_2 = NULL,
  n2, alpha = 0.05)

Arguments

ry1_1

Correlation between DV (y) and first predictor (1), first test

ry2_1

Correlation between DV (y) and second predictor (2), first test

ry3_1

Correlation between DV (y) and third predictor (3), first test

r12_1

Correlation between first (1) and second predictor (2), first test

r13_1

Correlation between first (1) and third predictor (3), first test

r23_1

Correlation between second (2) and third predictor (3), first test

n1

Sample size first test

ry1_2

Correlation between DV (y) and first predictor (1), second test

ry2_2

Correlation between DV (y) and second predictor (2), second test

ry3_2

Correlation between DV (y) and third predictor (3), second test

r12_2

Correlation between first (1) and second predictor (2), second test

r13_2

Correlation between first (1) and third predictor (3), second test

r23_2

Correlation between second (2) and third predictor (3), second test

n2

Sample size second test

alpha

Type I error (default is .05)

Value

Power for Comparing Independent Coefficients in Multiple Regression

Examples

1
2
3
indb(ry1_1=.40, ry2_1=.40, ry3_1 =-.40, r12_1=-.15,r13_1=-.60, r23_1=.25,
ry1_2=.40, ry2_2=.10, ry3_2 =-.40, r12_2=-.15,r13_2=-.60, r23_2=.25,
n1=50,n2=50, alpha=.05)

chrisaberson/pwr2ppl documentation built on Dec. 2, 2019, 7:08 a.m.