When calculating the weighted mean for different means of groups of data, the total data for each group is multiplied to the mean of the group and the sum of results for all the groups is divided by the overall total number of the data.
Let the sample size of the group with a mean of 22 be x and the sample size of the group with a mean of 36 be y.
The weighted mean is given by
[tex] \frac{22x+36y}{x+y} =26 \\ \\ \Rightarrow22x+36y=26(x+y)=26x+26y \\ \\ \Rightarrow26x-22x=36y-26y \\ \\ \Rightarrow4x=10y \\ \\ \Rightarrow \frac{x}{y} = \frac{10}{4} = \frac{5}{2} [/tex]
From the above, it can be seen that the ratio of the sample size of the group with a mean of 22 to the sample size of the group with a mean of 36 is 5 : 2.
Therefore, the group with a mean of 22 had the larger sample size.