I see it as a levels of analysis issue. Look at the african countries. The represent basically one "race"-- africans. And, within that race alone, skin color clearly associates with IQ (I deleted the data from my stats package, but it would be interesting to go back and do the correlations just on "black" countries).
And with that comment you've just demonstrated an abysmal ignorance of human genetics.
The fact is that
within Africa there is more genetic variation than in all of the races found in the rest of the world combined! Take a genetic characteristic like, say, height. The tallest people in the world are from Africa. There are groups that average 7' in height. The shortest people in the world are the Pygmies, who
also from Africa. Hmm...
Let's go look at sports. If you look at any Western country's Olympic track and field team you'll see that skin colour varies according to the length of race. Blacks are better at short sprints, and whites are better at marathons. (Even countries like Canada and Germany manage to find blacks to run the shortest sprints.) But there is a reason for that, and the reason is that the blacks in Western countries mostly come from Western Africa, where there is a racial type that is very good at sprinting. But where do the best marathon runners in the world come from? Oh right, Kenya. Which is in
Eastern Africa. (Not so well-sampled by the slave trade.) Hmm...
I'm just giving you a couple of anecdotal examples here. But genetics bears this out. There is more variation within Africa than in the rest of the world in the vast majority of genetic traits.
Yet to you blacks are all blacks, completely indistinguishable. Just one race. And, being blacks, are genetically inferior. And, of course, anyone who looks back. For instance Caucasians from India have to be stupider than Caucasians from Germany because they are blacker.
That theory, on the face of it, is absurd. You're asserting genetic similarities across groups that you'd expect to be genetically very different. Let's try an alternate hypothesis on. And that is that IQ measurements are dependent on cultural factors, such as the ways that others treat you. And we have a cultural bias towards treating lighter-skinned people better. Now it doesn't matter how much genetic variation there is among black people, there will be a pervasive bias that is exactly dependent on skin colour.
Hmmm...that fits the data. And it explains the genetics as well.
Cheers,
Ben