Answer;
Medain for morning is 25
Median for evening is 21.5
Explanation;
Here, we want to create frequency tables for each of the given groups
We start with the morning group
The frequency table for it is as follows;
Now, we proceed to the afternoon group
We have this as follows;
Lastly, we will want to get the median value of both groups
To do this, we need to re-arrange the values in the data set in ascending or descending order
For the purpose of this solution, we shall be using the ascending order mode. Then from here, we pick out the middle value
For the morning group, we have;
12, 19,21, 23,25,27,31,36,39
Since the numbers are 9, the middle number will be the 5th number since it leaves equal spread of values on the left and right
Thus, we have the median value as 25
The afternoon set, we have it as;
8,8,11,15,16,27,34,39,43,51
We proceed to choose the mid 5th values comig from both ends
We have this as;
We have these values as; 16 and 27
We add these and divide by 2
We have this as;