I've got a dataset with observations about how long since an event occured for each subject (e.g. how many days since a subject visited the site). The subjects are divided into two groups (e.g. related to in what way they unsubscribed from the page). The groups are of different sizes as well.
I want to find out if there are a difference in the mean expected number of days before the event happens dependent on what group the subject are in.
The problem is that the distribution is heavily skewed. If it had been normaly distributed, I would just run a regular T-test. So what do I do now when the distribution is heavily skewed, and a t-test is not working?
This is the distribution of the data:
Im doing my computations in R, so a solution to how to do it there would be great as well.