In the unbalanced table, recovery under A is 4/54/5 for men and 2/52/5 for women.

Among patients receiving treatment A, 88 of 1010 men and 4040 of 100100 women recover. Is the pooled recovery rate a weighted average of the two within-sex rates, and what are the weights?

Yes. The weights are the sex counts in A, 10/11010/110 and 100/110100/110:

10110⋅45+100110⋅25=48110.\frac{10}{110}\cdot\frac{4}{5}+\frac{100}{110}\cdot\frac{2}{5}=\frac{48}{110}.

The weights are not 1/21/2 and 1/21/2.