Matching CBS Ids for Nick’s Data

## Number of removed participant rows in D4dat_O_grouping: 1
## Number of removed participant rows in D4dat_grouping: 6

Matching CBS-IDs to All Steph’s Participants (Sleep/Control)

## Number of removed participant rows in D4_data_wide: 16

Correlation for All Participants (Nick - old + young, Steph - Sleep + Wake) with Select CBS Variables

## Sample Size: 145

Correlation for All Participants (Nick - Young + Old, Steph - Sleep + Wake) with all CBS Variables

## Sample Size: 145

Correlation for Nick’s Entire Sample

## Sample Size: 84

Correlation for Nick’s Old

## Sample Size: 37

Correlation for Nick’s Young

## Sample Size: 47

Correlation for Steph’s Entire Sample

## Sample Size: 61

Correlation for Steph - Sleep including PSG Data

## Sample Size: 33

Correlation for Steph - Wake

## Sample Size: 28

Correlation for Sleep Only (Nick - Old + Young, Steph - sleep only)

## Sample Size: 117

Scatterplot Det Difference Score (Time 2 - 1) Vs. CBS-GR

Note that “sleep” refers to Steph’s sleep group while young and old are Nick’s samples.

Scatterplot Det Difference Score (Time 2 - 1) Vs. CBS-OO

Scatterplot Det Difference Score (Time 2 - 1) Vs. CBS-RO

Scatterplot Det Difference Score (Time 2 - 1) Vs. CBS-PA

Scatterplot Seq Difference Score (Time 2 - 1) Vs. CBS-GR

Scatterplot Seq Difference Score (Time 2 - 1) Vs. CBS-OO

Scatterplot Seq Difference Score (Time 2 - 1) Vs. CBS-RO

Scatterplot Seq Difference Score (Time 2 - 1) Vs. CBS-PA

CBS Histograms

Multiple Linear Regression for CBS and Sequence Details

The following linear regression is performed for Nick’s young participants and all of Steph’s participants and considers whether the 4 CBS variables predict the sequence difference scores for 3 time points
## Response Seq_difference_score_time2_time1 :
## 
## Call:
## lm(formula = Seq_difference_score_time2_time1 ~ final_score_raw_gr + 
##     final_score_raw_oo + correct_answers_oo + errors_made_oo + 
##     final_score_raw_ro + avg_score_raw_pa, data = regression_data)
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -0.19848 -0.05620 -0.01025  0.06349  0.25123 
## 
## Coefficients:
##                      Estimate Std. Error t value Pr(>|t|)
## (Intercept)         2.005e-02  9.585e-02   0.209    0.835
## final_score_raw_gr  3.420e-03  2.311e-03   1.480    0.142
## final_score_raw_oo  4.741e-03  3.026e-02   0.157    0.876
## correct_answers_oo -1.055e-02  3.042e-02  -0.347    0.729
## errors_made_oo      7.580e-03  2.998e-02   0.253    0.801
## final_score_raw_ro -8.130e-06  3.405e-04  -0.024    0.981
## avg_score_raw_pa    4.330e-03  1.833e-02   0.236    0.814
## 
## Residual standard error: 0.09791 on 95 degrees of freedom
##   (6 observations deleted due to missingness)
## Multiple R-squared:  0.04644,    Adjusted R-squared:  -0.01378 
## F-statistic: 0.7711 on 6 and 95 DF,  p-value: 0.5945
## 
## 
## Response Seq_difference_score_time3_time2 :
## 
## Call:
## lm(formula = Seq_difference_score_time3_time2 ~ final_score_raw_gr + 
##     final_score_raw_oo + correct_answers_oo + errors_made_oo + 
##     final_score_raw_ro + avg_score_raw_pa, data = regression_data)
## 
## Residuals:
##       Min        1Q    Median        3Q       Max 
## -0.189430 -0.061716 -0.008552  0.076626  0.194044 
## 
## Coefficients:
##                      Estimate Std. Error t value Pr(>|t|)  
## (Intercept)        -0.1133007  0.0928966  -1.220   0.2256  
## final_score_raw_gr -0.0054658  0.0022394  -2.441   0.0165 *
## final_score_raw_oo -0.0622652  0.0293294  -2.123   0.0364 *
## correct_answers_oo  0.0669727  0.0294869   2.271   0.0254 *
## errors_made_oo     -0.0606107  0.0290530  -2.086   0.0396 *
## final_score_raw_ro -0.0000418  0.0003300  -0.127   0.8995  
## avg_score_raw_pa    0.0306621  0.0177611   1.726   0.0875 .
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.0949 on 95 degrees of freedom
##   (6 observations deleted due to missingness)
## Multiple R-squared:  0.1002, Adjusted R-squared:  0.04335 
## F-statistic: 1.763 on 6 and 95 DF,  p-value: 0.1151
## 
## 
## Response Seq_difference_score_time3_time1 :
## 
## Call:
## lm(formula = Seq_difference_score_time3_time1 ~ final_score_raw_gr + 
##     final_score_raw_oo + correct_answers_oo + errors_made_oo + 
##     final_score_raw_ro + avg_score_raw_pa, data = regression_data)
## 
## Residuals:
##       Min        1Q    Median        3Q       Max 
## -0.254003 -0.065127  0.004668  0.065755  0.295938 
## 
## Coefficients:
##                      Estimate Std. Error t value Pr(>|t|)  
## (Intercept)        -9.325e-02  1.027e-01  -0.908   0.3662  
## final_score_raw_gr -2.046e-03  2.476e-03  -0.826   0.4107  
## final_score_raw_oo -5.752e-02  3.243e-02  -1.774   0.0793 .
## correct_answers_oo  5.642e-02  3.260e-02   1.731   0.0868 .
## errors_made_oo     -5.303e-02  3.212e-02  -1.651   0.1021  
## final_score_raw_ro -4.993e-05  3.648e-04  -0.137   0.8914  
## avg_score_raw_pa    3.499e-02  1.964e-02   1.782   0.0780 .
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.1049 on 95 degrees of freedom
##   (6 observations deleted due to missingness)
## Multiple R-squared:  0.0702, Adjusted R-squared:  0.01147 
## F-statistic: 1.195 on 6 and 95 DF,  p-value: 0.3155

