Pearson's product-moment correlation
data: employees$workload and employees$burnout
t = 19.429, df = 478, p-value < 2.2e-16
alternative hypothesis: true correlation is not equal to 0
95 percent confidence interval:
0.6111010 0.7114717
sample estimates:
cor
0.66427
t_result<-t.test(performance~training_group, data =employees)t_result
Welch Two Sample t-test
data: performance by training_group
t = -4.3995, df = 463.73, p-value = 1.347e-05
alternative hypothesis: true difference in means between group Control and group Training is not equal to 0
95 percent confidence interval:
-5.270074 -2.015756
sample estimates:
mean in group Control mean in group Training
51.96728 55.61020
cohens_d(performance~training_group, data =employees)
Cohen's d | 95% CI
--------------------------
-0.40 | [-0.59, -0.22]
- Estimated using pooled SD.
experiment<-read_csv("data/training_experiment.csv", show_col_types =FALSE)t.test(post_score~group, data =experiment)
Welch Two Sample t-test
data: post_score by group
t = -2.3536, df = 217.85, p-value = 0.01948
alternative hypothesis: true difference in means between group Control and group Training is not equal to 0
95 percent confidence interval:
-6.2358887 -0.5517717
sample estimates:
mean in group Control mean in group Training
65.10522 68.49905
Paired t-test
data: experiment$post_score[experiment$group == "Training"] and experiment$pre_score[experiment$group == "Training"]
t = 19.965, df = 104, p-value < 2.2e-16
alternative hypothesis: true mean difference is not equal to 0
95 percent confidence interval:
6.501155 7.935035
sample estimates:
mean difference
7.218095