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.
Este ejercicio forma parte del curso
A/B Testing in R
Ejercicio interactivo práctico
Prueba este ejercicio y completa el código de muestra.
# Run a Levene's test
leveneTest(___, data = ___)