Caffeine and Sleep Deprivation on Reaction Time
This 2×2 factorial experimental-psychology study evaluates how caffeine (yes/no) and sleep condition (rested/deprived) independently and jointly affect reaction time on a cognitive task, with 80 participants randomly assigned across the four cells.
- To describe reaction_time_ms across the caffeine and sleep conditions.
- To determine whether reaction_time_ms differs across caffeine and sleep.
| Column | Kind | Missing | Distinct |
|---|---|---|---|
| participant_id | text | 0 | 80 |
| caffeine | categorical | 0 | 2 |
| sleep | categorical | 0 | 2 |
| reaction_time_ms | numeric | 0 | 77 |
Detected a comparative design with 3 analyzable variable(s) and 2 analytical question(s). Recommended 3 statistical test(s). Estimated cost: 34 credits.
| n | max | min | std | mean | mode | range | median | variable | variance |
|---|---|---|---|---|---|---|---|---|---|
| 80 | 512.100 | 327.800 | 50.745 | 415.284 | 385.400 | 184.300 | 406.800 | reaction_time_ms | 2575.087 |
| F | df | kind | effect | p value | significant | partial eta sq |
|---|---|---|---|---|---|---|
| 376.660 | 1 | main | caffeine | 0.000 | true | 0.832 |
| 325.043 | 1 | main | sleep | 0.000 | true | 0.810 |
| 47.753 | 1 | interaction | caffeine × sleep | 0.000 | true | 0.386 |
The result is statistically significant (p = 0.0000 < 0.05).
Publication-ready report
Tests used · Results · Discussion — generated from the computed statistics.
Download the exact Jupyter notebook or Python script that reproduces these results with widely-used libraries (scipy, statsmodels, lifelines).
Run your own study
Bring your problem statement, objectives, and a dataset — thericerca does the rest.
Get started →