Foreigners make better programmers

We have recently been recruiting a couple of new programmers at Neurobat. This time we submitted the candidates to an online programming test, which consists of a couple of (relatively) simple programming assignments to be completed in a given time.

Out of about 100 applications, 34 were given this test. I have collected the data from these programming tests to see whether any personal factors correlated with the applicant’s performance. The results suggest that the candidate’s country of origin has the biggest influence on the final score.

Out of these 34 candidates, 10 were from France, 5 from Switzerland, and the others from other countries. 6 came from outside of Europe.

Here I show the boxplots for the normalized test scores, where I plotted separately the swiss and the french candidates, and lumped everybody else in a third category. The boxplots are sorted by increasing median.

programming_scores

There is a clear trend suggesting that the further away a candidate comes from, the higher their test scores. However, I must stress that with such low statistics the difference is not statistically significant. An analysis of variance test on the test scores against a simple 2-valued factor (swiss vs non-swiss) gives an F-value for one degree of freedom of 2.076, i.e. a p-value of 0.163. Similarly, a Wilcoxon rank sum test gives a p-value of 0.1698.

Nevertheless, the trend seems to be there, and there is some anecdotal evidence to support it. I can think of at least three hypotheses to explain it:

  1. Skilled swiss-born programmers have no difficulty finding jobs in larger, better-paid companies and have little incentive to apply to small startups such as Neurobat.
  2. Skilled swiss-born programmers tend to leave the country after graduation, whereas only the best and brightest foreign-born programmers are able to get the necessary work permits and/or scholarships to come to this country.
  3. The swiss educational system, especially in the field of computer science, sucks (for lack of a better word).

Comments? Questions? Remarks? Feel free to post your observations below.

6 thoughts on “Foreigners make better programmers

  1. Another factor might be on how you decided which 34 applicant will get the test, and your own bias in “sampling”

  2. Very interesting post. That bright swiss-born individuals choose a different career path is a 4th explanation.

    1. I’ve tried your suggestion and I get a message saying:

      […] some notches went outside hinges (‘box’): maybe set notch=FALSE

      The resulting boxplots have notches that extend beyond the boxes themselves, is this something expected?

  3. @Olivier I’m pretty sure there was no bias in the selection of which 34 applicants were given the test. Almost all applications were replies to a couple of job ads we placed, I believe, on jobup.ch. I screened all applications and selected only those that seemed to have the highest probability of being a good fit for the job; my criteria included but were not limited to: a) having experience in more than the “usual” programming languages, and b) having at least one personal project under their belt.

    In particular, I can attest that there was no bias against people whose work permit might prove particularly difficult to obtain. I agree, though, that local candidates appear underrepresented in this sample (5 out of 34 candidates). I would need to check whether this proportion reflects the actual proportion of local vs non-local applications, or whether our selection criteria filtered out more local than non-local candidates.

    @Ceki I’m not sure I understand what you mean by “different career path”. Do you mean that bright swiss-born individuals tend not to pursue programming as a career?

Comments are closed.