Please type the answer by computer
it may need to use phyton to answer the question, if you use phyton please show the code for Jupyter(phyton)
questions is a, b, c
Please type the answer by computer it may need to use phyton to answer the question, if you use p...
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...
new answer please not from old thank you (a) A gambler has in his pocket a fair coin and a two-headed coin. He selects one of the coins at random, and when he flips it, it shows heads. What is the probability that it is the fair coin? (b) Suppose that he flips the same coin a second time and again it shows heads. Now what is the probability that it is the fair coin? (c) Suppose that he flips...
We have four fair coins, each of which has probability 1/2 of having a heads outcome and a tails outcome. The experiment is to ip all four coins and observe the sequence of heads and tails. For example, outcome HTHH means coin 1 was heads, coin 2 was tails, coin 3 was heads, coin 4 was heads Note that there are 16 total outcomes, and we assume that each one is equally likely. What is the probability that at there...
In order to test whether a certain coin is fair, it is tossed ten times and the number of heads (X) is counted. Let p be the "head probability". We wish to test the null hypothesis: p = 0.5 against the alternative hypothesis: p > 0.5 at a significance level of 5%. (a) Suppose we will reject the null hypothesis when X is smaller than h. Find the value of h. (b) What is the probability of committing a type...
A coin is tossed 23 times, and the sequence of heads and tails is the outcome. A statistical test is conducted for the following hypotheses. H,: The coin is a fair coin. H,: The chance of obtaining a head is three time as the chance of obtaining a tail. The critical region for the test is the event “more than k heads”. Here k is a positive integer. If we want the power of the test to be at least...
2. Mysterioso the Magician is walking down the street with a box containing 25 identical looking coins: 24 are fair coins (which flip heads with probabilty 0.5 and tails with probability 0.5) and one is a trick coin which always flips heads. Renata the Fox skillfully robs Mysterioso of one of the coins in his box (chosen uniformly at random). She decides she will flip the coin k times to test if it is the trick coin (a) What is...
A box contains five coins. For each coin there is a different probability that a head will be obtained when the coin is tossed. (Some of the coins are not fair coins!) Let pi denote the probability of a head when the i th coin is tossed (i = 1, . . . , 5), and suppose that p1 = 0, p2 =1/4, p3 =1/2, p4 =3/4, p5 =1. The experiment we are interested in consists in selecting at random...
5.) A jar contains 50 type 1 coins and 50 type 2 coins. Type 1 coins have probability 2/3 of landing on heads, while type 2 coins have probability 1/3 of landing on heads. If a coin is chosen at random from the jar and tossed 3 times, what is the probability that it lands on heads at least 2 times? 6) Suppose that an HIV-1 test has a false positive rate of 0.1% and a false negative rate of...
You may need to use the appropriate technology to answer this question. The following data are believed to have come from a normal distribution. 24 19 22 25 18 23 20 22 14 11 18 21 21 22 18 24 44 16 29 26 31 34 23 30 Use the goodness of fit test with six classes and a 0.05 to test this claim. State the null and alternative hypotheses Ho: The population has a normal probability distribution. H: The...
This is discrete mathematics If you do it right, I must give praise. You must use probability space is a triple relative acknowledge. S: is a sample sapce E=p(s) is the set of all events P: E-->R is a function. The important thing that I need to say three times: If you don't know how to do it, please don't do it. don't copy others, especially for question (a), give sample space, probability measure The important thing that I need...