Problem 1: Asking Embarrassing Questions, Politely When doing polling, for instance 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 * p,? 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 PN 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.
Problem 1: Asking Embarrassing Questions, Politely When doing polling, for instance 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 * p,? 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 PN 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.
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
solution for Q5
![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 * p,?
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 p, 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 ĝn and q is less than e, with 90%
confidence? Note, q is unknown, so you cannot use it to determine N.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F1d48ea68-6d7d-476d-9ed5-87a181f9a485%2F58b2b7b1-8ae0-42e9-b328-3917da8f3d1d%2Ffdog1ys_processed.jpeg&w=3840&q=75)
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 * p,?
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 p, 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 ĝn and q is less than e, with 90%
confidence? Note, q is unknown, so you cannot use it to determine N.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
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](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
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…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
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](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman