##        id   D.prime C.score Anxiety Depression Stress ADHD
## 1  SADP01 1.5109000 0.83405      14         18     18   35
## 2  SADP05 1.0802500 0.69785      25         23     26   56
## 3  SADP09 0.9512000 0.58595      28         31     41   60
## 4  SADP11 1.9284500 0.99565      16         22     27   62
## 5  SADP13 1.3711500 0.77985      38         40     47   63
## 6  SADP14 2.8855000 1.47420      28         20     26   49
## 7  SADP15 1.2820000 0.76685      15         14     14   48
## 8  SADP18 1.1553500 0.73520      14         14     20   54
## 9  SADP25 1.0196500 0.63560      18         42     27   36
## 10 SADP27 0.4636500 0.55330      44         48     42   53
## 11 SADP29 1.3057500 0.81030      28         25     31   57
## 12 SADP30 1.1747000 0.85790      16         19     15   36
## 13 SADP36 1.5314500 0.84430      19         15     21   40
## 14 SADP37 1.9480500 1.03690      18         18     22   31
## 15 SADP40 1.5944000 0.86010      14         14     14   36
## 16 SADP42 0.9199500 0.63345      25         34     29   38
## 17 SADP43 2.6623000 1.39405      16         14     16   36
## 18 SADP44 0.5044000 0.49025      46         23     51   73
## 19 SADP45 0.1105636 0.76565      34         33     45   68
## 20 SADP46 1.1947500 0.77085      15         11     18   53
## 21 SADP47 1.5266500 0.82620       7          9     11   67
## 22 SADP56 1.2330000 1.35450      15         10     12   45

Correlation

Correlation Plot (Heat Map) showing the significance pair at alpha = 0.05

Those in Blue color is significant at alpha = 0.05.
Those in Blank/White color is NOT significant at alpha = 0.05.

In this plot, blue = positive relationship, red = negative relationship, the darker shade indicated a stronger relationship.

ADHD is NOT correlated with BOTH D Prime and C score. Therefore I disregard ADHD in all of these mediation model.

Depression - Stress - C score – NOT SIGNIFICANT

## 
## Call:
## lm(formula = C.score ~ Depression, data = dc[, -1])
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -0.3551 -0.1617 -0.0517  0.1081  0.5940 
## 
## Coefficients:
##              Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.112667   0.116445   9.555 6.76e-09 ***
## Depression  -0.011621   0.004656  -2.496   0.0214 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2343 on 20 degrees of freedom
## Multiple R-squared:  0.2375, Adjusted R-squared:  0.1994 
## F-statistic:  6.23 on 1 and 20 DF,  p-value: 0.02142
## 
## Call:
## lm(formula = Stress ~ Depression, data = dc[, -1])
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -15.2910  -4.6918  -0.2953   2.0064  24.6121 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept)   7.1367     4.0125   1.779   0.0905 .  
## Depression    0.8370     0.1604   5.217 4.18e-05 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 8.075 on 20 degrees of freedom
## Multiple R-squared:  0.5764, Adjusted R-squared:  0.5553 
## F-statistic: 27.22 on 1 and 20 DF,  p-value: 4.182e-05
## dv ~ iv + m
## 
## Call:
## lm(formula = C.score ~ Depression + Stress, data = dc[, -1])
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -0.21171 -0.14309 -0.08383  0.12336  0.60646 
## 
## Coefficients:
##              Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.154689   0.125897   9.172 2.08e-08 ***
## Depression  -0.006693   0.007187  -0.931    0.363    
## Stress      -0.005888   0.006519  -0.903    0.378    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2354 on 19 degrees of freedom
## Multiple R-squared:  0.2689, Adjusted R-squared:  0.1919 
## F-statistic: 3.494 on 2 and 19 DF,  p-value: 0.05102
## 
## Causal Mediation Analysis 
## 
## Nonparametric Bootstrap Confidence Intervals with the Percentile Method
## 
##                Estimate 95% CI Lower 95% CI Upper p-value   
## ACME           -0.00493     -0.01588         0.01  0.4720   
## ADE            -0.00669     -0.02376         0.00  0.1580   
## Total Effect   -0.01162     -0.01955        -0.01  0.0014 **
## Prop. Mediated  0.42410     -1.07685         1.54  0.4726   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Sample Size Used: 22 
## 
## 
## Simulations: 10000

