Which test should be used one samples t test, independent samples t test or dependent samples t test. What do you set the hypothesis as

Five people who were convicted of speeding were ordered by the court to attend a workshop. A special device put into their cars kept records of their speeds for two weeks before and after the workshop. The maximum speeds for each person during the two weeks before and the two weeks after the workshop are shown below. Using a two-tailed test, determine whether the workshop worked in reducing their speed.

There is data for these 5 people before and after the class.

You have two sets of data and since it is the same people in both groups this is a dependent test.

So will the hypothesis be Ho:md=0 and H1:md is not equal to 0

here are the scores for before 65,62,60,70,68 and after 58,55,56,66,60

what formulas do I use to start solving for t

use dependent samples t test. Set hypothesis so what formula will I use to solve

Five people who were convicted of speeding were ordered by the court to attend a workshop. A special device put into their cars kept records of their speeds for two weeks before and after the workshop. The maximum speeds for each person during the two weeks before and the two weeks after the workshop are shown below. Using a two-tailed test, determine whether the workshop worked in reducing their speed.

here are the scores for before 65,62,60,70,68 and after 58,55,56,66,60
hypothesis be Ho:md=0 and H1:md is not equal to 0

In this scenario, you are comparing the maximum speeds of the same individuals before and after the workshop. Since you are comparing the same group of individuals under two different conditions (before and after the workshop), you should use a dependent samples t-test.

To set up the hypothesis, you need to establish a null hypothesis (H0) and an alternative hypothesis (H1). In this case, the null hypothesis assumes that the workshop did not have any effect on reducing their speed, while the alternative hypothesis assumes that the workshop did have an effect on reducing their speed.

Your hypotheses can be defined as follows:

Null hypothesis (H0): The workshop did not have an effect on reducing their speed
Alternative hypothesis (H1): The workshop did have an effect on reducing their speed

Once you have set up your hypotheses, you can proceed with conducting the dependent samples t-test and analyzing the results to determine whether the workshop had a significant effect on reducing their speed.