Independent t-test analysis
An independent t-test is a parametric test to assess the difference of two group means. This test assumes variances of the groups are equal, which can be assessed using Levene's test. After running the t-test analysis, an effect size and power analysis must be computed to determine the confidence that can be had in the t-test results.
Assess whether the time a student spent on social media varied with the technology they used to access courses during COVID social distancing.
The covid
dataset, as well as the car
, pwr
, and effectsize
packages have been loaded for you.
Cet exercice fait partie du cours
A/B Testing in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Run a Levene's test
leveneTest(___, data = ___)