Depression - Anxiety - C score – NOT SIGNIFICANT

## 
## Call:
## lm(formula = C.score ~ Depression, data = dc[, -1])
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -0.3551 -0.1617 -0.0517  0.1081  0.5940 
## 
## Coefficients:
##              Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.112667   0.116445   9.555 6.76e-09 ***
## Depression  -0.011621   0.004656  -2.496   0.0214 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2343 on 20 degrees of freedom
## Multiple R-squared:  0.2375, Adjusted R-squared:  0.1994 
## F-statistic:  6.23 on 1 and 20 DF,  p-value: 0.02142
## 
## Call:
## lm(formula = Anxiety ~ Depression, data = dc[, -1])
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -17.4696  -3.6516  -0.3479   3.4861  23.3156 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept)   7.2076     3.7650   1.914 0.069993 .  
## Depression    0.6729     0.1505   4.470 0.000235 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 7.577 on 20 degrees of freedom
## Multiple R-squared:  0.4998, Adjusted R-squared:  0.4747 
## F-statistic: 19.98 on 1 and 20 DF,  p-value: 0.0002347
## dv ~ iv + m
## 
## Call:
## lm(formula = C.score ~ Depression + Anxiety, data = dc[, -1])
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -0.31854 -0.16090 -0.05901  0.10783  0.60547 
## 
## Coefficients:
##              Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.123978   0.129788   8.660 5.06e-08 ***
## Depression  -0.010565   0.006745  -1.566    0.134    
## Anxiety     -0.001569   0.007086  -0.221    0.827    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2401 on 19 degrees of freedom
## Multiple R-squared:  0.2395, Adjusted R-squared:  0.1594 
## F-statistic: 2.991 on 2 and 19 DF,  p-value: 0.07423
## 
## Causal Mediation Analysis 
## 
## Nonparametric Bootstrap Confidence Intervals with the Percentile Method
## 
##                Estimate 95% CI Lower 95% CI Upper p-value    
## ACME           -0.00106     -0.01014         0.03  0.8896    
## ADE            -0.01057     -0.04481         0.00  0.0672 .  
## Total Effect   -0.01162     -0.01967        -0.01  0.0008 ***
## Prop. Mediated  0.09087     -2.97197         1.11  0.8896    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Sample Size Used: 22 
## 
## 
## Simulations: 10000

Anxiety - Depression - C score – NOT SIGNIFICANT

## 
## Call:
## lm(formula = C.score ~ Anxiety, data = dc[, -1])
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -0.25605 -0.15205 -0.08138  0.06355  0.67671 
## 
## Coefficients:
##              Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.061134   0.127837   8.301 6.56e-08 ***
## Anxiety     -0.009416   0.005191  -1.814   0.0847 .  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2487 on 20 degrees of freedom
## Multiple R-squared:  0.1413, Adjusted R-squared:  0.09834 
## F-statistic:  3.29 on 1 and 20 DF,  p-value: 0.08472
## 
## Call:
## lm(formula = Depression ~ Anxiety, data = dc[, -1])
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -17.111  -3.645  -1.629   3.577  22.684 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept)   5.9482     4.0918   1.454 0.161549    
## Anxiety       0.7427     0.1662   4.470 0.000235 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 7.96 on 20 degrees of freedom
## Multiple R-squared:  0.4998, Adjusted R-squared:  0.4747 
## F-statistic: 19.98 on 1 and 20 DF,  p-value: 0.0002347
## dv ~ iv + m
## 
## Call:
## lm(formula = C.score ~ Anxiety + Depression, data = dc[, -1])
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -0.31854 -0.16090 -0.05901  0.10783  0.60547 
## 
## Coefficients:
##              Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.123978   0.129788   8.660 5.06e-08 ***
## Anxiety     -0.001569   0.007086  -0.221    0.827    
## Depression  -0.010565   0.006745  -1.566    0.134    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2401 on 19 degrees of freedom
## Multiple R-squared:  0.2395, Adjusted R-squared:  0.1594 
## F-statistic: 2.991 on 2 and 19 DF,  p-value: 0.07423
## 
## Causal Mediation Analysis 
## 
## Nonparametric Bootstrap Confidence Intervals with the Percentile Method
## 
##                Estimate 95% CI Lower 95% CI Upper p-value  
## ACME           -0.00785     -0.04552         0.00   0.062 .
## ADE            -0.00157     -0.01196         0.04   0.893  
## Total Effect   -0.00942     -0.01660         0.00   0.066 .
## Prop. Mediated  0.83333     -2.81083        11.05   0.128  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Sample Size Used: 22 
## 
## 
## Simulations: 10000

