Chi-squared analysis and budgeting weekly repair costs

  • Context: Graduate 
  • Thread starter Thread starter J Flanders
  • Start date Start date
  • Tags Tags
    Analysis Chi-squared
Click For Summary
SUMMARY

The discussion centers on budgeting weekly repair costs for machines with repair costs following an exponential distribution with a mean of 20. The user seeks to determine a value c such that P(Y1 + Y2 + Y3 + Y4 + Y5 > c) = 0.05, where Y1 to Y5 are independent random variables. The analysis reveals that Y1 + Y2 + Y3 + Y4 + Y5 follows a chi-squared distribution with 100 degrees of freedom, leading to the conclusion that c = 124.342. Additionally, the relationship between the exponential and gamma distributions is explored, emphasizing the need to use the gamma distribution to find the appropriate value for c.

PREREQUISITES
  • Understanding of exponential distribution and its properties
  • Familiarity with chi-squared distribution and its applications
  • Knowledge of gamma distribution and its relationship to exponential distribution
  • Ability to perform statistical calculations and interpret probability tables
NEXT STEPS
  • Learn how to calculate probabilities using the Gamma distribution
  • Study the relationship between chi-squared and gamma distributions in depth
  • Explore numerical methods for calculating probabilities in statistical distributions
  • Review statistical tables for chi-squared and gamma distributions
USEFUL FOR

Statisticians, data analysts, and anyone involved in budgeting or forecasting repair costs using statistical methods will benefit from this discussion.

J Flanders
Messages
5
Reaction score
0
* I posted this in the Coursework section, but I wasn't sure if it would be answered there. *
Here's my question:

A plant supervisor is interested in budgeting weekly repair costs for a certain type of machine. Records over the past years indicate that these repair costs have an exponential distribution with mean 20 for each machine studied. Let Y1, Y2, Y3, Y4, Y5 denote the repair costs for five of these machines for the next week. Find a number c such that P(Y1 + Y2 + Y3 + Y4 + Y5 > c) = 0.05, assuming that the machines operate independently.

I was given in the previous problem that if Y has an exponential distribution with mean X, U = 2Y/X has a chi-squared distribution with 2 degrees of freedom.

I'm not quite sure what to do here. I think I solve for Y to get Y = UX/2, which means Y1, Y2, Y3, Y4, and Y5 each are independent chi-squared distributed random variables, each with 20 degrees of freedom. Then Y1 + Y2 + Y3 + Y4 + Y5 has a chi-squared distribution with (20)(5) = 100 degrees of freedom. Then I look at a chi-squared table for 100 d.f. and alpha = 0.05. Let c = 124.342.

Is this right and/or make sense?
Thanks for any help.
 
Physics news on Phys.org
You know each Y is distributed exponentially; you don't need to solve for it.

The questions are:

1. whether Y1 + Y2 + Y3 + Y4 + Y5 = 5Y

2. whether you can extrapolate the scaling factor given in your book from k = 2 to k = 5.

And the answers are:

1. Each of Yi (i = 1, ..., 5) represents a distinct random draw from a distribution. However, 5Y represents a single draw multiplied by 5. 5Y is scaling a random variable with a factor of 5, and does not represent 5 distinct draws made from the distribution.

2. Let m be the mean of each Y. Exponential distribution is a special case of the gamma distribution. Exp(1/m) = Gamma(1, m). Gamma is scalable: if X is Gamma(1, m) then kX is Gamma(1, km). So (2/m)X is Gamma(1, (2/m)m) = Gamma(1, 2) = Exp(1/2). And it so happens that Exp(1/2) is ChiSq(2).

So there is a very specific chain of relationships that connect U = 2Y/m to Chi-Squared, and I am not sure that it will hold for V = 5Y/m.

Your best bet is to use the property: "if Z = Y1 + Y2 + Y3 + Y4 + Y5 then Z is Gamma(5, m)" to solve for c in P(Z > c) = 0.05 using the Gamma distribution.
 
Last edited:
I cannot find any tables of Gamma distributions. How would I find Gamma(5, 20)? Is there a way to turn it into a chi-squared distribution?

Thanks for the help from before.
 
ChiSq[k] happens to be equal to Gamma[k/2](2), where [] is the degrees of freedom and () is the remaining set of parameters. So Gamma[5](2) = ChiSq[10]. Moreover if Z ~ Gamma[5](20) then Z/10 ~ Gamma[5](2) = ChiSq[10]. If you calculate the sum Y1 + ... + Y5 then divide it by 10, you can use the ChiSq[10] table to calculate the applicable probability.

To verify this, you can numerically calculate the probabilities using the formulas here: http://met-www.cit.cornell.edu/reports/RR_91-2.html or purchase their book.
 
Last edited by a moderator:

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K