Sample Problems - Please show all your work.
Suppose that you are working for an energy company that distributes natural gas to residents in a city. As the chief economic analyst, you are asked to analyze the demand for natural gas in your city. Let X denote the random monthly demand for natural gas in millions of cubic feet. X takes on a value of either 10 or 20. The probability that the demand is 10 million cubic feet is 0.6.
a. Is X a continuous or discrete random variable? Why?
b. What is the expected value of the monthly demand?
c. Suppose that the demand for gas in a given month is independent of the demand in all other months. Calculate the probability that the demand is equal to 20 in 10 out of 12 months in a year.
d. Calculate the expected value of the total demand in a given year.
You are considering to invest in a portfolio which can have three possible yields with the
X $1,000 $500 $2,000
P (x) 0.5 0.4 0.1
a. Find the probability that the yield is more than $500.
b. Find the average yield of the portfolio.
c. Find the standard deviation of the portfolio.
The city of Houston is considering introducing a light rail system. Suppose that a city committee of n = 5 members vote whether to proceed with the construction of the rail system or not. The decision will be based on majority rule, i.e. if 3 or more members of the committee are decisive about one particular action, then that action will be taken. Assume that each member of the committee votes in favor of the proposal with probability p =0.5. Denote by X the total number of members who vote in favor of the proposal.
a. What kind of a random variable is X? Justify your answer.
b. What is the expected value of the random variable X?
c. What is the standard deviation of the random variable X?
d. What is the probability that the proposal will pass?
The average number of accidents that take place on a particularly dangerous 20-mile stretch of the highway I-10 during a period of one year is 5. Denote by X the random number of accidents observed.
a. What kind of random variable is X? Justify your answer.
b. Find the probability that there are 7 accidents.
c. Find the probability that there is at least one accident.
Assume that among families with two children there are equal numbers of families with (boy, boy), (boy, girl), (girl, boy), (girl, girl), where the ordering in the parentheses indicates the order of birth. We select a family with two children at random.
a. What is the probability that the family has 2 boys, given that it has at least one boy?
b. Suppose you are married and currently have one child, a boy. You are expecting a second child. Clearly, once you have two children, you will have at least one boy. Is the answer to part (a) the same as the probability that your second child will be a boy?
It is, of course, possible to model an experiment with independent trials, but with unequal
Probabilities of success from trial to trial. Assume n = 2 independent trials are to be performed; the probability of success for the first trial is .4 and the probability of success for the second is .8. Let X be the total number of successes observed and evaluate its probability distribution function, mean, and variance. Is X Binomial?
A radio-television dealer extends credit to people buying his sets. His past experience shows that 10 percent of all those to whom he extended credit did not pay and he took a loss on each such sale. Assume that the dealer has 5 identical TV sets and that he will sell them on credit to 5 people. If the buyer does not pay he takes a loss of $200. If the buyer pays in full he makes a profit of $100.
a. What is the probability distribution function of the total net profit, X, he will make on these 5 sales? (Hint: You have to provide the probabilities for each possible amount of profit)
b. What is the expected value of the total net profit?
c. What is the standard deviation of the total net profit?
Suppose that a printed page in a book contains 40 lines, and each line contains 75 positions (each of which may be blank or filled with a symbol). Thus each page contains 3000 positions to be set. Assume that a particular typesetter makes one error per 6000 positions on the average.
a. What is the distribution of X, the number of errors per page? Why?
b. Compute the probability that a page contains no errors.
c. What is the probability that a 16-page chapter contains no errors?
Suppose that 4 cities are bidding for 2012 Olympics: Houston (H), Dallas (D), Baltimore (B), and New York (N). The winner is selected in two stages. In the first stage, 3 cities from U.S. are selected. In the second stage, the selected U.S. cities compete with 5 other non-US cities to become the winner. Suppose that the selections in the first stage are independent of each other and each city is equally likely to be selected. Furthermore, assume that each city in the second stage is also equally likely to become the winner.
a. Find the probability that both Texas cities make it to the second stage.
b. Find the probability that New York does not make it to the second stage.
c. What is the probability that Houston becomes the site for Olympics?
d. Find the probability that a Texas City becomes the site for Olympics.
Suppose that Y is a binomial random variable with mean = 6 and variance = 4.
a. What is n and p for this binomial random variable?
b. Find the probability that Y <18.© BrainMass Inc. brainmass.com October 24, 2018, 6:13 pm ad1c9bdddf
This solution provides brief responses to each of the 10 statistics questions in an attached .doc file. An attached .xls file is also included to show workings for a binomial problem.
Statistics and Probability in Computing
1) When sending data over the internet there is a certain probability that a message will be corrupted. One way to improve the reliability of getting messages through is to use a Hamming Code. This involves sending extra data that can be used to check the main message. For example a 7 bit Hamming Code contains 4 bits of message data and 3 check bits. If only one of the bits is in error at the receiving end then mathematical techniques can be used to determine which one it is and apply a correction. Assume that you have a network connection for which the probability that an individual bit will get through without error is 0.66. What is the increase in the probability that a 4 bit message will get through if a 7 bit Hamming code is used instead of just sending the 4 bits? (i.e what is P(7 bits with 0 or 1 error) - P(4 bits with no error)?
2) Q Computers has invented quantum computers. Each computer contains an exotic sub-atomic particle. Unfortunately this particle decays in the same manner as all radioactive particles. Therefore an average quantum computer only lasts for 22 months. The University has purchased one of these computers and Professor Squiggle wants to use it for 7 months. When he tries to book it he finds that it is already booked out for the first 8 months. So he books it for the next 7 months. What is the probability that the computer will fail during the time that professor Squiggle is using it (not before and not after)?View Full Posting Details