Calculate the mean and standard deviation of ˆp, and plot its sampling distribution I n = 100 I n = 400 I n = 1600

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Calculate the mean and standard deviation of ˆp, and plot its sampling
distribution
I n = 100
I n = 400
I n = 1600

- Mean of \( \hat{p} = p \)

- Standard deviation of \( \hat{p} = \sqrt{\frac{p(1-p)}{n}} \)

- \( \hat{p} \sim N \left( p, \sqrt{\frac{(1-p)p}{n}} \right) \)

- Back to our example:
  - Suppose \( p = 0.40 \) prefer Biden, and \( n = 25 \)
  - Mean of \( \hat{p} = p = 0.4 \)
  - Standard deviation of \( \hat{p} = \sqrt{\frac{p(1-p)}{n}} = \sqrt{\frac{0.4(1-0.4)}{25}} = 0.098 \)

- Let's plot the sampling distribution of \( \hat{p} \):
Transcribed Image Text:- Mean of \( \hat{p} = p \) - Standard deviation of \( \hat{p} = \sqrt{\frac{p(1-p)}{n}} \) - \( \hat{p} \sim N \left( p, \sqrt{\frac{(1-p)p}{n}} \right) \) - Back to our example: - Suppose \( p = 0.40 \) prefer Biden, and \( n = 25 \) - Mean of \( \hat{p} = p = 0.4 \) - Standard deviation of \( \hat{p} = \sqrt{\frac{p(1-p)}{n}} = \sqrt{\frac{0.4(1-0.4)}{25}} = 0.098 \) - Let's plot the sampling distribution of \( \hat{p} \):
Suppose the share of the U.S. population that favors Biden is \( p \).

But the population parameter \( p \) is unknown, so we draw a random sample of size \( n \) from the population to estimate \( p \).

Each draw has a probability \( p \) of picking a voter who favors Biden, and a \( (1 - p) \) chance of picking a voter who favors Trump.

Our random sample of \( n \) can be considered a sequence of \( n \) independent observations with probability \( p \) of "success."

- If we have \( x \) successes—if \( x \) out of \( n \) in our sample supports Biden—the estimated fraction of Biden supporters is \( \hat{p} = x/n \).
- Note that \( \hat{p} \) is just the sample mean—the average number of successes, since \( X = 1 \) if they vote for Biden, 0 otherwise.

Share of intention of voters who favor Biden in a sample: \( \hat{p} \).

Share of intention of voters who favor Biden in the population \( p \).
Transcribed Image Text:Suppose the share of the U.S. population that favors Biden is \( p \). But the population parameter \( p \) is unknown, so we draw a random sample of size \( n \) from the population to estimate \( p \). Each draw has a probability \( p \) of picking a voter who favors Biden, and a \( (1 - p) \) chance of picking a voter who favors Trump. Our random sample of \( n \) can be considered a sequence of \( n \) independent observations with probability \( p \) of "success." - If we have \( x \) successes—if \( x \) out of \( n \) in our sample supports Biden—the estimated fraction of Biden supporters is \( \hat{p} = x/n \). - Note that \( \hat{p} \) is just the sample mean—the average number of successes, since \( X = 1 \) if they vote for Biden, 0 otherwise. Share of intention of voters who favor Biden in a sample: \( \hat{p} \). Share of intention of voters who favor Biden in the population \( p \).
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman