

Suppose we have a computer program that attempts to answer a yes or no question for...
In each problem, make sure that you are clearly defining random variables, stating their distributions, and writing down the formulas that you are using. (That is, write down the pmf, write down mean and variance formulas.) 1. Suppose we have a computer program that attempts to answer a yes or no question for us. The probability that the program will return the correct response 0.6. Suppose we run the program 15 times. Let X be the total number of times...
4. Suppose a computer program has an error in it. To locate the error, investigators conduct a series of independent tests. Each test is based on a set of random inputs for the program. Suppose the probability that a random test detects the error is 0.16. (a) What is the expected number of tests that will need to be conducted to detect the error? What is the standard deviation? (b) Suppose that the error is not removed after it is...
1. Suppose that we catch either salmon (state 1) or sea bass (state 2) according to a Markov Model where the transition matrix is given by 0.8 0.2 A= 0.4 0.6 Suppose that we compare the length, x, of each fish that we catch to 15cm, and that for all times P(x> 15| salmon) 0.2 P(x > 15 sea bass) 0.7 (a) Suppose we caught a salmon at time 1. What is the probability that we catch a sea bass...
Prob 5 You have a multiple choice question with 4 choices. If you know the answer, you get the question right of course. If you do not know the answer, you pick a choice at random. Given you got an answer right, what is the probability you knew the answer? -solution to prob 5- Prob 5 Let K be the event that you know the answer, C the event that you get the answer correct. The event you guess is...
The manager of a computer retails store is concerned that his suppliers have been giving him laptop computers with lower than average quality. His research shows that replacement times for the model laptop of concern are normally distributed with a mean of 4.4 years and a standard deviation of 0.6 years. He then randomly selects records on 38 laptops sold in the past and finds that the mean replacement time is 4.2 years. Assuming that the laptop replacement times have...
The manager of a computer retails store is concerned that his suppliers have been giving him laptop computers with lower than average quality. His research shows that replacement times for the model laptop of concern are normally distributed with a mean of 3.1 years and a standard deviation of 0.6 years. He then randomly selects records on 33 laptops sold in the past and finds that the mean replacement time is 2.8 years. Assuming that the laptop replacement times have...
The manager of a computer retails store is concerned that his suppliers have been giving him laptop computers with lower than average quality. His research shows that replacement times for the model laptop of concern are normally distributed with a mean of 3.7 years and a standard deviation of 0.6 years. He then randomly selects records on 48 laptops sold in the past and finds that the mean replacement time is 3.4 years. Assuming that the laptop replacement times have...
Suppose the PYTHON program below is run on your computer: expenses = 0 while True: answer = input("Give the price of the next item ordered?") if answer == "end": break else: price = float(answer) expenses = expenses + price print "Total value of orders is:", expenses What changes should I make to the PYTHON program above so that it is clear that the values are all printed in pounds?
Suppose the PYTHON program below is run on your computer: expenses = 0 while True: answer = input("Give the price of the next item ordered?") if answer == "end": break else: price = float(answer) expenses = expenses + price print "Total value of orders is:", expenses What changes would you make to the PYTHON program above so that it is clear that the values are all in pounds?
12.5 Unanswered 2 attempts left A firm's production function is x = k0.541.5. We have p=500,w=10 and r=10. In the short-run if capital is fixed at k=27, how much labor does the firm hire to produce 27 units of output? Enter a number only, round to two decimal places. If the answer is op enter 999. If the answer is a range (any range) e.g. [0,2] enter 111. Type your response 12.6 Unanswered 2 attempts left A firm's production function...