Anxiety - Stress - C Score – NOT SIGNIFICANT

## 
## Call:
## lm(formula = C.score ~ Anxiety, data = dc[, -1])
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -0.25605 -0.15205 -0.08138  0.06355  0.67671 
## 
## Coefficients:
##              Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.061134   0.127837   8.301 6.56e-08 ***
## Anxiety     -0.009416   0.005191  -1.814   0.0847 .  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2487 on 20 degrees of freedom
## Multiple R-squared:  0.1413, Adjusted R-squared:  0.09834 
## F-statistic:  3.29 on 1 and 20 DF,  p-value: 0.08472
## 
## Call:
## lm(formula = Stress ~ Anxiety, data = dc[, -1])
## 
## Residuals:
##    Min     1Q Median     3Q    Max 
## -7.210 -3.133 -0.226  2.604  8.956 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  2.00329    2.40254   0.834    0.414    
## Anxiety      1.07288    0.09756  10.998 6.25e-10 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 4.674 on 20 degrees of freedom
## Multiple R-squared:  0.8581, Adjusted R-squared:  0.851 
## F-statistic: 120.9 on 1 and 20 DF,  p-value: 6.249e-10
## dv ~ iv + m
## 
## Call:
## lm(formula = C.score ~ Anxiety + Stress, data = dc[, -1])
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -0.2443 -0.1438 -0.1034  0.1606  0.5504 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.10301    0.12269   8.990 2.84e-08 ***
## Anxiety      0.01301    0.01300   1.001   0.3295    
## Stress      -0.02091    0.01123  -1.862   0.0781 .  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2346 on 19 degrees of freedom
## Multiple R-squared:  0.2738, Adjusted R-squared:  0.1974 
## F-statistic: 3.582 on 2 and 19 DF,  p-value: 0.04785
## 
## Causal Mediation Analysis 
## 
## Nonparametric Bootstrap Confidence Intervals with the Percentile Method
## 
##                Estimate 95% CI Lower 95% CI Upper p-value  
## ACME           -0.02243     -0.05874         0.00   0.082 .
## ADE             0.01301     -0.01187         0.05   0.347  
## Total Effect   -0.00942     -0.01658         0.00   0.065 .
## Prop. Mediated  2.38203     -6.06206        18.65   0.147  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Sample Size Used: 22 
## 
## 
## Simulations: 10000

Stress - Depression - C score – NOT SIGNIFICANT

