I have samples from many related binomial distributions. In the case where I have only hundreds of samples, some of the sample sizes are also in the hundreds. In the case where I only have dozens of samples, most of the sample sizes are in the thousands. Each sample shows an $\bar{x}_i$ as an estimate of $p_i$.
I accept the assumption that $p/(1-p)$ is log-normally distributed across all the samples. (Or at least among the population of possible $p$'s, from which my sample of samples is drawn, which is close enough.)
If I knew the lognormal parameters, then for each sample, I could find the maximum likelihood of $p$, given the pdf of the lognormal and the pdf of the normal that approximates the binomial, with its sample size.
But first I need to look at the set of samples to estimate the lognormal parameters. And in some cases, $\bar{x}$ will be 0 or 1. Obviously, the large samples should have greater weight than the small samples in determining the mean of $\log(p/(1-p))$. Is there some reasonably fast computation that will give me the lognormal parameters, then I can then use to regress each of the samples to the mean.