I'm having a bit of trouble with a simple question.
I have data for a product, amount and days on which it was sold, that when plotted as a cumulative histogram follows an exponential cdf. I want to predict how many items are sold in the next x days. For this I sample my exponential cdf x times and sum up the result.
I would now like to reduce the deviation by repeating the above process a number of times and taking the mean of the different results. Until now I have used a large hard-coded number but there has to be a formula for calculating my sample size, i.e. the minimum number of times I need to rerun my simulation to obtain a certain confidence interval.
Any help is appreciated.