Multiple Linear Regression for CBS and Spindles

The following linear regression is performed for Steph’s sleep participants only and considers whether the 4 CBS variables predict the spindle variables for three timepoints
## Response avg_spindle_count :
## 
## Call:
## lm(formula = avg_spindle_count ~ final_score_raw_gr + final_score_raw_oo + 
##     correct_answers_oo + errors_made_oo + final_score_raw_ro + 
##     avg_score_raw_pa, data = regression_data)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -405.04 -125.74   14.09  104.08  424.48 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)  
## (Intercept)        1461.079    551.762   2.648   0.0150 *
## final_score_raw_gr    8.055     11.240   0.717   0.4815  
## final_score_raw_oo -169.063     95.181  -1.776   0.0902 .
## correct_answers_oo  174.884    106.146   1.648   0.1143  
## errors_made_oo     -157.494     95.435  -1.650   0.1138  
## final_score_raw_ro   -3.039      2.028  -1.499   0.1488  
## avg_score_raw_pa     -9.811     80.969  -0.121   0.9047  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 230.3 on 21 degrees of freedom
##   (5 observations deleted due to missingness)
## Multiple R-squared:  0.3264, Adjusted R-squared:  0.134 
## F-statistic: 1.696 on 6 and 21 DF,  p-value: 0.1713
## 
## 
## Response avg_spindle_count_N2 :
## 
## Call:
## lm(formula = avg_spindle_count_N2 ~ final_score_raw_gr + final_score_raw_oo + 
##     correct_answers_oo + errors_made_oo + final_score_raw_ro + 
##     avg_score_raw_pa, data = regression_data)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -372.37  -94.94    1.35  110.32  529.16 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)  
## (Intercept)         958.889    563.532   1.702   0.1036  
## final_score_raw_gr    0.714     11.480   0.062   0.9510  
## final_score_raw_oo -115.162     97.212  -1.185   0.2494  
## correct_answers_oo  119.933    108.410   1.106   0.2811  
## errors_made_oo     -112.749     97.471  -1.157   0.2604  
## final_score_raw_ro   -4.239      2.071  -2.046   0.0534 .
## avg_score_raw_pa     84.570     82.697   1.023   0.3181  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 235.2 on 21 degrees of freedom
##   (5 observations deleted due to missingness)
## Multiple R-squared:  0.2849, Adjusted R-squared:  0.08053 
## F-statistic: 1.394 on 6 and 21 DF,  p-value: 0.2631
## 
## 
## Response avg_spindle_count_N3 :
## 
## Call:
## lm(formula = avg_spindle_count_N3 ~ final_score_raw_gr + final_score_raw_oo + 
##     correct_answers_oo + errors_made_oo + final_score_raw_ro + 
##     avg_score_raw_pa, data = regression_data)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -333.61 -118.97    1.43  111.11  397.34 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)
## (Intercept)         502.190    456.469   1.100    0.284
## final_score_raw_gr    7.341      9.299   0.789    0.439
## final_score_raw_oo  -53.901     78.743  -0.685    0.501
## correct_answers_oo   54.951     87.814   0.626    0.538
## errors_made_oo      -44.745     78.953  -0.567    0.577
## final_score_raw_ro    1.199      1.678   0.715    0.483
## avg_score_raw_pa    -94.381     66.985  -1.409    0.173
## 
## Residual standard error: 190.5 on 21 degrees of freedom
##   (5 observations deleted due to missingness)
## Multiple R-squared:  0.174,  Adjusted R-squared:  -0.062 
## F-statistic: 0.7373 on 6 and 21 DF,  p-value: 0.6255
## 
## 
## Response fixed_avg_coupled_spindles :
## 
## Call:
## lm(formula = fixed_avg_coupled_spindles ~ final_score_raw_gr + 
##     final_score_raw_oo + correct_answers_oo + errors_made_oo + 
##     final_score_raw_ro + avg_score_raw_pa, data = regression_data)
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -233.365  -88.990    6.224  103.690  209.058 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)  
## (Intercept)         686.585    343.666   1.998   0.0589 .
## final_score_raw_gr    5.114      7.001   0.730   0.4732  
## final_score_raw_oo   -6.123     59.284  -0.103   0.9187  
## correct_answers_oo  -14.741     66.113  -0.223   0.8257  
## errors_made_oo        6.046     59.442   0.102   0.9200  
## final_score_raw_ro    1.644      1.263   1.301   0.2073  
## avg_score_raw_pa    -47.364     50.432  -0.939   0.3583  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 143.4 on 21 degrees of freedom
##   (5 observations deleted due to missingness)
## Multiple R-squared:  0.162,  Adjusted R-squared:  -0.07738 
## F-statistic: 0.6768 on 6 and 21 DF,  p-value: 0.6698
## 
## 
## Response fixed_avg_uncoupled_spindles :
## 
## Call:
## lm(formula = fixed_avg_uncoupled_spindles ~ final_score_raw_gr + 
##     final_score_raw_oo + correct_answers_oo + errors_made_oo + 
##     final_score_raw_ro + avg_score_raw_pa, data = regression_data)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -171.34  -91.00  -26.80   68.63  263.78 
## 
## Coefficients:
##                    Estimate Std. Error t value Pr(>|t|)  
## (Intercept)         290.183    323.097   0.898   0.3793  
## final_score_raw_gr    2.586      6.582   0.393   0.6984  
## final_score_raw_oo -101.903     55.736  -1.828   0.0817 .
## correct_answers_oo  125.447     62.156   2.018   0.0565 .
## errors_made_oo     -104.912     55.884  -1.877   0.0744 .
## final_score_raw_ro   -2.499      1.188  -2.104   0.0476 *
## avg_score_raw_pa      2.505     47.414   0.053   0.9584  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 134.8 on 21 degrees of freedom
##   (5 observations deleted due to missingness)
## Multiple R-squared:  0.3534, Adjusted R-squared:  0.1687 
## F-statistic: 1.913 on 6 and 21 DF,  p-value: 0.1258
## 
## 
## Response fixed_avg_coupled_spindles_percent :
## 
## Call:
## lm(formula = fixed_avg_coupled_spindles_percent ~ final_score_raw_gr + 
##     final_score_raw_oo + correct_answers_oo + errors_made_oo + 
##     final_score_raw_ro + avg_score_raw_pa, data = regression_data)
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -0.17806 -0.05752 -0.01996  0.07842  0.16315 
## 
## Coefficients:
##                      Estimate Std. Error t value Pr(>|t|)   
## (Intercept)         0.8374693  0.2362109   3.545  0.00192 **
## final_score_raw_gr  0.0026283  0.0048120   0.546  0.59069   
## final_score_raw_oo  0.0275334  0.0407474   0.676  0.50660   
## correct_answers_oo -0.0527991  0.0454413  -1.162  0.25830   
## errors_made_oo      0.0344075  0.0408559   0.842  0.40918   
## final_score_raw_ro  0.0015913  0.0008682   1.833  0.08105 . 
## avg_score_raw_pa   -0.0207339  0.0346632  -0.598  0.55613   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.09858 on 21 degrees of freedom
##   (5 observations deleted due to missingness)
## Multiple R-squared:  0.2172, Adjusted R-squared:  -0.006494 
## F-statistic: 0.971 on 6 and 21 DF,  p-value: 0.4686