Suppose I have a large set of receipts that list the items I bought, but only list the total cost. One day I might have bought Milk, Butter, and Eggs. A different day I might have bought Bread, Milk, and Cereal. What I would like to do is fit a distribution of the price of each item.
To keep things simple, let's assume the price of each item is modeled by a Gaussian distribution (probably not ideal, since the prices can't be negative, but we'll start with this). And to make things even simpler, I assume that the distributions of Bread, Milk, etc. are independent from one another.
This means that $\mu_{total} = \mu_{Bread} + \mu_{Eggs} + ...$ and $\sigma^2_{total} = \sigma^2_{Bread} + \sigma^2_{Eggs} + ...$, which seems like it should make things straightforward. Here's what I've tried that didn't work:
My first thought was to find MLE estimates for each of the $\mu_{Bread}$, etc. However, when I take the partial derivatives of the log-likelihood function, I get a function that also depends on all the other $\mu_{Eggs}, \mu_{Milk}$, etc.
That made me think that maybe I should use EM, but I can't think of what would be the latent variable here.
I considered stochastic gradient descent, but I'm worried that the space will be non-convex.
I've also thought about using a Gaussian mixture model, but that doesn't seem appropriate since each receipt doesn't come from a single sub-population.
What would be a good way to infer the $\mu$ and $\sigma$ for each individual item?