Two groups of teenagers are randomly assigned to listen to music while driving. One group listened to classical music and the other group listened to rock music. Afterwards, the number of errors made while driving was recorded for each group.
What is the independent variable?
What is the dependent variable?
Is the dependent variable discrete or continuous?
What is the scale of measurement of the dependent variable?