Concept explainers
Explanation of Solution
Maximizing the expected profits:
Consider W is the event that represents the weather is warm and C is the event that represent the weather is cold.
Also, assume that Cp is the event that represents the expert predicts the weather is cold and Wp is the event that represents the expert predicts the weather is warm.
States of nature | ||
Strategies | Warm (W) | Cold (C) |
Wheat | 7000 | 6500 |
Corn | 8000 | 5000 |
Probability | 0.6 | 0.4 |
There is 90% of chance that the expert predicts year is cold and it is actually cold, i.e., conditional probability which is given as follows:
P(Cp|C) = 0.90
Therefore, the probability that the weather is predicted as warm when it was cold is given as follows:
P(Wp|C) = 1 - P(Cp|C)
= 1 – 0.9
= 0.10
Similarly, it is given that 80% of times the weather is actually warm and the expert also predicted the same, i.e.,
P(Wp|W) = 0.80
Also, P(Cp|W) = 0.20
Calculate the probability that an expert predicts correctly or incorrectly. Let, CP and ICP denote the events correct prediction and incorrect prediction by expert. Therefore, the probabilities are as follows:
P(CP) = P(Wp|W) x P(W) + P(Cp|C) x P(C)
= (0.80 x 0.60) + (0.9 x 0.40)
= 0.48 + 0.36
= 0.84
P(CP) = P(Cp|W) x P(W) + P(Wp|C) x P(C)
= (0...
Explanation of Solution
Calculating EVSI:
Expected Value of Sample Information (EVSI) is referred to as the value of information that would be obtained from sample information. For this, first determine the expected value with the sample information (EVWSI). This is the sum of the expected value when weather forecast is performed plus the cost of weather forecast.
EVWSI = (Expected value) + (Cost of hiring expert)
= 6259.4 + 600
= 6859.4
The EVWOI value is 6800. Therefore,
EVSI = EVWSI – EVWOI
= 6859.4 – 6800
= $59...
Trending nowThis is a popular solution!
Chapter 13 Solutions
Operations Research : Applications and Algorithms
- Suppose, you are working in a company ‘X’ where your job is to calculate the profit based on their investment. If the company invests 100,000 USD or less, their profit will be based on 75,000 USD as first 25,000 USD goes to set up the business in the first place. For the first 100,000 USD, the profit margin is low: 4.5%. Therefore, for every 100 dollar they spend, they get a profit of 4.5 dollar. For an investment greater than 100,000 USD, for the first 100,000 USD (actually on 75,000 USD as 25,000 is the setup cost), the profit margin is 4.5% where for the rest, it goes up to 8%. For example, if they invest 250,000 USD, they will get an 8% profit for the 150,000 USD. In addition, from the rest 100,000 USD, 25,000 is the setup cost and there will be a 4.5% profit on the rest 75,000. Investment will always be greater or equal to 25,000 and multiple of 100. Complete the RECURSIVE methods below that take an array of integers (investments) and an iterator (always sets to…arrow_forwardSuppose, you are working in a company ‘X’ where your job is to calculate the profit based on their investment. If the company invests 100,000 USD or less, their profit will be based on 75,000 USD as first 25,000 USD goes to set up the business in the first place. For the first 100,000 USD, the profit margin is low: 4.5%. Therefore, for every 100 dollar they spend, they get a profit of 4.5 dollar. For an investment greater than 100,000 USD, for the first 100,000 USD (actually on 75,000 USD as 25,000 is the setup cost), the profit margin is 4.5% whereas for the rest, it goes up to 8%. For example, if they invest 250,000 USD, they will get an 8% profit for the 150,000 USD. In addition, from the rest 100,000 USD, 25,000 is the setup cost and there will be a 4.5% profit on the rest 75,000. The investment will always be greater or equal to 25,000 and multiple of 100. Complete the RECURSIVE methods below that take an array of integers (investments) and an iterator (always sets to…arrow_forwardA group of people, numbered 1 to N, are sitting in a circle. Starting at person 1, a hot potato is passed. After x number of passes, the person holding the hot potato is eliminated, the circle closes ranks, and the game continues with the person who was sitting after the eliminated person picking up the hot potato. The last remaining person wins. For example: number of passes = 1 and number of players = 5, the order of elimination is 2, 4, 1, 5. Write a program for general values of X and N. Ask a user for the number of people and number of passes To speed up the input and debugging, you may wish to store the names of the people in a file. Make sure no two names start the same letter ( Alex and Ana are not OK). Alternatively, you can number the players. Output number and/or the name of a person being eliminated Output number and the name of the winner Do not expect a user to do the right thing, error check the user input; among other things, what do you think a reasonable…arrow_forward
- There are three financial aid counselors. If a student’s last initial is from A – H, let them know that their counselor is Jon Stewart. If a student’s last initial is from I – Q, let them know that their counselor is Chelsea Handler. If a student’s last initial is from R – Z, let them know that their counselor is Brian Williams.Ask student for the FICO score, if it’s less than 660 tell that this student cannot have a loan. c++arrow_forwardA group of people, numbered 1 to N, are sitting in a circle. Starting at person 1, a hot potato is passed. After x number of passes, the person holding the hot potato is eliminated, the circle closes ranks, and the game continues with the person who was sitting after the eliminated person picking up the hot potato. The last remaining person wins. For example: number of passes = 1 and number of players = 5, the order of elimination is 2, 4, 1, 5. Write a program for general values of X and N. Ask a user for the number of people and number of passes To speed up the input and debugging, you may wish to store the names of the people in a file. Make sure no two names start the same letter ( Alex and Ana are not OK). Alternatively, you can number the players. Output number and/or the name of a person being eliminated Output number and the name of the winner Do not expect a user to do the right thing, error check the user input; among other things, what do you think a reasonable…arrow_forwardA math class has 25 students. Assuming that all of the students were born in the first half of the year – between January 1st and June 30th– what is the probability that at least two students have the same birthday? Assume that nobody was born on leap day, so there are 181 possible birthdays.arrow_forward
- During the tax season, every Friday, the J&J accounting firm provides assistance to people who prepare their own tax returns. Their charges are as follows: If a person has low income (<= 25,000) and the consulting time is less than or equal to 30 minutes, there are no charges; otherwise, the service charges are 40% of the regular hourly rate for the time over 30 minutes. For others, if the consulting time is less than or equal to 20 minutes, there are no service charges; otherwise, service charges are 70% of the regular hourly rate for the time over 20 minutes. (For example, suppose that a person has low income and spent 1 hour and 15 minutes, and the hourly rate is $70.00. Then the billing amount is 70.00 X.40 X (45/60) = $21.00.) Instructions Write a program that prompts the user to enter yearly income, the hourly rate, the total consulting time. The program should output the billing amount. Your program must contain a function that takes as input the hourly rate, the total…arrow_forwardAn employee is paid at a rate of $16.78 per hour for the first 40 hours worked in a week. Any hours over that are paid at the overtime rate of one- and-one-half times that. From the worker’s gross pay, 6% is withheld for Social Security tax, 14% is withheld for federal income tax, 5% is withheld for state income tax, and $10 per week is withheld for union dues. If the worker has three or more dependents, then an additional $35 is withheld to cover the extra cost of health insurance beyond what the employer pays. Write a program that will read in the number of hours worked in a week and the number of dependents as input and will then output the worker’s gross pay, each withholding amount, and the net take-home pay for the week. For a harder version, write your program so that it allows the calcula- tion to be repeated as often as the user wishes. If this is a class exercise, ask your instructor whether you should do this harder version.arrow_forwardA spinner with three equal sections is being used in a game. One section is labeled “0 points,” and two sections are labeled “2 points.” A player can decide not to spin the spinner and score 1 point. Each player gets one turn, and the player with the higher score wins; in case of a tie, the winner is decided by one flip of a fair coin. Alex takes his turn first. Eddie, knowing Alex’s score, takes his turn next. If both players use strategies that maximize their winning probabilities, what is the probability that Alex wins? a 1/3 b 1/2 c 2/3 d 4/9arrow_forward
- : You have a basketball hoop and someone says that you can play one of two games.Game 1: You get one shot to make the hoop.Game 2: You get three shots and you have to make two of three shots.If p is the probability of making a particular shot, for which values of p should you pick one gameor the other?arrow_forwardA city police department and a gang of drug dealers play a game every day where the police must decide whether to focus their department resources on either street patrol or parks patrol, and the drug gang must make the same decision regarding where to focus their drug selling activities. If both focus on street sales the police make 90 arrests and the dealers avoid 10 arrests. If both focus on park selling. The police arrest 80 dealers and 20 dealers avoid capture. If the PD focuses on streets, while the DDs focus on parks, 5 arrests are made and 95 dealers escape arrest. If the PD focuses on parks while the DD focus on streets, then 10 arrests are made and 90 dealers get away. a) Find the Nash equilibrium in mixed strategies for the police department and for the drug dealers. b) Explain in simple terms what will play out in this game between the PD and the DDs. c) If the PD gets better at park patrol (measured by more arrests in parks than before), in which direction will the…arrow_forwardQuestion 2: Three players (A, B and C) play the Card Game. Each player has two cards. The three players have the following card values: Player (A): 5 and 7 Player (B): 4 and 2 Player (C): 8 and 1 Player A starts by putting one card then Player B puts one card then player C puts one card and the game is over. The score of player A (utility value for A) is computed by the following formula: Score(A) = card value(A) - card value(B) - card value(C). The score of player B (utility value for B) is computed by the following formula: Score(B) = card value(B) - card value(A) - card value(C). The score of player C (utility value for C) is computed by the following formula: Score(C) card value(C) - card value(A) - card value(B). a) Construct the corresponding Game Tree. Then find the utility values of all nodes. b) Which player will win the game? c) Show how can the losers make the winner lose the game. What do you note?arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education