Let $X$ be Binomial with parameters $n$ and $p$. What upper bound depending on both $n$ and $p$ is there for $\mathbb E[|\frac{1}{n}X-p|]$?
Background: I need good control over the asymptotics (in $n$) of the expectation, uniformly in $p$.
Standard: Use the formula in terms of the cdf, then Hoeffding's inequality and the Gaussian integral to get $\mathbb E[|\frac{1}{n}X-p|]\le\sqrt{\frac{\pi}{2n}}$. This bound does not depend on $p$.
Advanced: Replace Hoeffding's inequality by the Chernoff-Hoeffding Theorem. This gives the bound $\mathbb E[|\frac{1}{n}X-p|]\le\int_0^1\exp(-nD(q\|p))\mathrm{d}q$. But how to proceed from here?
I did some research and came up with two bounds. Let $P=\frac{1}{n}X$ be the empirical success probability.
Comparing $\sqrt{p(1-p)}$ with $\sqrt{\pi/\varphi(p)}$ yields that the first bound is better throughout.