Exercise 3: Correlations and t-tests
Use data/training_experiment.csv and data/employee_survey.csv.
- Calculate the correlation between workload and burnout.
- Describe the post-score mean and SD in each experimental group.
- Run a two-sided Welch t-test comparing post-scores.
- Write (H_0) and (H_1) in words.
- Suppose the directional hypothesis was pre-specified as “Training produces higher post-scores than Control.” Create explicit Training and Control vectors and run
alternative = "greater". - Compare the one-sided and two-sided outputs. Why are they different?
- Calculate Cohen’s (d).
- Run a paired t-test comparing pre- and post-scores within the Training group.
- Write a four-sentence results interpretation that distinguishes statistical evidence from managerial importance.
- Explain why choosing the one-sided direction after seeing the data would be inappropriate.