Get startedGet started for free

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.

This exercise is part of the course

A/B Testing in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Run a Levene's test
leveneTest(___, data = ___)
Edit and Run Code