If $X, Y$ are two sets of observations of two random scalar (univariate) variables, one can determine if the expected values of the two variables are unequal, with appropriate tests. My question is: what happens when the observations are not precise?
Say, the observations are tuples $X_i=(a_i, b_i)$, $Y_j=(c_j, d_j)$. The pair $(a_i, b_i)$ denotes that the i-th observation of the first random variable is anywhere between $a_i$ and $b_i$, with an uniform probability in that interval. Generally, $b_i - a_i$ will not be constant across i, same for the other set of tuples. The application is biological data, where an expert provides estimates of variables that cannot be determined precisely (anymore), only as an interval.
I'd like to determine, whether the two samples have different expected values, ideally with some p-value.
My first idea was to calculate a PDF for each of the interval sets and to numerically integrate their "overlap area", which should yield the p-value. Is this line of thinking correct? Can anyone come up with different ideas?