## 
## Call:
## lm(formula = C.score ~ Stress, data = dc[, -1])
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -0.2097 -0.1610 -0.1039  0.1368  0.6236 
## 
## Coefficients:
##              Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.123542   0.120968   9.288 1.08e-08 ***
## Stress      -0.010497   0.004229  -2.482    0.022 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2346 on 20 degrees of freedom
## Multiple R-squared:  0.2355, Adjusted R-squared:  0.1973 
## F-statistic: 6.162 on 1 and 20 DF,  p-value: 0.02205
## 
## Call:
## lm(formula = Depression ~ Stress, data = dc[, -1])
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -16.7766  -2.8497  -1.4606   0.8225  18.7517 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept)   4.6540     3.7762   1.232    0.232    
## Stress        0.6887     0.1320   5.217 4.18e-05 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 7.325 on 20 degrees of freedom
## Multiple R-squared:  0.5764, Adjusted R-squared:  0.5553 
## F-statistic: 27.22 on 1 and 20 DF,  p-value: 4.182e-05
## dv ~ iv + m
## 
## Call:
## lm(formula = C.score ~ Stress + Depression, data = dc[, -1])
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -0.21171 -0.14309 -0.08383  0.12336  0.60646 
## 
## Coefficients:
##              Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.154689   0.125897   9.172 2.08e-08 ***
## Stress      -0.005888   0.006519  -0.903    0.378    
## Depression  -0.006693   0.007187  -0.931    0.363    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2354 on 19 degrees of freedom
## Multiple R-squared:  0.2689, Adjusted R-squared:  0.1919 
## F-statistic: 3.494 on 2 and 19 DF,  p-value: 0.05102
## 
## Causal Mediation Analysis 
## 
## Nonparametric Bootstrap Confidence Intervals with the Percentile Method
## 
##                Estimate 95% CI Lower 95% CI Upper p-value   
## ACME           -0.00461     -0.02074         0.00  0.1798   
## ADE            -0.00589     -0.01424         0.01  0.4740   
## Total Effect   -0.01050     -0.01755         0.00  0.0032 **
## Prop. Mediated  0.43907     -0.33859         3.00  0.1826   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Sample Size Used: 22 
## 
## 
## Simulations: 10000

Stress - Anxiety - C score – NOT SIGNIFICANT

## 
## Call:
## lm(formula = C.score ~ Stress, data = dc[, -1])
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -0.2097 -0.1610 -0.1039  0.1368  0.6236 
## 
## Coefficients:
##              Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.123542   0.120968   9.288 1.08e-08 ***
## Stress      -0.010497   0.004229  -2.482    0.022 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2346 on 20 degrees of freedom
## Multiple R-squared:  0.2355, Adjusted R-squared:  0.1973 
## F-statistic: 6.162 on 1 and 20 DF,  p-value: 0.02205
## 
## Call:
## lm(formula = Anxiety ~ Stress, data = dc[, -1])
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -7.1725 -3.0252  0.4271  2.3752  8.8302 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.57757    2.08044   0.758    0.457    
## Stress       0.79981    0.07273  10.998 6.25e-10 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 4.035 on 20 degrees of freedom
## Multiple R-squared:  0.8581, Adjusted R-squared:  0.851 
## F-statistic: 120.9 on 1 and 20 DF,  p-value: 6.249e-10
## dv ~ iv + m
## 
## Call:
## lm(formula = C.score ~ Stress + Anxiety, data = dc[, -1])
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -0.2443 -0.1438 -0.1034  0.1606  0.5504 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  1.10301    0.12269   8.990 2.84e-08 ***
## Stress      -0.02091    0.01123  -1.862   0.0781 .  
## Anxiety      0.01301    0.01300   1.001   0.3295    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.2346 on 19 degrees of freedom
## Multiple R-squared:  0.2738, Adjusted R-squared:  0.1974 
## F-statistic: 3.582 on 2 and 19 DF,  p-value: 0.04785
## 
## Causal Mediation Analysis 
## 
## Nonparametric Bootstrap Confidence Intervals with the Percentile Method
## 
##                Estimate 95% CI Lower 95% CI Upper p-value   
## ACME            0.01041     -0.00964         0.04  0.3372   
## ADE            -0.02091     -0.05111         0.00  0.0774 . 
## Total Effect   -0.01050     -0.01754         0.00  0.0042 **
## Prop. Mediated -0.99148     -5.59052         1.39  0.3414   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Sample Size Used: 22 
## 
## 
## Simulations: 10000