Introduction
For the sake of continuity and uniformity, the analysis of the addition of the time pressure factor was done in the same manner as the analyses done so far, within the framework of the survival analysis of the “crossing times” as defined earlier and correlations of the difference between the two groups and the level of difficulty of the scenario. The button press data of the participants at each vehicle crossing was now divided into two for presses without or with time pressure. Therefore, in practice, the analysis became an analysis with two explanatory factors: the five-level scenario factor and the two-level time pressure factor.
The analysis will be done in the following steps. In the first section, the “interaction” analysis will be done in two ways: comparing the effect of time pressure in each scenario and vice versa, the scenario’s impact in each situation of time pressure. In the second section, the analysis of the main effects will be done, i.e., the effect of the scenario factor “on average” on the time pressure situations and the effect of the time pressure factor “on average” on all scenarios. The third section will be for finding the relationship between the difficulty of the scenario, the time pressure situation, and the crossing patterns.
Interaction
Time Pressure within each scenario
SCENARIO 1
Call: survfit(formula = Surv(Time, Case) ~ TP, data = Dat.1_all)
n events median 0.95LCL 0.95UCL
TP=NO 60 59 9 5 9
TP=YES 60 59 6 4 7
Call:
survdiff(formula = Surv(Time, Case) ~ TP, data = Dat.1_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 60 59 62.9 0.245 0.835
TP=YES 60 59 55.1 0.280 0.835
Chisq= 0.8 on 1 degrees of freedom, p= 0.4
Cum gap time
------------
Call: survfit(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat.1_all)
n events median 0.95LCL 0.95UCL
TP=NO 60 59 19.3 10.18 19.3
TP=YES 60 59 12.4 7.67 14.3
Call:
survdiff(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat.1_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 60 59 62.9 0.245 0.835
TP=YES 60 59 55.1 0.280 0.835
Chisq= 0.8 on 1 degrees of freedom, p= 0.4
Cross_Score Gap_Score Stop_Score_Gap Cross_Score_Gap Med_Time Med_CGT
S1.1 0.3318082 8.235468 4.286381 3.949087 9 19.325
S2.1 0.3318082 8.235468 4.286381 3.949087 6 12.425
SCENARIO 2
Call: survfit(formula = Surv(Time, Case) ~ TP, data = Dat.2_all)
n events median 0.95LCL 0.95UCL
TP=NO 57 51 5 5 7
TP=YES 63 60 5 5 7
Call:
survdiff(formula = Surv(Time, Case) ~ TP, data = Dat.2_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 57 51 52.8 0.0594 0.186
TP=YES 63 60 58.2 0.0538 0.186
Chisq= 0.2 on 1 degrees of freedom, p= 0.7
Cum gap time
------------
Call: survfit(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat.2_all)
n events median 0.95LCL 0.95UCL
TP=NO 57 51 9.15 9.15 14.8
TP=YES 63 60 9.15 9.15 14.8
Call:
survdiff(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat.2_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 57 51 52.8 0.0594 0.186
TP=YES 63 60 58.2 0.0538 0.186
Chisq= 0.2 on 1 degrees of freedom, p= 0.7
Cross_Score Gap_Score Stop_Score_Gap Cross_Score_Gap Med_Time Med_CGT
S1.2 0.3537461 7.37293 3.258095 4.114835 5 9.15
S2.2 0.3537461 7.37293 3.258095 4.114835 5 9.15
SCENARIO 3
Call: survfit(formula = Surv(Time, Case) ~ TP, data = Dat.3_all)
n events median 0.95LCL 0.95UCL
TP=NO 118 112 7 7 7
TP=YES 122 120 7 6 7
Call:
survdiff(formula = Surv(Time, Case) ~ TP, data = Dat.3_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 118 112 127 1.81 7.17
TP=YES 122 120 105 2.19 7.17
Chisq= 7.2 on 1 degrees of freedom, p= 0.007
Cum gap time
------------
Call: survfit(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat.3_all)
n events median 0.95LCL 0.95UCL
TP=NO 118 112 16 16.0 16
TP=YES 122 120 16 12.7 16
Call:
survdiff(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat.3_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 118 112 127 1.81 7.17
TP=YES 122 120 105 2.19 7.17
Chisq= 7.2 on 1 degrees of freedom, p= 0.007
Cross_Score Gap_Score Stop_Score_Gap Cross_Score_Gap Med_Time Med_CGT
S1.2 0.3537461 7.37293 3.258095 4.114835 5 9.15
S2.2 0.3537461 7.37293 3.258095 4.114835 5 9.15
SCENARIO 4
Call: survfit(formula = Surv(Time, Case) ~ TP, data = Dat.4_all)
n events median 0.95LCL 0.95UCL
TP=NO 120 115 5 5 7
TP=YES 120 119 5 5 6
Call:
survdiff(formula = Surv(Time, Case) ~ TP, data = Dat.4_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 120 115 132 2.12 7.93
TP=YES 120 119 102 2.73 7.93
Chisq= 7.9 on 1 degrees of freedom, p= 0.005
Cum gap time
------------
Call: survfit(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat.4_all)
n events median 0.95LCL 0.95UCL
TP=NO 120 115 8.45 8.45 15.0
TP=YES 120 119 8.45 8.45 11.4
Call:
survdiff(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat.4_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 120 115 132 2.12 7.93
TP=YES 120 119 102 2.73 7.93
Chisq= 7.9 on 1 degrees of freedom, p= 0.005
Cross_Score Gap_Score Stop_Score_Gap Cross_Score_Gap Med_Time Med_CGT
S1.4 0.2525662 8.04388 3.443119 4.600761 5 8.45
S2.4 0.2525662 8.04388 3.443119 4.600761 5 8.45
SCENARIO 5
Call: survfit(formula = Surv(Time, Case) ~ TP, data = Dat.5_all)
n events median 0.95LCL 0.95UCL
TP=NO 120 102 9 9 9
TP=YES 120 116 7 6 9
Call:
survdiff(formula = Surv(Time, Case) ~ TP, data = Dat.5_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 120 102 131.9 6.79 25.4
TP=YES 120 116 86.1 10.40 25.4
Chisq= 25.4 on 1 degrees of freedom, p= 5e-07
Cum gap time
------------
Call: survfit(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat.5_all)
n events median 0.95LCL 0.95UCL
TP=NO 120 102 19.4 19.4 19.4
TP=YES 120 116 13.5 11.1 19.4
Call:
survdiff(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat.5_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 120 102 131.9 6.79 25.4
TP=YES 120 116 86.1 10.40 25.4
Chisq= 25.4 on 1 degrees of freedom, p= 5e-07
Cross_Score Gap_Score Stop_Score_Gap Cross_Score_Gap Med_Time Med_CGT
S1.5 0.06689682 7.279143 5.629801 1.649341 9 19.4
S2.5 0.06689682 7.279143 5.629801 1.649341 7 13.5
Scenario within Time Pressure
Time Pressure = N0
Call: survfit(formula = Surv(Time, Case) ~ Scenario, data = temp)
n events median 0.95LCL 0.95UCL
Scenario=1 60 59 9 5 9
Scenario=2 57 51 5 5 7
Scenario=3 118 112 7 7 7
Scenario=4 120 115 5 5 7
Scenario=5 120 102 9 9 9
Call:
survdiff(formula = Surv(Time, Case) ~ Scenario, data = temp)
N Observed Expected (O-E)^2/E (O-E)^2/V
Scenario=1 60 59 54.7 0.336 0.539
Scenario=2 57 51 34.4 8.010 11.675
Scenario=3 118 112 103.5 0.705 1.298
Scenario=4 120 115 93.8 4.809 8.636
Scenario=5 120 102 152.7 16.812 38.123
Chisq= 45 on 4 degrees of freedom, p= 4e-09
Pairwise comparisons using Log-Rank test
data: temp and Scenario
1 2 3 4
2 0.06428 - - -
3 0.89303 0.03728 - -
4 0.87274 0.20525 0.11183 -
5 0.00089 3.0e-09 1.4e-06 7.0e-08
P value adjustment method: BH
Cum gap time
------------
Call: survfit(formula = Surv(Cum_gap_time, Case) ~ Scenario, data = temp)
n events median 0.95LCL 0.95UCL
Scenario=1 60 59 19.33 10.18 19.3
Scenario=2 57 51 9.15 9.15 14.8
Scenario=3 118 112 16.00 16.00 16.0
Scenario=4 120 115 8.45 8.45 15.0
Scenario=5 120 102 19.40 19.40 19.4
Call:
survdiff(formula = Surv(Cum_gap_time, Case) ~ Scenario, data = temp)
N Observed Expected (O-E)^2/E (O-E)^2/V
Scenario=1 60 59 49.8 1.68696 2.21e+00
Scenario=2 57 51 32.4 10.71357 1.32e+01
Scenario=3 118 112 112.2 0.00023 3.66e-04
Scenario=4 120 115 82.6 12.70719 1.82e+01
Scenario=5 120 102 162.0 22.24047 4.33e+01
Chisq= 57.3 on 4 degrees of freedom, p= 1e-11
Pairwise comparisons using Log-Rank test
data: temp and Scenario
1 2 3 4
2 0.081 - - -
3 0.427 3.8e-05 - -
4 0.946 0.139 4.0e-05 -
5 6.8e-07 6.2e-07 7.5e-06 1.1e-08
P value adjustment method: BH
Time Pressure = Yes
Call: survfit(formula = Surv(Time, Case) ~ Scenario, data = temp)
n events median 0.95LCL 0.95UCL
Scenario=1 60 59 6 4 7
Scenario=2 63 60 5 5 7
Scenario=3 122 120 7 6 7
Scenario=4 120 119 5 5 6
Scenario=5 120 116 7 6 9
Call:
survdiff(formula = Surv(Time, Case) ~ Scenario, data = temp)
N Observed Expected (O-E)^2/E (O-E)^2/V
Scenario=1 60 59 62.7 0.21649 0.36492
Scenario=2 63 60 53.2 0.87314 1.35395
Scenario=3 122 120 119.4 0.00289 0.00543
Scenario=4 120 119 103.7 2.27106 4.14219
Scenario=5 120 116 135.1 2.69014 5.47699
Chisq= 8.8 on 4 degrees of freedom, p= 0.07
Pairwise comparisons using Log-Rank test
data: temp and Scenario
1 2 3 4
2 0.43 - - -
3 0.78 0.56 - -
4 0.43 0.89 0.29 -
5 0.60 0.12 0.25 0.05
P value adjustment method: BH
Cum gap time
------------
Call: survfit(formula = Surv(Cum_gap_time, Case) ~ Scenario, data = temp)
n events median 0.95LCL 0.95UCL
Scenario=1 60 59 12.43 7.67 14.3
Scenario=2 63 60 9.15 9.15 14.8
Scenario=3 122 120 16.00 12.70 16.0
Scenario=4 120 119 8.45 8.45 11.4
Scenario=5 120 116 13.50 11.15 19.4
Call:
survdiff(formula = Surv(Cum_gap_time, Case) ~ Scenario, data = temp)
N Observed Expected (O-E)^2/E (O-E)^2/V
Scenario=1 60 59 57.7 0.0302 0.0382
Scenario=2 63 60 54.7 0.5175 0.6529
Scenario=3 122 120 129.4 0.6810 1.0615
Scenario=4 120 119 95.5 5.7824 8.1276
Scenario=5 120 116 136.8 3.1492 5.1039
Chisq= 11.6 on 4 degrees of freedom, p= 0.02
Main Effects
Scenrio
Time
Call: survfit(formula = Surv(Time, Case) ~ Scenario, data = Dat_all)
n events median 0.95LCL 0.95UCL
Scenario=1 120 118 6 5 9
Scenario=2 120 111 5 5 7
Scenario=3 240 232 7 7 7
Scenario=4 240 234 5 5 6
Scenario=5 240 218 9 8 9
Call:
survdiff(formula = Surv(Time, Case) ~ Scenario, data = Dat_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
Scenario=1 120 118 116.7 0.0138 0.0225
Scenario=2 120 111 85.8 7.3975 11.0045
Scenario=3 240 232 222.2 0.4328 0.7982
Scenario=4 240 234 197.8 6.6357 11.9431
Scenario=5 240 218 290.5 18.0928 38.8060
Chisq= 47.3 on 4 degrees of freedom, p= 1e-09
Pairwise comparisons using Log-Rank test
data: Dat_all and Scenario
1 2 3 4
2 0.0388 - - -
3 0.9000 0.0388 - -
4 0.3433 0.3433 0.0388 -
5 0.0043 9.7e-09 2.8e-06 9.7e-09
P value adjustment method: BH
Cum gap time
Call: survfit(formula = Surv(Cum_gap_time, Case) ~ Scenario, data = Dat_all)
n events median 0.95LCL 0.95UCL
Scenario=1 120 118 12.43 10.18 19.3
Scenario=2 120 111 9.15 9.15 14.8
Scenario=3 240 232 16.00 16.00 16.0
Scenario=4 240 234 8.45 8.45 11.4
Scenario=5 240 218 19.40 16.05 19.4
Call:
survdiff(formula = Surv(Cum_gap_time, Case) ~ Scenario, data = Dat_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
Scenario=1 120 118 106.0 1.364 1.744
Scenario=2 120 111 84.6 8.207 10.143
Scenario=3 240 232 240.7 0.311 0.488
Scenario=4 240 234 178.9 16.957 24.005
Scenario=5 240 218 302.8 23.750 42.304
Chisq= 59.4 on 4 degrees of freedom, p= 4e-12
Pairwise comparisons using Log-Rank test
data: Dat_all and Scenario
1 2 3 4
2 0.11523 - - -
3 0.36534 0.00011 - -
4 0.66168 0.36534 8.9e-07 -
5 3.0e-06 3.4e-06 7.6e-05 2.4e-09
P value adjustment method: BH
Time Pressure
Time
Call: survfit(formula = Surv(Time, Case) ~ TP, data = Dat_all)
n events median 0.95LCL 0.95UCL
TP=NO 475 439 7 7 7
TP=YES 485 474 6 5 7
Call:
survdiff(formula = Surv(Time, Case) ~ TP, data = Dat_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 475 439 508 9.27 29.1
TP=YES 485 474 405 11.61 29.1
Chisq= 29.1 on 1 degrees of freedom, p= 7e-08
Cum gap time
Call: survfit(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat_all)
n events median 0.95LCL 0.95UCL
TP=NO 475 439 15.0 15.00 16.0
TP=YES 485 474 11.4 9.25 13.5
Call:
survdiff(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat_all)
N Observed Expected (O-E)^2/E (O-E)^2/V
TP=NO 475 439 516 11.4 29.7
TP=YES 485 474 397 14.7 29.7
Chisq= 29.7 on 1 degrees of freedom, p= 5e-08
Section 3
Correlation analysis
Scatter plots and Pearson’s correlation matrix
| Cross_Score |
1.0000 |
0.3190 |
-0.8740 |
0.8711 |
-0.8569 |
-0.8508 |
| Gap_Score |
0.3190 |
1.0000 |
-0.2032 |
0.5235 |
-0.4319 |
-0.3530 |
| Stop_Score_Gap |
-0.8740 |
-0.2032 |
1.0000 |
-0.9406 |
0.9473 |
0.9840 |
| Cross_Score_Gap |
0.8711 |
0.5235 |
-0.9406 |
1.0000 |
-0.9740 |
-0.9787 |
| Med_Time |
-0.8569 |
-0.4319 |
0.9473 |
-0.9740 |
1.0000 |
0.9818 |
| Med_CGT |
-0.8508 |
-0.3530 |
0.9840 |
-0.9787 |
0.9818 |
1.0000 |
Cross_Score Gap_Score Stop_Score_Gap Cross_Score_Gap Med_Time_N
Scenrio 1 0.33180825 8.235468 4.286381 3.949087 9
Scenrio 2 0.35374610 7.372930 3.258095 4.114835 5
Scenrio 3 0.11052311 7.895862 5.240555 2.655307 7
Scenrio 4 0.25256623 8.043880 3.443119 4.600761 5
Scenrio 5 0.06689682 7.279143 5.629801 1.649341 9
Med_Time_Y Med_CGT_N Med_CGT_Y Chi_Y PV_Ym Chi_N
Scenrio 1 6 19.325 12.425 0.8354752 3.606941e-01 0.8354752
Scenrio 2 5 9.150 9.150 0.1861448 6.661448e-01 0.1861448
Scenrio 3 7 16.000 16.000 7.1705398 7.411047e-03 7.1705398
Scenrio 4 5 8.450 8.450 7.9315285 4.858074e-03 7.9315285
Scenrio 5 7 19.400 13.500 25.4078535 4.640252e-07 25.4078535
PV_N Med_Time Med_CGT
Scenrio 1 3.606941e-01 6 12.425
Scenrio 2 6.661448e-01 5 9.150
Scenrio 3 7.411047e-03 7 16.000
Scenrio 4 4.858074e-03 5 8.450
Scenrio 5 4.640252e-07 9 19.400
P-values of the correlation matrix
| Cross_Score |
NA |
0.3004 |
0.0263 |
0.0272 |
0.0318 |
0.0338 |
| Gap_Score |
0.5831 |
NA |
0.3715 |
0.1826 |
0.2339 |
0.2800 |
| Stop_Score_Gap |
-3.1148 |
-0.3594 |
NA |
0.0086 |
0.0072 |
0.0012 |
| Cross_Score_Gap |
3.0724 |
1.0642 |
-4.7992 |
NA |
0.0025 |
0.0019 |
| Med_Time |
-2.8789 |
-0.8294 |
5.1206 |
-7.4502 |
NA |
0.0015 |
| Med_CGT |
-2.8042 |
-0.6535 |
9.5748 |
-8.2485 |
8.9416 |
NA |
LMM analysis
The purpose of the analysis in this subsection is to see if the estimate of the median crossing time in each scenario and time pressure situation depends on the difficulty level of the scenario and the time pressure situation. The model used is LMM, the median estimator is the dependent variable, and the level of difficulty (continuous) and the blood moisture condition (binary) are the independent variables. The scenario itself was taken as a random factor.
Time and Cross_Score_Gap
------------------------
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: Med_Time_N ~ Cross_Score_Gap * TP + (1 | Scenario)
Data: reg_dat
REML criterion at convergence: 26.7
Scaled residuals:
Min 1Q Median 3Q Max
-0.7937 -0.4330 -0.1411 0.1394 1.7659
Random effects:
Groups Name Variance Std.Dev.
Scenario (Intercept) 0.4394 0.6628
Residual 1.2390 1.1131
Number of obs: 10, groups: Scenario, 5
Fixed effects:
Estimate Std. Error df t value Pr(>|t|)
(Intercept) 10.6024 1.9045 5.6152 5.567 0.00177 **
Cross_Score_Gap -1.0614 0.5346 5.6152 -1.986 0.09756 .
TPYES -2.0536 2.3141 3.0000 -0.887 0.44021
Cross_Score_Gap:TPYES 0.3104 0.6495 3.0000 0.478 0.66535
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
R2m R2c
[1,] 0.4514223 0.5950282
Time and Stop_Score_Gap
-----------------------
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: Med_Time_N ~ Stop_Score_Gap * TP + (1 | Scenario)
Data: reg_dat
REML criterion at convergence: 24
Scaled residuals:
Min 1Q Median 3Q Max
-1.1805 -0.3171 -0.0403 0.1463 1.9951
Random effects:
Groups Name Variance Std.Dev.
Scenario (Intercept) 0.000 0.000
Residual 1.133 1.064
Number of obs: 10, groups: Scenario, 5
Fixed effects:
Estimate Std. Error df t value Pr(>|t|)
(Intercept) 0.6796 2.2568 6.0000 0.301 0.7735
Stop_Score_Gap 1.4458 0.5046 6.0000 2.865 0.0286 *
TPYES 1.2223 3.1916 6.0000 0.383 0.7150
Stop_Score_Gap:TPYES -0.5083 0.7137 6.0000 -0.712 0.5030
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
optimizer (nloptwrap) convergence code: 0 (OK)
boundary (singular) fit: see help('isSingular')
R2m R2c
[1,] 0.6064078 0.6064078
Med_CGT_N and Cross_Score_Gap
-----------------------------
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: Med_CGT_N ~ Cross_Score_Gap * TP + (1 | Scenario)
Data: reg_dat
REML criterion at convergence: 38.3
Scaled residuals:
Min 1Q Median 3Q Max
-0.66171 -0.47134 -0.16759 0.07015 1.54288
Random effects:
Groups Name Variance Std.Dev.
Scenario (Intercept) 5.354 2.314
Residual 7.091 2.663
Number of obs: 10, groups: Scenario, 5
Fixed effects:
Estimate Std. Error df t value Pr(>|t|)
(Intercept) 24.944 5.186 5.063 4.810 0.00468 **
Cross_Score_Gap -3.088 1.456 5.063 -2.121 0.08667 .
TPYES -6.294 5.536 3.000 -1.137 0.33818
Cross_Score_Gap:TPYES 1.100 1.554 3.000 0.708 0.52999
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
R2m R2c
[1,] 0.46047 0.6925876
Med_CGT_N and Stop_Score_Gap
----------------------------
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: Med_CGT_N ~ Stop_Score_Gap * TP + (1 | Scenario)
Data: reg_dat
REML criterion at convergence: 35.2
Scaled residuals:
Min 1Q Median 3Q Max
-0.8110 -0.5101 -0.1397 0.0827 1.7909
Random effects:
Groups Name Variance Std.Dev.
Scenario (Intercept) 0.8961 0.9466
Residual 6.5243 2.5543
Number of obs: 10, groups: Scenario, 5
Fixed effects:
Estimate Std. Error df t value Pr(>|t|)
(Intercept) -3.849 5.777 5.914 -0.666 0.530
Stop_Score_Gap 4.189 1.292 5.914 3.243 0.018 *
TPYES 4.159 7.660 3.000 0.543 0.625
Stop_Score_Gap:TPYES -1.537 1.713 3.000 -0.897 0.436
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
R2m R2c
[1,] 0.6530961 0.6949904
In Figure XX you can see the medians of the crossing times (Cum gap time) depending on the difficulty of the scenario, Figure XX.A Cross_Score_Gap index and Figure B.XX Stop_Score_Gap index. These two figures show that the median response time increases with the difficulty of the scenario (similar to diagram X). Although it was not statistically significant, the difference between the two levels of time pressure also increases with the difficulty of the scenario.
An alternative way to analyze the Survival curves using (Cox’s) Proportional hazards model
Sir David Cox observed that if the proportional hazards assumption holds (or, is assumed to hold) then it is possible to estimate the effect parameter(s), denoted \(\hat{\beta}\) below, without any consideration of the full hazard function. This approach to survival data is called application of the Cox proportional hazards model[1], sometimes abbreviated to Cox model or to proportional hazards model[2].
Let \(X_i= (X_{1,i}, X_{2,i},...,X_{p,i})\) be the realized values of the \(p*\) covariates for subject \(i\). The hazard function for the Cox proportional hazards model has the form
\[
\begin{split}
\Lambda(t|X_i) & =\Lambda_0(t)\exp\left(\beta_1 X_{1,i}+\beta_2 X_{2,i}+...+
\beta_p X_{p,i}
\right) \\
& = \Lambda_0(t)\exp\left(X_i\beta\right)
\end{split}
\] [1] Cox, David R (1972). “Regression Models and Life-Tables”. Journal of the Royal Statistical Society, Series B. 34 (2): 187–220. JSTOR 2985181. MR 0341758.
[2] Kalbfleisch, John D.; Schaubel, Douglas E. (10 March 2023). “Fifty Years of the Cox Model”. Annual Review of Statistics and Its Application. 10 (1): 1–23. Bibcode:2023AnRSA..10….1K. doi:10.1146/annurev-statistics-033021-014043. ISSN 2326-8298.
Interaction
Call:
coxph(formula = Surv(Time, Case) ~ factor(Scenario) * TP, data = Dat_all)
n= 960, number of events= 913
coef exp(coef) se(coef) z Pr(>|z|)
factor(Scenario)2 0.37985 1.46206 0.19191 1.979 0.047777 *
factor(Scenario)3 0.05110 1.05243 0.16157 0.316 0.751779
factor(Scenario)4 0.15656 1.16949 0.16148 0.970 0.332258
factor(Scenario)5 -0.55082 0.57648 0.16407 -3.357 0.000787 ***
TPYES 0.18223 1.19988 0.18424 0.989 0.322632
factor(Scenario)2:TPYES -0.14171 0.86787 0.26512 -0.535 0.592986
factor(Scenario)3:TPYES 0.06978 1.07228 0.22642 0.308 0.757928
factor(Scenario)4:TPYES 0.10908 1.11526 0.22615 0.482 0.629554
factor(Scenario)5:TPYES 0.42822 1.53453 0.22916 1.869 0.061674 .
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
exp(coef) exp(-coef) lower .95 upper .95
factor(Scenario)2 1.4621 0.6840 1.0037 2.1297
factor(Scenario)3 1.0524 0.9502 0.7668 1.4445
factor(Scenario)4 1.1695 0.8551 0.8522 1.6049
factor(Scenario)5 0.5765 1.7347 0.4180 0.7951
TPYES 1.1999 0.8334 0.8362 1.7217
factor(Scenario)2:TPYES 0.8679 1.1522 0.5162 1.4592
factor(Scenario)3:TPYES 1.0723 0.9326 0.6880 1.6712
factor(Scenario)4:TPYES 1.1153 0.8967 0.7159 1.7373
factor(Scenario)5:TPYES 1.5345 0.6517 0.9793 2.4046
Concordance= 0.604 (se = 0.012 )
Likelihood ratio test= 79.43 on 9 df, p=2e-13
Wald test = 71.23 on 9 df, p=9e-12
Score (logrank) test = 74.36 on 9 df, p=2e-12
Analysis of Deviance Table (Type II tests)
LR Chisq Df Pr(>Chisq)
factor(Scenario) 45.562 4 3.038e-09 ***
TP 21.992 1 2.737e-06 ***
factor(Scenario):TP 7.561 4 0.1091
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
TP = NO:
Scenario response SE df asymp.LCL asymp.UCL
1 1.000 0.0000 Inf 1.000 1.000
2 1.462 0.2806 Inf 1.004 2.130
3 1.052 0.1700 Inf 0.767 1.445
4 1.169 0.1888 Inf 0.852 1.605
5 0.576 0.0946 Inf 0.418 0.795
TP = YES:
Scenario response SE df asymp.LCL asymp.UCL
1 1.200 0.2211 Inf 0.836 1.722
2 1.523 0.2799 Inf 1.062 2.183
3 1.354 0.2162 Inf 0.990 1.852
4 1.565 0.2509 Inf 1.143 2.143
5 1.061 0.1699 Inf 0.776 1.453
Confidence level used: 0.95
Intervals are back-transformed from the log scale
TP = NO:
contrast ratio SE df null z.ratio p.value
Scenario1 / Scenario2 0.684 0.131 Inf 1 -1.979 0.2867
Scenario1 / Scenario3 0.950 0.154 Inf 1 -0.316 0.9968
Scenario1 / Scenario4 0.855 0.138 Inf 1 -0.970 0.9968
Scenario1 / Scenario5 1.735 0.285 Inf 1 3.357 0.0055
Scenario2 / Scenario3 1.389 0.235 Inf 1 1.942 0.2867
Scenario2 / Scenario4 1.250 0.212 Inf 1 1.319 0.7484
Scenario2 / Scenario5 2.536 0.439 Inf 1 5.377 <.0001
Scenario3 / Scenario4 0.900 0.120 Inf 1 -0.790 0.9968
Scenario3 / Scenario5 1.826 0.252 Inf 1 4.365 0.0001
Scenario4 / Scenario5 2.029 0.279 Inf 1 5.152 <.0001
TP = YES:
contrast ratio SE df null z.ratio p.value
Scenario1 / Scenario2 0.788 0.145 Inf 1 -1.296 1.0000
Scenario1 / Scenario3 0.886 0.141 Inf 1 -0.758 1.0000
Scenario1 / Scenario4 0.767 0.123 Inf 1 -1.662 0.6754
Scenario1 / Scenario5 1.130 0.181 Inf 1 0.766 1.0000
Scenario2 / Scenario3 1.124 0.178 Inf 1 0.741 1.0000
Scenario2 / Scenario4 0.973 0.155 Inf 1 -0.173 1.0000
Scenario2 / Scenario5 1.434 0.229 Inf 1 2.261 0.2138
Scenario3 / Scenario4 0.865 0.112 Inf 1 -1.116 1.0000
Scenario3 / Scenario5 1.276 0.167 Inf 1 1.863 0.5001
Scenario4 / Scenario5 1.474 0.194 Inf 1 2.958 0.0309
P value adjustment: holm method for 10 tests
Tests are performed on the log scale
Scenario = 1:
contrast ratio SE df null z.ratio p.value
NO / YES 0.833 0.1535 Inf 1 -0.989 0.3226
Scenario = 2:
contrast ratio SE df null z.ratio p.value
NO / YES 0.960 0.1830 Inf 1 -0.213 0.8316
Scenario = 3:
contrast ratio SE df null z.ratio p.value
NO / YES 0.777 0.1022 Inf 1 -1.916 0.0553
Scenario = 4:
contrast ratio SE df null z.ratio p.value
NO / YES 0.747 0.0979 Inf 1 -2.223 0.0262
Scenario = 5:
contrast ratio SE df null z.ratio p.value
NO / YES 0.543 0.0740 Inf 1 -4.483 <.0001
Tests are performed on the log scale

Call:
coxph(formula = Surv(Cum_gap_time, Case) ~ factor(Scenario) *
TP, data = Dat_all)
n= 960, number of events= 913
coef exp(coef) se(coef) z Pr(>|z|)
factor(Scenario)2 0.24037 1.27172 0.19227 1.250 0.211222
factor(Scenario)3 -0.11879 0.88800 0.16157 -0.735 0.462196
factor(Scenario)4 0.18124 1.19870 0.16136 1.123 0.261358
factor(Scenario)5 -0.62364 0.53599 0.16459 -3.789 0.000151 ***
TPYES 0.20207 1.22393 0.18425 1.097 0.272769
factor(Scenario)2:TPYES -0.15017 0.86056 0.26524 -0.566 0.571286
factor(Scenario)3:TPYES 0.05066 1.05196 0.22636 0.224 0.822919
factor(Scenario)4:TPYES 0.07205 1.07471 0.22611 0.319 0.749977
factor(Scenario)5:TPYES 0.42431 1.52853 0.22906 1.852 0.063971 .
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
exp(coef) exp(-coef) lower .95 upper .95
factor(Scenario)2 1.2717 0.7863 0.8724 1.854
factor(Scenario)3 0.8880 1.1261 0.6470 1.219
factor(Scenario)4 1.1987 0.8342 0.8737 1.645
factor(Scenario)5 0.5360 1.8657 0.3882 0.740
TPYES 1.2239 0.8170 0.8529 1.756
factor(Scenario)2:TPYES 0.8606 1.1620 0.5117 1.447
factor(Scenario)3:TPYES 1.0520 0.9506 0.6750 1.639
factor(Scenario)4:TPYES 1.0747 0.9305 0.6900 1.674
factor(Scenario)5:TPYES 1.5285 0.6542 0.9757 2.395
Concordance= 0.609 (se = 0.011 )
Likelihood ratio test= 84.39 on 9 df, p=2e-14
Wald test = 76.58 on 9 df, p=8e-13
Score (logrank) test = 80.09 on 9 df, p=2e-13
Analysis of Deviance Table (Type II tests)
LR Chisq Df Pr(>Chisq)
factor(Scenario) 49.776 4 4.022e-10 ***
TP 22.510 1 2.091e-06 ***
factor(Scenario):TP 7.846 4 0.09739 .
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
TP = NO:
Scenario response SE df asymp.LCL asymp.UCL
1 1.000 0.0000 Inf 1.000 1.00
2 1.272 0.2445 Inf 0.872 1.85
3 0.888 0.1435 Inf 0.647 1.22
4 1.199 0.1934 Inf 0.874 1.64
5 0.536 0.0882 Inf 0.388 0.74
TP = YES:
Scenario response SE df asymp.LCL asymp.UCL
1 1.224 0.2255 Inf 0.853 1.76
2 1.339 0.2464 Inf 0.934 1.92
3 1.143 0.1823 Inf 0.836 1.56
4 1.577 0.2524 Inf 1.152 2.16
5 1.003 0.1607 Inf 0.732 1.37
Confidence level used: 0.95
Intervals are back-transformed from the log scale
TP = NO:
contrast ratio SE df null z.ratio p.value
Scenario1 / Scenario2 0.786 0.1512 Inf 1 -1.250 0.8449
Scenario1 / Scenario3 1.126 0.1819 Inf 1 0.735 0.9244
Scenario1 / Scenario4 0.834 0.1346 Inf 1 -1.123 0.8449
Scenario1 / Scenario5 1.866 0.3071 Inf 1 3.789 0.0012
Scenario2 / Scenario3 1.432 0.2430 Inf 1 2.117 0.1713
Scenario2 / Scenario4 1.061 0.1790 Inf 1 0.351 0.9244
Scenario2 / Scenario5 2.373 0.4092 Inf 1 5.010 <.0001
Scenario3 / Scenario4 0.741 0.0989 Inf 1 -2.248 0.1475
Scenario3 / Scenario5 1.657 0.2286 Inf 1 3.659 0.0018
Scenario4 / Scenario5 2.236 0.3074 Inf 1 5.856 <.0001
TP = YES:
contrast ratio SE df null z.ratio p.value
Scenario1 / Scenario2 0.914 0.1678 Inf 1 -0.491 1.0000
Scenario1 / Scenario3 1.071 0.1706 Inf 1 0.428 1.0000
Scenario1 / Scenario4 0.776 0.1239 Inf 1 -1.586 0.7884
Scenario1 / Scenario5 1.221 0.1956 Inf 1 1.244 1.0000
Scenario2 / Scenario3 1.172 0.1858 Inf 1 0.999 1.0000
Scenario2 / Scenario4 0.850 0.1348 Inf 1 -1.028 1.0000
Scenario2 / Scenario5 1.336 0.2131 Inf 1 1.815 0.5567
Scenario3 / Scenario4 0.725 0.0941 Inf 1 -2.476 0.1196
Scenario3 / Scenario5 1.140 0.1491 Inf 1 1.003 1.0000
Scenario4 / Scenario5 1.572 0.2065 Inf 1 3.447 0.0057
P value adjustment: holm method for 10 tests
Tests are performed on the log scale
Scenario = 1:
contrast ratio SE df null z.ratio p.value
NO / YES 0.817 0.1505 Inf 1 -1.097 0.2728
Scenario = 2:
contrast ratio SE df null z.ratio p.value
NO / YES 0.949 0.1811 Inf 1 -0.272 0.7855
Scenario = 3:
contrast ratio SE df null z.ratio p.value
NO / YES 0.777 0.1021 Inf 1 -1.922 0.0547
Scenario = 4:
contrast ratio SE df null z.ratio p.value
NO / YES 0.760 0.0996 Inf 1 -2.093 0.0363
Scenario = 5:
contrast ratio SE df null z.ratio p.value
NO / YES 0.535 0.0728 Inf 1 -4.602 <.0001
Tests are performed on the log scale
Main effcts
Scenario
Call:
coxph(formula = Surv(Time, Case) ~ factor(Scenario), data = Dat_all)
n= 960, number of events= 913
coef exp(coef) se(coef) z Pr(>|z|)
factor(Scenario)2 0.30940 1.36261 0.13291 2.328 0.01992 *
factor(Scenario)3 0.08416 1.08780 0.11378 0.740 0.45952
factor(Scenario)4 0.20704 1.23003 0.11414 1.814 0.06970 .
factor(Scenario)5 -0.35602 0.70046 0.11452 -3.109 0.00188 **
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
exp(coef) exp(-coef) lower .95 upper .95
factor(Scenario)2 1.3626 0.7339 1.0501 1.7681
factor(Scenario)3 1.0878 0.9193 0.8704 1.3596
factor(Scenario)4 1.2300 0.8130 0.9835 1.5384
factor(Scenario)5 0.7005 1.4276 0.5596 0.8767
Concordance= 0.583 (se = 0.013 )
Likelihood ratio test= 49.88 on 4 df, p=4e-10
Wald test = 47.57 on 4 df, p=1e-09
Score (logrank) test = 48.57 on 4 df, p=7e-10
Analysis of Deviance Table
Cox model: response is Surv(Time, Case)
Terms added sequentially (first to last)
loglik Chisq Df Pr(>|Chi|)
NULL -5486.4
factor(Scenario) -5461.5 49.876 4 3.832e-10 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Scenario response SE df asymp.LCL asymp.UCL
1 1.00 0.0000 Inf 1.000 1.000
2 1.36 0.1811 Inf 1.050 1.768
3 1.09 0.1238 Inf 0.870 1.360
4 1.23 0.1404 Inf 0.983 1.538
5 0.70 0.0802 Inf 0.560 0.877
Confidence level used: 0.95
Intervals are back-transformed from the log scale
contrast ratio SE df null z.ratio p.value
Scenario1 / Scenario2 0.734 0.0975 Inf 1 -2.328 0.1195
Scenario1 / Scenario3 0.919 0.1046 Inf 1 -0.740 0.7570
Scenario1 / Scenario4 0.813 0.0928 Inf 1 -1.814 0.2788
Scenario1 / Scenario5 1.428 0.1635 Inf 1 3.109 0.0132
Scenario2 / Scenario3 1.253 0.1449 Inf 1 1.947 0.2576
Scenario2 / Scenario4 1.108 0.1288 Inf 1 0.881 0.7570
Scenario2 / Scenario5 1.945 0.2296 Inf 1 5.637 <.0001
Scenario3 / Scenario4 0.884 0.0825 Inf 1 -1.317 0.5635
Scenario3 / Scenario5 1.553 0.1483 Inf 1 4.611 <.0001
Scenario4 / Scenario5 1.756 0.1679 Inf 1 5.889 <.0001
P value adjustment: holm method for 10 tests
Tests are performed on the log scale


Call:
coxph(formula = Surv(Cum_gap_time, Case) ~ factor(Scenario),
data = Dat_all)
n= 960, number of events= 913
coef exp(coef) se(coef) z Pr(>|z|)
factor(Scenario)2 0.17446 1.19060 0.13297 1.312 0.189529
factor(Scenario)3 -0.08996 0.91397 0.11371 -0.791 0.428896
factor(Scenario)4 0.21711 1.24248 0.11397 1.905 0.056781 .
factor(Scenario)5 -0.42889 0.65123 0.11517 -3.724 0.000196 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
exp(coef) exp(-coef) lower .95 upper .95
factor(Scenario)2 1.1906 0.8399 0.9174 1.5451
factor(Scenario)3 0.9140 1.0941 0.7314 1.1422
factor(Scenario)4 1.2425 0.8048 0.9938 1.5535
factor(Scenario)5 0.6512 1.5356 0.5196 0.8161
Concordance= 0.584 (se = 0.011 )
Likelihood ratio test= 54.03 on 4 df, p=5e-11
Wald test = 52.41 on 4 df, p=1e-10
Score (logrank) test = 53.56 on 4 df, p=6e-11
Analysis of Deviance Table
Cox model: response is Surv(Cum_gap_time, Case)
Terms added sequentially (first to last)
loglik Chisq Df Pr(>|Chi|)
NULL -5494.8
factor(Scenario) -5467.8 54.032 4 5.181e-11 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Scenario response SE df asymp.LCL asymp.UCL
1 1.000 0.000 Inf 1.000 1.000
2 1.191 0.158 Inf 0.917 1.545
3 0.914 0.104 Inf 0.731 1.142
4 1.242 0.142 Inf 0.994 1.553
5 0.651 0.075 Inf 0.520 0.816
Confidence level used: 0.95
Intervals are back-transformed from the log scale
contrast ratio SE df null z.ratio p.value
Scenario1 / Scenario2 0.840 0.1117 Inf 1 -1.312 0.5686
Scenario1 / Scenario3 1.094 0.1244 Inf 1 0.791 0.8578
Scenario1 / Scenario4 0.805 0.0917 Inf 1 -1.905 0.2271
Scenario1 / Scenario5 1.536 0.1768 Inf 1 3.724 0.0016
Scenario2 / Scenario3 1.303 0.1513 Inf 1 2.276 0.1141
Scenario2 / Scenario4 0.958 0.1109 Inf 1 -0.369 0.8578
Scenario2 / Scenario5 1.828 0.2150 Inf 1 5.130 <.0001
Scenario3 / Scenario4 0.736 0.0688 Inf 1 -3.285 0.0061
Scenario3 / Scenario5 1.403 0.1341 Inf 1 3.547 0.0027
Scenario4 / Scenario5 1.908 0.1828 Inf 1 6.743 <.0001
P value adjustment: holm method for 10 tests
Tests are performed on the log scale
Time Pressure
Call:
coxph(formula = Surv(Time, Case) ~ TP, data = Dat_all)
n= 960, number of events= 913
coef exp(coef) se(coef) z Pr(>|z|)
TPYES 0.34147 1.40701 0.06657 5.13 2.9e-07 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
exp(coef) exp(-coef) lower .95 upper .95
TPYES 1.407 0.7107 1.235 1.603
Concordance= 0.556 (se = 0.01 )
Likelihood ratio test= 26.31 on 1 df, p=3e-07
Wald test = 26.31 on 1 df, p=3e-07
Score (logrank) test = 26.56 on 1 df, p=3e-07
Analysis of Deviance Table
Cox model: response is Surv(Time, Case)
Terms added sequentially (first to last)
loglik Chisq Df Pr(>|Chi|)
NULL -5486.4
TP -5473.3 26.307 1 2.913e-07 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
TP response SE df asymp.LCL asymp.UCL
NO 1.00 0.0000 Inf 1.00 1.0
YES 1.41 0.0937 Inf 1.23 1.6
Confidence level used: 0.95
Intervals are back-transformed from the log scale
contrast estimate SE df z.ratio p.value
NO - YES -0.341 0.0666 Inf -5.130 <.0001
Results are given on the log (not the response) scale.
Call:
coxph(formula = Surv(Cum_gap_time, Case) ~ TP, data = Dat_all)
n= 960, number of events= 913
coef exp(coef) se(coef) z Pr(>|z|)
TPYES 0.34443 1.41118 0.06656 5.174 2.29e-07 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
exp(coef) exp(-coef) lower .95 upper .95
TPYES 1.411 0.7086 1.239 1.608
Concordance= 0.553 (se = 0.01 )
Likelihood ratio test= 26.77 on 1 df, p=2e-07
Wald test = 26.77 on 1 df, p=2e-07
Score (logrank) test = 27.03 on 1 df, p=2e-07
Analysis of Deviance Table
Cox model: response is Surv(Cum_gap_time, Case)
Terms added sequentially (first to last)
loglik Chisq Df Pr(>|Chi|)
NULL -5494.8
TP -5481.5 26.767 1 2.295e-07 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
TP response SE df asymp.LCL asymp.UCL
NO 1.00 0.0000 Inf 1.00 1.00
YES 1.41 0.0939 Inf 1.24 1.61
Confidence level used: 0.95
Intervals are back-transformed from the log scale
contrast ratio SE df null z.ratio p.value
NO / YES 0.709 0.0472 Inf 1 -5.174 <.0001
Tests are performed on the log scale
Correlation analysis
Scatter plots and Pearson’s correlation matrix
| Cross_Score |
1.0000 |
0.3190 |
-0.8740 |
0.8711 |
0.7005 |
0.7861 |
| Gap_Score |
0.3190 |
1.0000 |
-0.2032 |
0.5235 |
0.1866 |
0.3798 |
| Stop_Score_Gap |
-0.8740 |
-0.2032 |
1.0000 |
-0.9406 |
-0.8657 |
-0.9524 |
| Cross_Score_Gap |
0.8711 |
0.5235 |
-0.9406 |
1.0000 |
0.8180 |
0.9604 |
| LAM_T |
0.7005 |
0.1866 |
-0.8657 |
0.8180 |
1.0000 |
0.9323 |
| LAM_C |
0.7861 |
0.3798 |
-0.9524 |
0.9604 |
0.9323 |
1.0000 |
Cross_Score Gap_Score Stop_Score_Gap Cross_Score_Gap LAM_T
Scenrio 1 0.33180825 8.235468 4.286381 3.949087 1.0000000
Scenrio 2 0.35374610 7.372930 3.258095 4.114835 1.3626054
Scenrio 3 0.11052311 7.895862 5.240555 2.655307 1.0877980
Scenrio 4 0.25256623 8.043880 3.443119 4.600761 1.2300342
Scenrio 5 0.06689682 7.279143 5.629801 1.649341 0.7004612
LAM_C
Scenrio 1 1.0000000
Scenrio 2 1.1906017
Scenrio 3 0.9139713
Scenrio 4 1.2424783
Scenrio 5 0.6512315
P-values of the correlation matrix
| Cross_Score |
NA |
0.3004 |
0.0263 |
0.0272 |
0.0938 |
0.0574 |
| Gap_Score |
0.5831 |
NA |
0.3715 |
0.1826 |
0.3819 |
0.2642 |
| Stop_Score_Gap |
-3.1148 |
-0.3594 |
NA |
0.0086 |
0.0289 |
0.0062 |
| Cross_Score_Gap |
3.0724 |
1.0642 |
-4.7992 |
NA |
0.0453 |
0.0047 |
| LAM_T |
1.7002 |
0.3290 |
-2.9952 |
2.4629 |
NA |
0.0105 |
| LAM_C |
2.2026 |
0.7111 |
-5.4114 |
5.9724 |
4.4642 |
NA |
LMM analysis
The purpose of the analysis in this subsection is to see if the estimate of the median crossing time in each scenario and time pressure situation depends on the difficulty level of the scenario and the time pressure situation. The model used is LMM, the median estimator is the dependent variable, and the level of difficulty (continuous) and the blood moisture condition (binary) are the independent variables. The scenario itself was taken as a random factor.
Time and Cross_Score_Gap
------------------------
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: Lam_T ~ Cross_Score_Gap * TP + (1 | Scenario)
Data: reg_dat
REML criterion at convergence: 2.4
Scaled residuals:
Min 1Q Median 3Q Max
-0.93710 -0.44476 -0.04155 0.36502 1.08485
Random effects:
Groups Name Variance Std.Dev.
Scenario (Intercept) 0.02408 0.1552
Residual 0.01293 0.1137
Number of obs: 10, groups: Scenario, 5
Fixed effects:
Estimate Std. Error df t value Pr(>|t|)
(Intercept) 0.33685 0.28281 4.21536 1.191 0.2963
Cross_Score_Gap 0.21074 0.07938 4.21536 2.655 0.0537 .
TPYES 0.54095 0.23639 3.00000 2.288 0.1061
Cross_Score_Gap:TPYES -0.07439 0.06635 3.00000 -1.121 0.3439
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
R2m R2c
[1,] 0.6344504 0.8723009
Time and Stop_Score_Gap
-----------------------
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: Lam_T ~ Stop_Score_Gap * TP + (1 | Scenario)
Data: reg_dat
REML criterion at convergence: 0.5
Scaled residuals:
Min 1Q Median 3Q Max
-0.96695 -0.57482 0.09059 0.57092 0.83349
Random effects:
Groups Name Variance Std.Dev.
Scenario (Intercept) 0.01619 0.1272
Residual 0.01171 0.1082
Number of obs: 10, groups: Scenario, 5
Fixed effects:
Estimate Std. Error df t value Pr(>|t|)
(Intercept) 2.19152 0.35420 4.48898 6.187 0.00235 **
Stop_Score_Gap -0.26064 0.07920 4.48898 -3.291 0.02545 *
TPYES -0.12509 0.32456 3.00000 -0.385 0.72564
Stop_Score_Gap:TPYES 0.09461 0.07257 3.00000 1.304 0.28339
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
R2m R2c
[1,] 0.7159374 0.8807441
Med_CGT_N and Cross_Score_Gap
-----------------------------
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: Lam_C ~ Cross_Score_Gap * TP + (1 | Scenario)
Data: reg_dat
REML criterion at convergence: -2.8
Scaled residuals:
Min 1Q Median 3Q Max
-1.0967 -0.4928 -0.1537 0.5848 1.1849
Random effects:
Groups Name Variance Std.Dev.
Scenario (Intercept) 0.0002922 0.0171
Residual 0.0115903 0.1077
Number of obs: 10, groups: Scenario, 5
Fixed effects:
Estimate Std. Error df t value Pr(>|t|)
(Intercept) 0.21158 0.16025 5.99637 1.320 0.23489
Cross_Score_Gap 0.22609 0.04498 5.99637 5.027 0.00239 **
TPYES 0.49412 0.22382 3.00000 2.208 0.11435
Cross_Score_Gap:TPYES -0.06357 0.06282 3.00000 -1.012 0.38609
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
R2m R2c
[1,] 0.8585406 0.8620197
Med_CGT_N and Stop_Score_Gap
----------------------------
Linear mixed model fit by REML. t-tests use Satterthwaite's method [
lmerModLmerTest]
Formula: Lam_C ~ Stop_Score_Gap * TP + (1 | Scenario)
Data: reg_dat
REML criterion at convergence: -3.2
Scaled residuals:
Min 1Q Median 3Q Max
-1.01315 -0.40666 -0.02107 0.18704 1.31664
Random effects:
Groups Name Variance Std.Dev.
Scenario (Intercept) 0.00178 0.04219
Residual 0.01059 0.10292
Number of obs: 10, groups: Scenario, 5
Fixed effects:
Estimate Std. Error df t value Pr(>|t|)
(Intercept) 2.12718 0.23587 5.87833 9.018 0.000117 ***
Stop_Score_Gap -0.26267 0.05274 5.87833 -4.980 0.002652 **
TPYES -0.07907 0.30865 3.00000 -0.256 0.814379
Stop_Score_Gap:TPYES 0.08176 0.06902 3.00000 1.185 0.321443
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
R2m R2c
[1,] 0.8530046 0.874153