I have a data set of occurrences per day and I want to see if the day of the week has an influence. However the data is biased: of all the days on which we measured, 22 are Mondays, but only 18 are Sundays.
| M| T| W| T| F| S| S|
h_i|60|46|47|57|52|37|33| //total number of occurrences per given day of the week
w_i|22|22|19|22|20|20|18|
I have ultimately decided to leave the $h_i$ as they are and formulate the expectation as $E_i = \frac{w_i}{\sum_i w_i}N$ where $N=\sum h_i$
But my first idea was to normalize the $h_i$ to $\frac{h_i}{w_i} \cdot \frac{N}{\sum_i \frac{h_i}{w_i}}$ (normalize by day, then normalization constant so that it adds up to $N$ again)
This yields different statistics and when inserting them in the formula I can see that they differ. But why? It seems so intuitive. I could have been given normalized data, what then?