
MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
expand_more
expand_more
format_list_bulleted
Question
please send handwritten solution for Q 2
![Problem 1: Asking Embarrassing Questions, Politely
When doing polling, for instace to figure out how popular a given candidate is, a common trick is to just ask N
many people whether they support that candidate, and take the support to be the faction of people who say yes: if 70
people support the candidate out of 100 asked, we estimate the support at 70% or 0.7. Suppose that the probability
a person supports a candidate is p, which you do not know. Let PN be the fraction of N people polled who support
the candidate: total supporters divided by N people polled.
1) What is the distribution of N * Pn?
2) Show hat the expected value of pN is p, i.e., pN is a valid estimator for p.
If you want your estimated value of p to be accurate, you want your 'error' on pN to be small.
3) How many people N should you poll to guarantee the erpected squared error on pN is less than e?
4) How many people N should you poll to guarantee the expected squared error on py is less than e, even if you
don't know p?
In the previous to problems, we considered the average or expected squared error. But just because the expected
error is small doesn't mean the actual error is small.
5) How many people N should you poll to guarantee the actual error on PN is less than e with 95% confidence,
even if you don't know p?
However, a problem with polling is whether or not people are willing to answer honestly. If a question might be
viewed as shameful or embarrassing (about politics, sexual activity, or whatever people are sensitive about), they
may be reluctant to answer honestly.
A potential solution to this is the following: when asking whether they support or do not support a given candidate,
give the people you are polling the following instructions: flip a fair coin privately, and if it comes up HEADS, answer
honestly; if it comes up TAILS, flip another fair coin and if it comes up HEADS, answer 'support', if it comes up
TAILS, answer do not 'support'. In this case, the person being polled can always claim that whatever they answered
was the result of the coin in a sense, the results are anonymized and the people being polled are protected.
Let p be the probability that a randomly polled person using this method says 'support'; let q be the true probability
a random person actually supports the candidate. We would like to know the value of q, but we can only estimate
the value of p: let pn be the fraction of N people who answer 'support' using this method. We have that ElPN] = p,
as before.
7) What is the relationship between q and p?
8) Construct an estimator qy from PN (i.e., a formula for ĝn in terms of pN) so that the expected value ElâN] = q.
What is the variance of ĝn?
9) How many people N should you poll to guarantee the actual error between qn and q is less than e, with 90%
confidence? Note, q is unknown, so you cannot use it to determine N.](https://content.bartleby.com/qna-images/question/1d48ea68-6d7d-476d-9ed5-87a181f9a485/247126c8-8139-4308-9b10-d655a75e85fd/7lnl1gs_thumbnail.jpeg)
Transcribed Image Text:Problem 1: Asking Embarrassing Questions, Politely
When doing polling, for instace to figure out how popular a given candidate is, a common trick is to just ask N
many people whether they support that candidate, and take the support to be the faction of people who say yes: if 70
people support the candidate out of 100 asked, we estimate the support at 70% or 0.7. Suppose that the probability
a person supports a candidate is p, which you do not know. Let PN be the fraction of N people polled who support
the candidate: total supporters divided by N people polled.
1) What is the distribution of N * Pn?
2) Show hat the expected value of pN is p, i.e., pN is a valid estimator for p.
If you want your estimated value of p to be accurate, you want your 'error' on pN to be small.
3) How many people N should you poll to guarantee the erpected squared error on pN is less than e?
4) How many people N should you poll to guarantee the expected squared error on py is less than e, even if you
don't know p?
In the previous to problems, we considered the average or expected squared error. But just because the expected
error is small doesn't mean the actual error is small.
5) How many people N should you poll to guarantee the actual error on PN is less than e with 95% confidence,
even if you don't know p?
However, a problem with polling is whether or not people are willing to answer honestly. If a question might be
viewed as shameful or embarrassing (about politics, sexual activity, or whatever people are sensitive about), they
may be reluctant to answer honestly.
A potential solution to this is the following: when asking whether they support or do not support a given candidate,
give the people you are polling the following instructions: flip a fair coin privately, and if it comes up HEADS, answer
honestly; if it comes up TAILS, flip another fair coin and if it comes up HEADS, answer 'support', if it comes up
TAILS, answer do not 'support'. In this case, the person being polled can always claim that whatever they answered
was the result of the coin in a sense, the results are anonymized and the people being polled are protected.
Let p be the probability that a randomly polled person using this method says 'support'; let q be the true probability
a random person actually supports the candidate. We would like to know the value of q, but we can only estimate
the value of p: let pn be the fraction of N people who answer 'support' using this method. We have that ElPN] = p,
as before.
7) What is the relationship between q and p?
8) Construct an estimator qy from PN (i.e., a formula for ĝn in terms of pN) so that the expected value ElâN] = q.
What is the variance of ĝn?
9) How many people N should you poll to guarantee the actual error between qn and q is less than e, with 90%
confidence? Note, q is unknown, so you cannot use it to determine N.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 3 steps with 5 images

Knowledge Booster
Similar questions
- A company produces steel rods. The lengths of the steel rods are normally distributed with a mean of 126.3-cm and a standard deviation of 2.5-cm. For shipment, 22 steel rods are bundled together. Find the probability that the average length of rods in a randomly selected bundle of steel rods is less than 124.8-cm. P(X < 124.8-cm) = %3D Round to 4 decimal places. Answers obtained using exact z-scores or z-scores rounded to 2 decimal places are accepted.arrow_forwardPlease solvearrow_forward
Recommended textbooks for you
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman

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