I'm trying to understand the difference between the Newton-Raphson
technique and the Fisher scoring
technique by calculating the first iteration for each method for a Bernoulli
sample. (I know that in this case I can explicitly and immediately calculate $\pi_{mle}$ but I want to do it iteratively just to understand and see how each method converges).
Suppose I draw a coin $n=10$ times, the real parameter $\pi_t=0.3$ is unknown to me, and I got 4 heads, so $\bar{X}=0.4$.
The score function is:
$$u(\pi) = \frac{n\bar{X}}{\pi} - \frac{n(1-\bar{X})}{1-\pi}$$
The observed fisher information is:
$$J(\pi) = -\frac{n\bar{X}}{\pi^2} - \frac{n(1-\bar{X})}{(1-\pi)^2}$$
and the expected fisher information is:
$$I(\pi) = \frac{n\pi_t}{\pi^2} + \frac{n(1-\pi_t)}{(1-\pi)^2}$$
And note that we can simplify the expected fisher information only when we evaluate it at $\pi = \pi_t$, but we don't know where that is...
Now suppose my initial guess is $\pi_0 = 0.6$
Does Newton-Raphson
simply go like this:
$$ \pi_1 = \pi_0 - u(\pi_0)/J(\pi_0)$$
?
And how does Fisher-scoring
go?
$$ \pi_1 = \pi_0 + u(\pi_0)/I(\pi_0)$$
Note that it contains $\pi_t$ which we don't know! and we can't even replace $\pi_t$ with $\pi_{mle}$ as we don't know that either - that's exactly what we're looking for...
Can you please help showing me in the most concrete possible way those 2 methods? Thanks!