Mathematics
Mathematics, 07.11.2019 00:31, bob7220

In this question we will use a basic example to learn about bayesian statistics, which models parameters with prior distributions (sometimes to indicate uncertainty in our beliefs). suppose that you have a coin which may not be fair. its parameter p, which is the chance of landing heads, could in theory lie anywhere in the range [0, 1]. you flip this coin one time and let x draw some conclusions about p. let's choose a prior distribution for this parameter, and assume that p is drawn from a uniform[0, 1] distribution. heads, and now would like to (a) write down a hierarchical model for this scenario, which should be of the form (some variable) ~(some distribution) (some other variable) | (the first variable) ~(some distribution) (b) now calculate the following: for any t e [0, 1], find p(p < t, x 0) and p(p t, x 1). to do these calculations, you are working with a joint distribution where one variable is discrete and one is continuous; intuitive rules will apply for combining integrals and sums, etc. for example it's fine to write p(x = 1 | p = p) = p. (c) finally calculate the conditional distribution of p, given that you observe x = 1. to do this, start with the conditional cdf, i. e. p(pt|x 1), then get the density. in bayesian statistics, the conditional distribution of p given our observed value of x, is called the posterior distribution for p-meaning its distribution after observing the data (which in this case is x, the data from tossing the coin)

answer
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 15:00, bige556
Cherie measures and records the lengths and sizes of the same style of a sandal found at a shoe store. which equation can be used to determine the approximate shoe size, s, for a foot length of x inches? s = x – 2 s = 2x – 10 s = x + 6 s = 2x + 4
Answers: 3
image
Mathematics, 21.06.2019 21:00, hartzpeyton136
The description below represents function a and the table represents function b: function a the function is 5 more than 3 times x. function b x y −1 2 0 5 1 8 which statement is correct about the slope and y-intercept of the two functions? (1 point) their slopes are equal but y-intercepts are not equal. their slopes are not equal but y-intercepts are equal. both slopes and y intercepts are equal. neither slopes nor y-intercepts are equal.
Answers: 3
image
Mathematics, 22.06.2019 01:00, adenn3693
Suppose 38 lbs of coffee beans are required to produce 2 lbs of farmer's coffee. how many lbs of coffee beans are required to produce 309 lbs of farmer's coffee?
Answers: 1
image
Mathematics, 22.06.2019 01:40, hunt231
Which of these statements is correct? the system of linear equations 6x - 5y = 8 and 12x - 10y = 16 has no solution. the system of linear equations 7x + 2y = 6 and 14x + 4y = 16 has an infinite number of solutions. the system of linear equations 8x - 3y = 10 and 16x - 6y = 22 has no solution. the system of linear equations 9x + 6y = 14 and 18x + 12y = 26 has an infinite number of solutions.
Answers: 2
Do you know the correct answer?
In this question we will use a basic example to learn about bayesian statistics, which models parame...

Questions in other subjects: