I have two random variables: $n_1$ and $n$.
$$n_1 \sim \textrm{Bin}(m, p_1g)\\ n\sim \textrm{Bin} (m, (p_1g+p_0(1-g)))$$
What would be distribution of (or at least expectation and variance) of $n_1/n?$
$p_0,p_1,g \in (0,1).$
This is based a a small model that I am working on but this stats part is where I am stuck.
Model: There's a population of size $N$. $g$ fraction is of type $1$ and rest $0$.
$m$ are randomly approached but type $1$ is available with probability $p_1$ and others with $p_0$.
It is observed that total $n$ are available of which $n_1$ are type 1.
I am looking to estimate $g$ from this data but first wish to prove that $n_1/n$ is a biased estimate of $g$. Further my hunch is that itay not even be consistent. And even if it is then the rate of decrease of variance would be slower than what it would have been, had $p_0=p_1$.
Hopefully my derivation of distribution are correct $n, n_1$. They are not independent clearly.
I have also run simulations and the intuition about variance seems to be correct. I am still lost about how to get a good estimate of g.