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

Discussion Overview

The discussion revolves around budgeting weekly repair costs for machines with repair costs modeled by an exponential distribution. Participants explore the statistical properties of the sum of these costs, particularly in relation to chi-squared distributions and gamma distributions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant states that the repair costs for machines follow an exponential distribution with a mean of 20 and seeks to find a threshold c such that P(Y1 + Y2 + Y3 + Y4 + Y5 > c) = 0.05.
  • Another participant argues that it is unnecessary to solve for Y and questions whether Y1 + Y2 + Y3 + Y4 + Y5 can be treated as 5Y, emphasizing that they represent distinct random draws.
  • It is suggested that the sum of the repair costs can be modeled as a gamma distribution, specifically Gamma(5, m), where m is the mean of the exponential distribution.
  • A participant expresses difficulty in finding tables for gamma distributions and inquires about converting gamma distributions to chi-squared distributions.
  • Another participant clarifies that chi-squared distributions can be expressed in terms of gamma distributions and provides a method to relate the sum of the costs to a chi-squared distribution by scaling.

Areas of Agreement / Disagreement

Participants exhibit disagreement regarding the treatment of the sum of the repair costs and the appropriate statistical distribution to use. There is no consensus on the correct approach to find the threshold c.

Contextual Notes

Participants mention specific relationships between exponential, gamma, and chi-squared distributions, but the discussion does not resolve the applicability of these relationships in this context.

Who May Find This Useful

Readers interested in statistical modeling, particularly in the context of budgeting and repair cost analysis, may find this discussion relevant.

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
3K