pwr2ppl (version 0.1.1)

depb: Power for Comparing Dependent 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)

Description

Power for Comparing Dependent 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

depb(ry1, ry2, ry3 = NULL, r12, r13 = NULL, r23 = NULL, n = NULL,
  alpha = 0.05)

Arguments

ry1

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

ry2

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

ry3

Correlation between DV (y) and third predictor (3)

r12

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

r13

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

r23

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

n

Sample size

alpha

Type I error (default is .05)

Value

Power for Comparing Dependent Coefficients in Multiple Regression with Two or Three Predictors

Examples

Run this code
# NOT RUN {
depb(ry1=.40, ry2=.40, ry3=-.40, r12=-.15, r13=-.60, r23=.25,n=110, alpha=.05)
# }

Run the code above in your browser using DataCamp Workspace