Calculate the mean and standard deviation of ˆp, and plot its sampling distribution I n = 100 I n = 400 I n = 1600
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
Related questions
Question
Calculate the
distribution
I n = 100
I n = 400
I n = 1600

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} \):

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

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman