Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. (a) Voters will decide a statewide referendum soon and must vote either Yes or No. You want to draw a sample and then compute

4. (a) Voters will decide a statewide referendum soon and must vote either "Yes" or "No." You want to draw a sample and then compute the percentage that will vote "Yes." What is the size of the sample in order to be able to say the following: The probability is 95% that the true population percentage is equal to the sample percentage, plus or minus 2.5 percentage points.

(b) A news reader reporting the evening news, says "A random sample of 800 voters shows that 55% favor Candidate A over Candidate B with a margin of error of 3 percentage points." What piece of important piece of statistical information is missing from this statement?

5a. The equation of the quadratic prior is ______________________________.

The expected value of the prior (i.e., the value that maximizes the quadratic prior) is _______.

Copy your Excel graph of the prior and posterior probability density functions.

5b. Using the prior distribution, what is the probability that the proportion of times the event E occurs is between 40% and 60%? _________________

Using the posterior distribution, what is the probability that the proportion of times the event E occurs is between 40% and 60%? ___________________

***All the information below pertains to problems 5A and 5B***

image text in transcribedimage text in transcribedimage text in transcribed
5. Let X be a random variable that follows the beta distribution. This random variable is continuous and is dened over the interval 'om 0 to 1. The probability density function is given by Jc"'_l(lJc)'_1 (31)!(;31)! (a+,81).r where a and ,8 are integers, whose values determine the shape of the probability density function. BecauseX varies between 0 and 1, we can think of X as the probability that some event (say) E occurs or the proportion of times an event occurs in some population. For example, E could denote the event that a critical part in a newly designed car will lead to a catastrophic failure in accidents at high speeds. x): The expected value (i.e., mean) of this random variable is [a I\" (a + ,8) ]. That is, E(X)::. The Excel commands for the beta random variable are =beta.dist(x, a , ,6 ,true,0,1 J for the cumulative probability distribution, and =beta.dist(x, a , ,6 ,false,0,1 J for the probability density function. (a) Now, think in Bayesian terms. Previously EB) denoted prior probability; and P(B) was a single number between 0 and 1, such as, for example, P(B) = .7. Now, the prior is an entire probability density function f(x) . For example, f(x) is the prior probability density for the event E described above. Assume that a: = ,6 =2. Show that this Bayesian prior f (x) is a quadratic. Also, graph this function in Excel as follows: In Column A, set x = 0, and then incrementx by .01 in successive rows until you reachx = 1.0. That is, the values in Column A are 0, .01, .02, ...., .99, 1.00. In Column B, calculate the corresponding values of f (x) . Draw a graph in Excel with x on the horizontal axis and f(x) on the vertical axis. This prior probability density function represents your beliefs (for whatever reasons) about the probability of event E occurring. At what value of x is the quadratic maximized [which is the expected value of X because of the symmetry of f (x) ]? You conduct 1? tests and find that the event E occurs in 711 of these 11 tests. It turns out that the posterior probability density function also has a beta distribution. [In Bayesian theory parlance, we say that the beta distribution is a conjugate prior when the likelihood function is binomial] The new Excel commands for the posterior density become =beta.dist(x, a + #11 , ,6 +n- n1 ,true,0, l) for the cumulative probability distribution, and =beta.dist(x, o: + r11 , ,8+n- 111 ,false,0,1) for the probability density function. Suppose your 19' = 10 tests and in r11: 2 cases the event E occurs (still keeping o: = (3:2). [These tests are expensive because they involve intentionally crashing cars at high speeds, which, of course, destroys the test cars in order to determine whether there will be a critical failure of the part being tested] In Column C, calculate the values of the posterior probability density function for x = 0, .01, .02: .99, 1.00 and graph it on the same chart as you graphed the prior probability density function. (b) Using the prior distribution, what is the probability that the proportion of times the event E occurs is between 40% and 60%? Using the posterior distribution, what is the probability that the proportion of times the event E occurs is between 40% and 60%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elementary Differential Equations

Authors: William E Boyce, Richard C DiPrima, Douglas B Meade

11th Edition

1119169879, 9781119169871

More Books

Students also viewed these Mathematics questions