Question

8. If one has a fair coin, it is easy to generate a random number in...

8. If one has a fair coin, it is easy to generate a random number in {0, 1} with equal probability: e.g., one simply flips this coin and assign 0 to a Head and 1 to a T ail. How do you generate such a random number if you are given a coin with unknown bias?

9. A novel type of bacteria is found in a recent medical research. After every minute, the bacteria may die, or stay the same, or split into two or split into three with equal probability 1/4. All its offspring, if any, behave the same independently. Suppose there is only one bacteria in the petri dish, what is the probability that the bacteria population will die out.

Homework Answers

Answer #1

8) In case of biased coin prob of head = p and prob of tail =(1-p)

so prob of HT = p(1-p)

and prob of TH =(1-p)p

which are equal so we can repeat the experiment and assign 1 when HT occurs and 0 when TH occurs and ignore the event when HH or TT occurs.

This will result in random number generation {0,1}

9)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Q1. I have two coins in my pocket, one is a fair coin, the other has...
Q1. I have two coins in my pocket, one is a fair coin, the other has heads on both sides. I pick one at random, and without looking at what it is, I toss it four times. I get four heads. (HHHH). (I) What is the probability that I picked the fair coin? (II) What is your answer if I got N heads in a row rather than four? Q2. A, B are cowboys. A hits every shot. A has...
1. What are the inputs to Excel’s RAND function? a.There is one argument to put into...
1. What are the inputs to Excel’s RAND function? a.There is one argument to put into the function – the distribution from which to generate random numbers. b.There are two arguments to put into the function – the number of random values to generate, followed by the number of decimal places. c.The RAND function has no arguments, just parentheses with nothing in between. 2. What do you actually type into a spreadsheet cell to use the RAND function? a. =RAND()...
Assignment 2 1. Assume that you have two biased coins and one fair coin. One of...
Assignment 2 1. Assume that you have two biased coins and one fair coin. One of the biased coins are two tailed and the second biased one comes tails 25 percent of the time. A coin is selected randomly and flipped. What is the probability that the flipped coin will come up tail? 2. One white ball, one black ball, and two yellow balls are placed in a bucket. Two balls are drawn simultaneously from the bucket. You are given...
PROJECT B 1. Flip a coin 120 times. In order to be organized, please record the...
PROJECT B 1. Flip a coin 120 times. In order to be organized, please record the results of this experiment in 5 rows, with 24 flips per row. For example, the first row may be HTHTTTHTTHTTHHHTTHTHHHHT If you do not desire to flip a coin manually, STATDISK can be used to simulate the process. To use STATDISK, go to “Data” at the top of the STATDISK window, and then choose “Coins Generator”. The “Coin Toss Simulator” window will appear. Then...
2. Probability (30%). Figure out the probability in the following scenarios. (a) A number generator is...
2. Probability (30%). Figure out the probability in the following scenarios. (a) A number generator is able to generate an integer in the range of [1, 100], where each number has equal chances to be generated. What is the probability that a randomly generated number x is divisible by either 2 or 3, i.e., P(2 | x or 3 | x)? (5%) (b) In a course exam, there are 10 single-choice questions, each worthing 10 points and having 4 choices...
1.A fair die is rolled once, and the number score is noted. Let the random variable...
1.A fair die is rolled once, and the number score is noted. Let the random variable X be twice this score. Define the variable Y to be zero if an odd number appears and X otherwise. By finding the probability mass function in each case, find the expectation of the following random variables: Please answer to 3 decimal places. Part a)X Part b)Y Part c)X+Y Part d)XY ——- 2.To examine the effectiveness of its four annual advertising promotions, a mail...
6. (07.04 MC) Students at a local elementary school were randomly selected to participate in a...
6. (07.04 MC) Students at a local elementary school were randomly selected to participate in a reading fluency program. The program is designed to increase their reading fluency. A total of 17 students each took a pretest before the program and posttest after the program. The mean differences in the posttest and pretest is 11. The administration decided that all students in the school would participate in the program next school year. Let µA denote the mean score of the...
7. (07.02 MC) Oscar, a yoga instructor at Yoga for You, is interested in comparing levels...
7. (07.02 MC) Oscar, a yoga instructor at Yoga for You, is interested in comparing levels of physical fitness of students attending a nearby high school and those attending a local community college. He selects a random sample of 210 students from the high school. The mean and standard deviation of their fitness scores are 82 and 14, respectively. He also selects a random sample of 210 students from the local community college. The mean and standard deviation of their...
R Code Directions: All work has to be your own, you may not work in groups....
R Code Directions: All work has to be your own, you may not work in groups. Show all work. Submit your solutions in a pdf document on Moodle. Include your R code (which must be commented and properly indented) in the pdf file. Name this pdf file ‘your last name’-HW5.pdf. Also submit one text file with your R code, which must be commented and properly indented. You may only use ‘runif’ to generate random numbers; other random number generating functions...