Project 2 -
Cold Storage
ProblemAssessment : Project 2 - Cold Storage
Problem
Problem 1:
Cold Storage started its operations in Jan 2016. They are in the business of storing
Pasteurized Fresh Whole or Skimmed Milk,
...
Project 2 -
Cold Storage
ProblemAssessment : Project 2 - Cold Storage
Problem
Problem 1:
Cold Storage started its operations in Jan 2016. They are in the business of storing
Pasteurized Fresh Whole or Skimmed Milk, Sweet Cream, Flavoured Milk Drinks. To
ensure that there is no change of texture, body appearance, separation of fats the
optimal temperature to be maintained is between 2 - 4 C.
In the first year of business, they outsourced the plant maintenance work to a
professional company with stiff penalty clauses. It was agreed that if it was statistically
proven that probability of temperature going outside the 2 - 4 C during the one-year
contract was above 2.5% and less than 5% then the penalty would be 10% of AMC
(annual maintenance case). In case it exceeded 5% then the penalty would be 25% of
the AMC fee. The average temperature data at date level is given in the file
“Cold_Storage_Temp_Data.csv”
Solution
Mean
It is calculated by taking the sum of the values and dividing with the number of
values in a data series.
The function mean() is used to calculate this in R.
Syntax
The basic syntax for calculating mean in R is −
mean(x, trim = 0, na.rm = FALSE, ...)
Season is qualitative variable it has three seasons namely Summer, Winter and
Rainy. These are also factors / categorical data in R. Season is also a character in
a vector in R. Furthermore, temperature is a numerical value together with the
date and are also integers.
[Show More]