document.write( "Question 1174870: We have a random variable X = total number of success in n trials.
\n" ); document.write( "If X is b(n,p) and assume n is some fixed number and p is to be estimated. Define the random variable p hat = X/n. Show that P hat is an unbiased estimator of p.
\n" ); document.write( "

Algebra.Com's Answer #850630 by CPhill(1987)\"\" \"About 
You can put this solution on YOUR website!
Let's break down how to show that p̂ (p-hat) = X/n is an unbiased estimator of p.\r
\n" ); document.write( "\n" ); document.write( "**1. Definitions**\r
\n" ); document.write( "\n" ); document.write( "* **X:** The total number of successes in n trials.
\n" ); document.write( "* **X ~ b(n, p):** X follows a binomial distribution with n trials and probability of success p.
\n" ); document.write( "* **p̂ = X/n:** The estimator for p.
\n" ); document.write( "* **Unbiased Estimator:** An estimator is unbiased if its expected value is equal to the true parameter it's estimating. In this case, we need to show E[p̂] = p.\r
\n" ); document.write( "\n" ); document.write( "**2. Expected Value of X**\r
\n" ); document.write( "\n" ); document.write( "* Since X ~ b(n, p), the expected value of X is:
\n" ); document.write( " * E[X] = np\r
\n" ); document.write( "\n" ); document.write( "**3. Expected Value of p̂**\r
\n" ); document.write( "\n" ); document.write( "* We want to find E[p̂] = E[X/n].
\n" ); document.write( "* Using the linearity of expectation, we can write:
\n" ); document.write( " * E[p̂] = E[X/n] = (1/n) * E[X]\r
\n" ); document.write( "\n" ); document.write( "**4. Substitute E[X]**\r
\n" ); document.write( "\n" ); document.write( "* Substitute E[X] = np into the equation:
\n" ); document.write( " * E[p̂] = (1/n) * (np)\r
\n" ); document.write( "\n" ); document.write( "**5. Simplify**\r
\n" ); document.write( "\n" ); document.write( "* E[p̂] = (np)/n
\n" ); document.write( "* E[p̂] = p\r
\n" ); document.write( "\n" ); document.write( "**Conclusion**\r
\n" ); document.write( "\n" ); document.write( "Since E[p̂] = p, we have shown that p̂ = X/n is an unbiased estimator of p. This means that, on average, the sample proportion (p̂) will equal the true population proportion (p).
\n" ); document.write( "
\n" ); document.write( "
\n" );