MRC_short2: Compute Multiple Regression shortcuts with three predictors...

View source: R/MRC_short2.R

MRC_short2R Documentation

Compute Multiple Regression shortcuts with three predictors for Ind Coefficients Requires correlations between all variables as sample size. Means and sds are option. Also computes Power(All)

Description

Compute Multiple Regression shortcuts with three predictors for Ind Coefficients Requires correlations between all variables as sample size. Means and sds are option. Also computes Power(All)

Usage

MRC_short2(
  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,
  my_1 = 0,
  m1_1 = 0,
  m2_1 = 0,
  m3_1 = 0,
  s1_1 = 1,
  s2_1 = 1,
  s3_1 = 1,
  sy_1 = 1,
  my_2 = 0,
  m1_2 = 0,
  m2_2 = 0,
  m3_2 = 0,
  s1_2 = 1,
  s2_2 = 1,
  s3_2 = 1,
  sy_2 = 1
)

Arguments

ry1_1

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

ry2_1

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

ry3_1

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

r12_1

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

r13_1

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

r23_1

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

n1

Sample size, first group

ry1_2

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

ry2_2

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

ry3_2

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

r12_2

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

r13_2

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

r23_2

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

n2

Sample size, second group

alpha

Type I error (default is .05)

my_1

Mean of DV (default is 0), first group

m1_1

Mean of first predictor (default is 0), first group

m2_1

Mean of second predictor (default is 0), first group

m3_1

Mean of third predictor (default is 0), first group

s1_1

Standard deviation of first predictor (default is 1), first group

s2_1

Standard deviation of second predictor (default is 1), first group

s3_1

Standard deviation of third predictor (default is 1), first group

sy_1

Standard deviation of DV (default is 1), first group

my_2

Mean of DV (default is 0), second group

m1_2

Mean of first predictor (default is 0), second group

m2_2

Mean of second predictor (default is 0), second group

m3_2

Mean of third predictor (default is 0), second group

s1_2

Standard deviation of first predictor (default is 1), second group

s2_2

Standard deviation of second predictor (default is 1), second group

s3_2

Standard deviation of third predictor (default is 1), second group

sy_2

Standard deviation of DV (default is 1), second group

Value

Multiple Regression shortcuts with three predictors for Ind Coefficients

Examples

MRC_short2(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,my_1=1,m1_1=1,m2_1=1,m3_1=1,
sy_1=7,s1_1=1,s2_1=1,s3_1=2,
my_2=1,m1_2=1,m2_2=1,m3_2=1,sy_2=7,s1_2=1,s2_2=1,s3_2=2)

pwr2ppl documentation built on Sept. 6, 2022, 5:06 p.m.