I have a collection of products that could be rated as good or bad. Every product has a grade, that is the sum of "good" votes minus the sum of "bad" votes. These products are also split into two categories. What I want to do is compare both categories and see which category has better product grades.
This would be simple if all products had the same popularity. We have extremely popular products with hundreds of votes and not-so-popular products with less than 10 votes. It's clear that ten "good" votes have different impacts on the final grades of each product depending on its popularity.
One information that could help me to consider the product's popularity would be the number of views each product received. More visits = more popular. But what I don't know is how to use this information to help me compare the products equally. Is using its grade divided by its popularity (views) enough ?