16

Which question has the highest # of upvotes to views ratio?

I suppose the answer might be a new question with 1 upvote and 2 views, so we should put some constraints on this query.

Perhaps the data scientists here can come up with some useful constraints. Maybe questions with over 20 views?


This question popped up after writing the title. Replacing avg with max in the best answer's query yields 1 which is what I wanted to avoid.

2

1 Answer 1

23

You're right, questions with low views will dominate this statistic. For questions with at least 100 views, the best ratio is 0.2 upvotes/view for WiX localization garbled words under installer properties tab. For at least 1000 views, the ratio drops to 0.09 upvotes/view for Display a MPI typemap. (Naturally, expect those ratios to change as people find this question and click on those links.)

Here's the SQL I ran to find those questions:

select top 50 cast(count(v.Id) as float) / p.ViewCount as ratio, p.id as [Post Link]
    from Votes v, Posts p
    where v.VoteTypeId = 2
        and p.Id = v.PostId
        and p.posttypeid = 1
        and p.ViewCount > 1000
    group by p.ViewCount, p.id
    order by ratio desc

It was adapted from the answer by Robert Longson that you linked to. You can run it with different values in the data explorer: Questions with highest upvotes to views ratio

5
  • 5
    Maybe have those stats per tag instead of per question (aka, which tag has the highest upvotes compared to views) could also be interesting.
    – Cœur
    Commented May 9, 2018 at 11:37
  • 17
    Anyone who clicked the first linked question must do if (viewCount % 5 == 0) { upvote(); }, otherwise this answer won't be valid soon :-)...
    – vojta
    Commented May 9, 2018 at 12:01
  • @Cœur Yes, that would make sense. I noticed that the few posts that I clicked on were in relatively low-traffic tags, even for ViewCount > 1000. When I add in the clause and p.Tags like '%python%' the top votes/views ratio drops about in half. Commented May 9, 2018 at 12:19
  • 1
    I suppose that makes sense. Questions tagged with popular tags (about popular topics) would have low ratios since everyone is searching for them, and not everyone has an account. Running your query seems to confirm this. We see the top ratios for questions about relatively obscure topics.
    – pushkin
    Commented May 9, 2018 at 14:59
  • 1
    I doubt the linked question will be a valid answer for very long, since this question is now in HOT META POSTS.
    – Miriam
    Commented May 10, 2018 at 15:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .