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 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 ĝy? 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, a is unknown, so vou cannot use it to determine N.

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
please send handwritten solution for Q 1
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.
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
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