>You cannot conclude that USA has excellent educational system if it delivers the great outcomes for certain advantaged subgroups.
If group B has characteristics that make education more difficult relative to group A (e.g. lower mean IQ), then if there are two countries with identical educations systems, the one with more students of group B will end up with worse educational outcomes, just because group B are harder to educate regardless of the system.
If group B has characteristics that make education more difficult relative to group A (e.g. lower mean IQ), then if there are two countries with identical educations systems, the one with more students of group B will end up with worse educational outcomes, just because group B are harder to educate regardless of the system.