How to analyse data if sample size was increased after first results are known I am estimating a proportion p and believe it to be 0.8. I want to show that it is almost certainly greater than 0.7. I have done a power calculation by simulation, and I have figured out that I need n samples to be 80% sure that the lower confidence limit for p will be greater than 0.7 (given p is really 0.8)
I am using a 90% confidence interval, because this will have 95% of the probability mass greater than the lower limit.
So far, so good.
Suppose that I have done the experiments,  and I find that this lower confidence limit is not greater than 0.7. This could be due to a) my assumption of 0.8 is wrong or b) bad luck (or both)
Now someone says: We'll take another m samples, and see what lower limit we will have then. Suppose that now we are successful, and this lower limit is indeed greater than 0.7.
What do I know now ?
If I would have done n+m experiments to begin with, all would have been good. But now I have been unsuccessful with n samples, and I have chosen m by looking at the results of the first n experiments.
I don't have any data yet, I am just trying to get precise the implications of this strategy. I have seen this post data peeking and increasing sample size
but I still don't know the answer.

Not only is this situation common -- some people even deliberately design their studies for two-stage sampling. Cochran mentions in Sampling Techniques (1955) the approach known as Stein's method.
First you do a regular sample and derive the statistic of interest. Then based on the information of the first, you do a second sample designed to be of the right size to get the interval you need.
The method proceeds in much the same way as the answer you have already received from dipetkov, other than the fact that you split it up into two stages.
