To find the mean time spent shopping for each group, we need to add up all the times and divide by the number of values.
For Group A:
Mean = (18 + 20 + 46 + 34 + 58 + 31 + 41) / 7 = 248 / 7 = 35.4 minutes
For Group B:
Mean = (15 + 21 + 32 + 42 + 29 + 57 + 39) / 7 = 235 / 7 = 33.6 minutes
The mean time Group A spent shopping is 35.4 minutes and the mean time Group B spent shopping is 33.6 minutes.
To find the difference in the mean times, we subtract the mean time for Group B from the mean time for Group A:
35.4 - 33.6 = 1.8
Therefore, the mean times Group A and Group B spent shopping differ by 1.8 minutes.