Hacker News new | ask | show | jobs
by NumberCruncher 3297 days ago
>> An average, successful candidates interviewing in Python define 3.29 functions, whereas unsuccessful candidates define 2.71 functions. This finding is statistically significant.

The "average" is too sensitive to outliers and should not be used for such a comparison...

[Edit] Being bored I calculated the Kolmogorov-Smirnov statistic based on the chart. It is between 10%-10.5%. The number of defined funtions seems to be a significant but weak indicator.

2 comments

We actually did the KS test as well, but we omitted the results for narrative clarity. Our KS test statistic is also < 0.05.
I would recommend you to put also the more sophisticated results (like K-S tests etc.) in the blogpost. For people interested in technical interviews and charts they may be more important than narrative clarity.
Soon to be a clickbait article: "7 simple ways to hack your interviews. #1: Define 10,000 functions. That makes you a good programmer"
4 functions will do. You just need to be above average. 5, just to be safe.