Session Ready
Exercise

Conditions for inference

Before you can start hypothesis testing, you need to think about the conditions that are necessary for inference.

To do this, you'll need to obtain sample sizes to check the conditions. You can compute the group size using the same by command above by replacing mean with length.

Instructions
100 XP

Check if the conditions for inference are satisfied by computing the group sizes of the babies' weight over the categories habit.