A random variable X is generated as follows. We flip a coin. With probability p , the result is Heads, and then X is generated according to a PDF f X|H which is uniform on [0,1] . With probability 1−p the result is Tails, and then X is generated according to a PDF f X|T of the form
f X|T (x)=2x,if x∈[0,1]. (The PDF is zero everywhere else.)
1. What is the (unconditional) PDF f X (x) of X ? For 0≤x≤1 : f X (x)=
2. Calculate E[X] .
A random variable X is generated as follows. We flip a coin. With probability p ,...
2. Calculate E[X].
2. The MAP rule decides in favor of Heads if
X<a and in favor of Tails if
X>a. What is a?
A random variable X is generated as follows. We flip a coin. With probability p, the result is Heads, and then X is generated according to a PDF fxh which is uniform on (0,1). With probability 1-p the result is Tails, and then X is generated according to a PDF fxt of the form fxT (2)...
A defective coin minting machine produces coins whose probability of heads is a random variable P with PDF peP, p [0,1], otherwise fp(p) A coin produced by this machine is selected and tossed repeatedly, with successive tosses assumed independent. (a) Find the probability that a coin toss results in heads. (b) Given that a coin toss resulted in heads, find the conditional PDF of P (c) Given that a first coin toss resulted in heads, find the conditional probability of...
Coin with random bias. Let P be a random variable distributed uniformly over [0, 1]. A coin with (random) bias P (i.e., Pr[H] = P) is flipped three times. Assume that the value of P does not change during the sequence of tosses. a. What is the probability that all three flips are heads? b. Find the probability that the second flip is heads given that the first flip is heads. c. Is the second flip independent of the first...
A biased coin is tossed n times. The probability of heads is p and the probability of tails is q and p=2q. Choose all correct statements. This is an example of a Bernoulli trial n-n-1-1-(k-1) p'q =np(p + q)n-1 = np f n- 150, then EX), the expected value of X, is 100 where X is the number of heads in n coin tosses. f the function X is defined to be the number of heads in n coin tosses,...
Question 2 Suppose you have a fair coin (a coin is considered fair if there is an equal probability of being heads or tails after a flip). In other words, each coin flip i follows an independent Bernoulli distribution X Ber(1/2). Define the random variable X, as: i if coin flip i results in heads 10 if coin flip i results in tails a. Suppose you flip the coin n = 10 times. Define the number of heads you observe...
"Flip a Coin!" You will write a program that allows the user to simulate a coin flip. Note the following line of code: (Math.random()*2) +1; This line generates a random number (a float) between 1 and 2. If you wanted to simulate somebody rolling a die, you could store the value of this variable as: var coinFlip = (Math.random()*2) +1; (Be sure to include all the parentheses in this line of code.) Reminder - Of course, you’ll need to convert...
Suppose you flip a coin 15 times and let x be the discrete random variable of the number of heads obtained. Use the binomial distribution table to find each of the following probabilities. (A) p(exactly 8 heads)= (b) p(at least one head)= (c) P(at most 3 heads)=
c) d) 120 200 10) We flip a fair coin 4 times. Define a random variable X = number of heads we obtain. Thus X=0,1,2,3, or 4 If p(x) denotes the probability function for X, find p(3). a) 1/16 b) 2/16 c) 3/16 d) 4/16 5/16
- [10+10]A defective coin minting machine produces coins whose probability of heads is a continuous) random variable P with pdf f(p) = pep ,0<p<1 A coin produced by this machine is selected and tossed. a) Find the probability that the coin toss results in heads. ) Given that the coin toss resulted in heads, find the conditional pdf of P.
probability: please solve it step by step. thanks
An unfair coin has probability of heads equal to p. An experiment consists of flipping this unfair coin n times and then counting the number of heads. a. Let Y; be a random variable which is 1 if the ith flip is heads and 0 if the ith flip is tails, where 1 sisn. Show that E (Y) = p and V(Y) = p-p2. b. Derive the moment-generating function of Y. c....