Let $N$ be a random variable taking values $1,2,...,n$, with known probabilities $p_1,p_2,...,p_n$, where $\sum_i p_i = 1$. Furthermore let $X \sim binomial(N,\theta)$.
Consider now the estimator $\frac{X}{N}$ and show that $E(\frac{X}{N}) = \theta$, and $Var(\frac{X}{N}) = \theta(1-\theta)E(\frac{1}{N})$
So far Im struggling to find the expected value. I know that $E(\frac{X}{N}) = E(X) \cdot E(\frac{1}{N}) = n \theta E(\frac{1}{N}).$
The formula for $E(\frac{1}{N})$ is $E(\frac{1}{N}) = \sum_i \frac{1}{i} p_i$ but not sure how to determine this sum.
Also not sure what formula to apply to calculate the variance.
Would appreciate any help.