Hej
Undrar om någon kan ge mig en fullständig lösning till detta problem (skulle bli jävligt glad). Jag har lösningen men förstår inte, pga att läraren har hoppat över de flesta stegen.
Tack på förhand
Let X be the number of coin tosses until heads is obtained. Suppose that
the probability of heads is unknown in the sense that we consider it to be
a random variable Y € U(0, 1).
(a) Find the distribution of X
(b) The expected value of an Fs-distributed random variable exists, as is
well known. What about E X?
(c) Suppose that the value X = n has been observed. Find the posterior
distribution of Y , that is, the distribution of Y | X = n.