Skip to main content
2 of 3
Fixed grammar to clarify "why a user stops playing," understanding of the potential regression model was unclear without the edit.

To use the right model and analysis

I have a dataset data that contains user, game_played, amount_spent and amount_won. So head(data) gives

user  game  amount_spent  amount_won
14    4     186           120
14    2     200           80
10    2     65            100

I want to investigate why a user stop playing if it is because the game or/and if a user loses.

What would be the right way to do this?

My approach would be this: We divide data in two groups good and bad where good contains users that play for a long time whereas bad contains user that stop playing very fast.

Then one way is to find the most popular game for a fixed user in the two group and test if there is a difference.

Another way is to calculate amount_spent-amount_won for users in the two group and then test if there is a difference between the two groups.

Is this the right approach or is there a better one?

Thanks.