Let $X_1,X_2,\ldots,X_n$ be a random sample from a Bernoulli($θ$) distribution with probility function $P(X=x)= (θ^x)(1-θ)^{1-x},\qquad x=0,1;\ 0 < θ < 1.$
$dl/dθ = [n \overline{x}/θ] \cdot (n-n\overline{x})/(1-θ)$ <-- Is it this that's wrong? :/ Got help with this too (Perhaps you can tell stats isn't my best subject)
Show that $E[(dl(θ)/dθ)] = 0$
Apologies, exam in a couple of days in a mad scattered panic!
When I first did this I integrated by accident, then I diffentiated and got a very strange answer and wasn't sure how to bring it to zero.