My data shows the daily number of logins per person over the last three months.
I am modelling the number of events per person per day as a Poisson process. I am interested in estimating the population parameter $\lambda$ that represents the expected number of logins for any given person on any given day.
Given my data, how should I go about this? For instance, the data for the first customer (customer_id == 1
) looks as follows:
customer_id | date | logins |
---|---|---|
1 | 2023-05-01 | 0 |
1 | 2023-05-02 | 2 |
... | ... | ... |
1 | 2023-07-30 | 3 |
1 | 2023-07-31 | 1 |
My intuition was to simply calculate the mean of logins
. However, I saw this thread and made me question if this approach is indeed the correct one.
I can see that my estimator is unbiased, but are there any downsides to simply calculating the mean? What alternatives are there?