# Compare result from two different set of observations with different sampling

An experiment is to be performed for the one month. However due to some problem it could be performed only for certain number of days in that month. Out of these days when experiment was performed, some days are less reliable. The outcome of the experiment is an event which can be true or false. During each month of experiments, certain number of events are detected. Some of these events are detected during the perfect data conditions while the others are observed when data is less reliable. (total m1+n1 events recorded where m1 is during perfect conditions and n1 is for less reliable conditions) Similar experiment is performed for another month. Experiment for second month also results in a certain number of events. However, for this month the days when data is available and days when the available data is perfect is different. (total m2+n2 events recorded where m2 is during perfect conditions and n2 is for less reliable conditions) My question is how do I compare between the event count for these two months. What sort of normalization I need to perform to make these two results comparable. The idea is depicted in the following figure:

Would be thankful if you can point me in the right direction.