I’m working with some colleagues on a project and we are in doubt about the most appropriate way to calculate the popularity of a certain product. I’d like to hear your opinion on options that we have (or suggest others, if you have them!).
Let’s say we want to know how the popularity of pizza in Milano changes over the years. We know how many pizza are served every year in total (tot_pizza), how many of each kind of pizza (e.g. n_margherita), and how many restaurants there are (n_restaurants). All these variables can change year by year.
How would you calculate the average popularity of a kind of pizza in a year?
Please comment explaining the reasons for your choice.
- Option 1: margherita_popularity = n_margherita / n_restaurants
- Option 2: margherita_popularity = n_margherita / tot_pizza
- Option 3: margherita_popularity = n_margherita / tot_pizza * n_restaurants
- Option 4: margherita_popularity = n_margherita / tot_pizza / n_restaurants