A Data Analyst is studying the ages of a group of participants in a survey. The ages of the participants are: 22, 25, 27, 29, 29, and 30. The analyst calculates the mean (average) and the median age of the group.
Calculate the mean and median ages of the participants.
The mean age is given by the formula:
$$ ext{Mean} =\frac{ ext{Sum of all ages}}{ ext{Number of participants}} $$
The median is determined by arranging the ages in order and finding the middle value. If there is an even number of values, the median is the average of the two middle values.