I'm trying to understand how a frequentist would approach statements like "having observed X, the probability of Y happening is Z".
For concreteness, let's say we conducted $n_1$ identical, independent Bernoulli trials, and observed $n_1$ successes and 0 failures. We want to attach a probability to the statement "the next $n_2$ trials will also all succeed".
The Bayesian approach is straightforward: choose a prior for the Bernoulli parameter $p$, let's say a Beta distribution $\mathrm{Beta}(\alpha, \beta)$, incorporate the likelihood of the first $n_1$ observations to obtain a posterior, then compute the expected value of the probability of $n_2$ additional successes according to the posterior. If I'm not mistaken, the result is:
$$\text{Prob}(\text{$n_2$ additional successes}) = \frac{B(\alpha+n_1+n_2, \beta)}{B(\alpha+n_1,\beta)}$$
I'm less sure about how a frequentist would look at the problem. Here is what I think. We decide a priori that we are going to make our claims according to the following decision tree:
If there is any failure in $n_1$ trials, then make no claim.
If there are no failures in $n_1$ trials, then claim that there will be no failures in the next $n_2$ trials.
The probability that this decision tree will lead to make an incorrect claim is:
$$\text{Prob}(\text{incorrect claim}) = p^{n_1}(1-p^{n_2})$$
and this probability is maximized if the Bernoulli parameter is $$p_{\text{worst case}} = \left( \frac{n_1}{n_1+n_2}\right)^{\frac{1}{n_2}}$$
So the probability of making an incorrect claim, in the worst case scenario, is: $$\text{Prob}(\text{incorrect claim, worst case}) = \frac{n_2}{n_1+n_2}\left(\frac{n_1}{n_1+n_2}\right)^{\frac{n_1}{n_2}}$$
And this would lead me to conclude that, from a frequentist point of view:
$$\text{Prob}(\text{$n_2$ additional successes}) = 1 - \frac{n_2}{n_1+n_2}\left(\frac{n_1}{n_1+n_2}\right)^{\frac{n_1}{n_2}}$$
Here the meaning of the probability is that if the experiment is repeated many times, for every time that the decision tree leads to claim there will be $n_2$ additional successes, the claim will wrong at most this fraction of the time, regardless of the true value of $p$.
I am suspicious of this approach mainly because it appears to be less conservative than the Bayesian, for any reasonable choice of the prior.