c) We consider the original stream as a
sequence of pairs. The pairs are clearly independent, so to find
the
expected number of bits in the output we need to find the
probability that 01 or 10 occurs. This probability
equals
Thus, if the original stream contains n bits (assume it is even), then the expected number of output bits
If we want to obain x output bits, the expected number of original bits is:
d) The output stream is not independent.
Indeed, if some output bit is 0, that is, the original stream
contains
pair 01, then the next pair starts with 1. If it is 10 then the
next output bit is 1. If the original stream contains
several consequent 1s, then some pairs are 11 and therefore
skipped. But then, the first pair that is not skipped
must be 10. In a similar way, after each 1 in the output stream we
must have a 0. Thus the output stream looks
like 01010101...
Suppose you have a true random bit generated where each bit in the generated stream has...
A binary communication channel transmits coded words of 5 bits, and each bit in the word is independent of the others. The probability an individual bit has an error is 0.03. You are interested in modeling the number of bits in each 5-bit word that has an error. Name the distribution appropriate to model this scenario. Use the proper notation, and include the value(s) of the distribution parameter(s). Enter you response in the textbox below What is the expected number...
True or False: A simple random sample is a sample of n observations that has the same probability of being selected from the population as any other sample of n observations.
Suppose you have a die that has probability p of resulting in the outcome 6 when rolled, where p is a continuous random variable that is uniformly distributed over [O, j]. Suppose you start rolling this die. (The value of p does not change once you start rolling.) Give exact answers as simplified fractions. (a) Compute the probability that the first roll is 6. b) Compute the probability that the first two rolls are both 6. (c) Let Si be...
Design a sequential system that has one synchronous input bit stream x and one output z, with the following functionality and also follows the design constrains. Design Specifications: Design a sequential system that has one synchronous input bit stream X and one output Z, with the following functionality 1) We look at every fourth-input-bit, while the other input bits are "don't cares". when three "consecutives" fourth-bits form the sequences 110 or 000 the system should output Z = 1, meaning...
Suppose that Xi, X2,..., Xn are independent random variables (not iid) with densities x, (x^, where 6, > 0, for i-1, 2, , n. versus H1: not Ho (c) Suppose Ho is true so that the common distribution of X1, X2,..., Xn, now viewed as being conditional on 6, is described by where θ > 0. Identify a conjugate prior for 0. Specify any hyperparameters in your prior (pick values for fun if you want). Show how to carry out...
5. Suppose we have two random variables X and Y. They are discrete and have the exact same distribution and also independent. You see below the distribution of X which of course also the distribution of Y as well, that is what we called independent and identically distributed) P(X =- X. Remem- a./ (-) Find and draw the cumulative distribution function F() function of ber that F(x) -P(X S) HINT: For the next 3 parts you might want to make...
Consider a noisy communication channel, where each bit is flipped with probability p (the probability that a bit is sent in error is p). Assume that n−1 bits, b1,b2,⋯,b(n−1), are going to be sent on this channel. A parity check bit is added to these bits so that the sum b1+b2+⋯+bn is an even number. This way, the receiver can distinguish occurrence of odd number of errors, that is, if one, three, or any odd number of errors occur, the...
Suppose X1, X2, . . . are independent discrete random variables, having the same distribution, and E[Xi] > 0, for each i. Is thus true for any two positive integers n and m?: Why not, or why yes?
Q3: TRUE OR FALSE You roll three fair dice -- one with seven sides (numbered 1 to 7), one with eight sides (numbered 1 to 8), and one with nine sides (numbered 1 to 9). X = number of dice showing odd numbers facing up. i)There are a fixed number of trials, n. 2)Each trial can be categorized as being either a success or a failure (two outcomes), and X counts the number of successes. 3)The probability of success p...
R commands 2) Illustrating the central limit theorem. X, X, X, a sequence of independent random variables with the same distribution as X. Define the sample mean X by X = A + A 2 be a random variable having the exponential distribution with A -2. Denote by -..- The central limit theorem applied to this particular case implices that the probability distribution of converges to the standard normal distribution for certain values of u and o (a) For what...