Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

An election is being held. There are two candidates, A and B, and there are n voters. The probability of voting for Candidate A varies

An election is being held. There are two candidates, A and B, and there are n voters. The probability of voting for Candidate A varies by city. There are m cities, labeled 1, 2, . . . , m. The jth city has nj voters, so n1 + n2 + + nm = n.Let Xj be the number of people in the jth city who vote for Candidate A, with Xj|pj Bin(nj, pj ). To reflect our uncertainty about the probability of voting in each city, we treat p1, . . . , pm as r.v.s, with prior distribution asserting that they are i.i.d. Unif(0, 1). Assume that X1, . . . , Xm are independent, both unconditionally and conditional on p1, . . . , pm.

(a) Find the marginal distribution of X1 and the posterior distribution of p1|X1 = k1.

(b) Find E(X) and Var(X) in terms of n and s, where s = n21 + n22 + + n2m.

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

Numerical Analysis

Authors: Richard L. Burden, J. Douglas Faires

9th edition

538733519, 978-1133169338, 1133169333, 978-0538733519

More Books

Students also viewed these Mathematics questions