This is the third in a series of posts about StackOverflow statistics. First I wrote about reputation. Then a couple days ago I wrote about users and votes on StackOverflow. Now this post answers three questions about questions.
- How many answers do question typically get?
- How many votes do questions typically get?
- Do questions with more answers also get more votes?
The following graph shows the distribution of answers per question.
At the time the data were collected, there were almost 126,000 questions. Only 134 of these had no answers. (This seems suspiciously small, but I’ll take it at face value for now.) Around 18% of questions had one answer, 23% had two answers, 18% had three answers, and the number of answers declines steadily from there. The median number of votes was 3, and the average was 4.2. About 98% of questions had 15 or fewer answers. Only 51 questions had more than 100 answers.
But a few questions had an extreme number of answers. The question “How old are you, and how old were you when you started coding?” had the most answers at 1,203. (Usually the StackOverflow moderators shut down frivolous questions, but they let this one go on a while for fun.)
Turning to votes, the following graph shows the distribution of number of votes per question.
About 29% of the questions had not yet received any votes when the data were collected. About 99% of questions had 16 or fewer votes. The median number of votes was 1 and the mean was 2.45. Only 49 questions had more than 100 votes. (Note that we’re looking at total votes, up and down, not score. Score will typically be lower since votes can be negative.)
Finally, how do votes and reputation go together? Do questions with more answers also get more votes and vice versa? There’s definitely an association between number of votes and number of answers. (Technically, Spearman’s rank correlation rho was 0.49.) Answers and votes tend to increase together, though there’s plenty of variation in the number of votes that the number of answers does not explain.