Question
firms(1).pdf windTurbineData(3).pdf newsVendorData(1).pdf ISQS-7339: Homework 4 MS-DS students: Solve problems 1-3 (Module 4). If you solve one of the problems 4 or 5 (Module 5),
firms(1).pdf
windTurbineData(3).pdf
newsVendorData(1).pdf
ISQS-7339: Homework 4
MS-DS students: Solve problems 1-3 (Module 4). If you solve one of the problems 4 or 5 (Module 5), you receive up to 10 bonus points (your grade can be up to 110).
Ph.D. students: Solve problems 1-5. Your grade will be X = (your score*100)/130.
Problem 1
set.seed(123)
(50 points) The observations available in a wind turbine file represent
- "FailCount": the count of the number of failures on a windmill turbine farm per year
- "RepairTime": the time that it takes to repair a windmill turbine on each occurrence in minutes.
- "DriveTime": the time that it takes to notice the failure and drive from the control station to the windmill turbine in minutes
- Using the techniques discussed in the input-analysis lecture, recommend an input distribution model for the "FailCount," "RepairTime," and "DriveTime" variables. Also, determine the distributions' parameters (For example, if data is Normal, what is the approximate mean and stdev; or if the data is Uniform, what are the minimum and maximum parameters).
Note: consider which variable is naturally discrete or continuous. You can find the data on Blackboard.
- We pay $2 per minute ($120 per hour) to the technician who fixes a wind turbine, and the payment includes DriveTime and RepairTime multiplied by the total number of failures. Use the distribution and parameters you determined through input analysis (in part a) to simulate the total income of the technician per year. Report histogram, mean, standard deviation, and 95% confidence interval.
Note: Income-yearly = $2 * (Repairtime + DriveTime) * FailCount
Problem 2
set.seed(123)
(25 points) Using bootstrapping, estimate the median and 95% confidence interval for the median of the "income" variable in the " Prestige " dataset. Visualize the outcomes.
library("car")
data("Prestige")
income <- Prestige$income
Problem 3
set.seed(123)
(25 points) Use the Newsvendor Model to set up and run aresampling simulation assuming that we have access to a demand dataset in the last 100 days (the dataset is attached asnewsVendorData.csv). Assume that the cost per unit (C) is $12, the selling price (R) is $18, and the salvage value (S) is $10.
- Suggest the optimal purchase quantity.
- Visualize the profit outcome and report a 95% confidence interval for the optimal profit.
Problem 4 (only for Ph.D. students) (15 points)
Suppose there is a data from an iid sampling from the Poisson[1] distribution:data = c(1, 0, 2, 0, 0, 4, 1, 0, 0, 0).
Suppose you use the prior
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started