Density Plots
Mixed Effect Models
# Notes

Density Plots

Time to Check summary stats

vars n mean sd min max range se
X1 1 815 92.12025 489.3706 1 9300 9299 17.1419


## 
## Call:
## lm(formula = TimetoCheck ~ Exam.., data = df)
## 
## Residuals:
##    Min     1Q Median     3Q    Max 
## -153.3  -79.9  -57.6  -44.0 9145.7 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)  
## (Intercept)   60.957     35.832   1.701   0.0893 .
## Exam..2       93.360     48.331   1.932   0.0537 .
## Exam..3        1.616     48.778   0.033   0.9736  
## Exam..4       20.940     50.811   0.412   0.6804  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 488.7 on 811 degrees of freedom
##   (2 observations deleted due to missingness)
## Multiple R-squared:  0.006506,   Adjusted R-squared:  0.002831 
## F-statistic:  1.77 on 3 and 811 DF,  p-value: 0.1513

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: TimetoCheck ~ Exam.. + Q253 + (1 | id)
##    Data: df
## 
## REML criterion at convergence: 12348.5
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -1.8242 -0.2026 -0.0803 -0.0061 18.0828 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  id       (Intercept)  26571   163.0   
##  Residual             212921   461.4   
## Number of obs: 815, groups:  id, 184
## 
## Fixed effects:
##             Estimate Std. Error      df t value Pr(>|t|)   
## (Intercept)  272.611     88.643 445.620   3.075  0.00223 **
## Exam..2      104.286     46.108 622.750   2.262  0.02406 * 
## Exam..3       26.646     47.064 653.679   0.566  0.57147   
## Exam..4       46.675     49.322 657.956   0.946  0.34432   
## Q253          -3.063      1.176 396.366  -2.604  0.00956 **
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##         (Intr) Exm..2 Exm..3 Exm..4
## Exam..2 -0.252                     
## Exam..3 -0.156  0.541              
## Exam..4 -0.108  0.518  0.528       
## Q253    -0.914 -0.034 -0.133 -0.172


Mixed Effect Models


PTQ

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: TimetoCheck ~ PTQscore + (1 | id)
##    Data: df
## 
## REML criterion at convergence: 11711.9
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -1.3338 -0.1550 -0.1033 -0.0521 18.9893 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  id       (Intercept)  14287   119.5   
##  Residual             209135   457.3   
## Number of obs: 774, groups:  id, 183
## 
## Fixed effects:
##             Estimate Std. Error      df t value Pr(>|t|)  
## (Intercept)   26.316     37.011  99.644   0.711   0.4787  
## PTQscore       2.745      1.568 101.784   1.750   0.0831 .
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##          (Intr)
## PTQscore -0.859


PHQ

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: TimetoCheck ~ DEPscore + (1 | id)
##    Data: df
## 
## REML criterion at convergence: 12386.8
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -1.7339 -0.1423 -0.1217 -0.0967 18.2655 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  id       (Intercept)  25831   160.7   
##  Residual             216218   465.0   
## Number of obs: 815, groups:  id, 184
## 
## Fixed effects:
##             Estimate Std. Error      df t value Pr(>|t|)    
## (Intercept)  103.070     27.749 157.526   3.714 0.000282 ***
## DEPscore      -1.084      3.791 327.333  -0.286 0.775039    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##          (Intr)
## DEPscore -0.677


GAD

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: TimetoCheck ~ GADscore + (1 | id)
##    Data: df
## 
## REML criterion at convergence: 12386.4
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -1.6726 -0.1429 -0.1202 -0.0927 18.2647 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  id       (Intercept)  24468   156.4   
##  Residual             217091   465.9   
## Number of obs: 815, groups:  id, 184
## 
## Fixed effects:
##             Estimate Std. Error      df t value Pr(>|t|)   
## (Intercept)   86.584     28.082 167.178   3.083   0.0024 **
## GADscore       2.306      4.115 319.041   0.560   0.5756   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##          (Intr)
## GADscore -0.693


Grade Predictions

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: TimetoCheck ~ Q253 + (1 | id)
##    Data: df
## 
## REML criterion at convergence: 12382.1
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -1.8281 -0.1644 -0.0922 -0.0454 18.1872 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  id       (Intercept)  25845   160.8   
##  Residual             214187   462.8   
## Number of obs: 815, groups:  id, 184
## 
## Fixed effects:
##             Estimate Std. Error      df t value Pr(>|t|)    
## (Intercept)  320.657     85.668 387.504   3.743 0.000209 ***
## Q253          -3.087      1.152 407.705  -2.679 0.007684 ** 
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##      (Intr)
## Q253 -0.971


Interaction: Grade prediction * PTQ Score

## Linear mixed model fit by REML. t-tests use Satterthwaite's method [
## lmerModLmerTest]
## Formula: TimetoCheck ~ Q253 * PTQscore + (1 | id)
##    Data: df
## 
## REML criterion at convergence: 11694.7
## 
## Scaled residuals: 
##     Min      1Q  Median      3Q     Max 
## -2.2114 -0.1399 -0.0778 -0.0114 18.3874 
## 
## Random effects:
##  Groups   Name        Variance Std.Dev.
##  id       (Intercept)  23086   151.9   
##  Residual             198214   445.2   
## Number of obs: 774, groups:  id, 183
## 
## Fixed effects:
##                Estimate Std. Error        df t value Pr(>|t|)    
## (Intercept)   -320.8793   170.6544  388.1042  -1.880 0.060818 .  
## Q253             4.7645     2.2710  392.0147   2.098 0.036544 *  
## PTQscore        31.7238     7.9036  470.5712   4.014 6.95e-05 ***
## Q253:PTQscore   -0.3972     0.1059  474.0130  -3.751 0.000198 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Correlation of Fixed Effects:
##             (Intr) Q253   PTQscr
## Q253        -0.974              
## PTQscore    -0.857  0.839       
## Q253:PTQscr  0.833 -0.856 -0.978
#

Notes

#