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)
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)
Correlation between DV (y) and first predictor (1), first group
Correlation between DV (y) and second predictor (2), first group
Correlation between DV (y) and third predictor (3), first group
Correlation between first (1) and second predictor (2), first group
Correlation between first (1) and third predictor (3), first group
Correlation between second (2) and third predictor (3), first group
Sample size, first group
Correlation between DV (y) and first predictor (1), second group
Correlation between DV (y) and second predictor (2), second group
Correlation between DV (y) and third predictor (3), second group
Correlation between first (1) and second predictor (2), second group
Correlation between first (1) and third predictor (3), second group
Correlation between second (2) and third predictor (3), second group
Sample size, second group
Type I error (default is .05)
Mean of DV (default is 0), first group
Mean of first predictor (default is 0), first group
Mean of second predictor (default is 0), first group
Mean of third predictor (default is 0), first group
Standard deviation of first predictor (default is 1), first group
Standard deviation of second predictor (default is 1), first group
Standard deviation of third predictor (default is 1), first group
Standard deviation of DV (default is 1), first group
Mean of DV (default is 0), second group
Mean of first predictor (default is 0), second group
Mean of second predictor (default is 0), second group
Mean of third predictor (default is 0), second group
Standard deviation of first predictor (default is 1), second group
Standard deviation of second predictor (default is 1), second group
Standard deviation of third predictor (default is 1), second group
Standard deviation of DV (default is 1), second group
Multiple Regression shortcuts with three predictors for Ind Coefficients
# NOT RUN {
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)
# }
Run the code above in your browser using DataLab