Chi squared with confidence interval

AI Thread Summary
To calculate the chi-squared statistic for life data with a 95% confidence level, the formula used is χ² = ∑((O-E)²/E), where O represents observed counts and E represents expected counts based on the Weibull distribution parameters. The characteristic life (alpha) and shape parameter (beta) are essential for determining the expected values. For a 90% confidence interval, the chi-squared parameter is defined as X²(0.9;1), which is given as 2.705543 in the example problem. The alpha level corresponds to the confidence interval, and with 1 degree of freedom, this allows for the computation of the chi-squared statistic. Understanding these parameters and their roles is crucial for accurate calculations.
mbykowski
Messages
2
Reaction score
0
I am trying to calculate the chi squared function for life data and a confidence level of 95%. I have 10 data points, a specified confidence level (95%), and 1 degree of freedom. I also have the alpha and beta parameters. Based on this information how can i calculate the chi squared statistic? I have looked and looked online but can't seem to find anywhere how to perform the calculation incorporating the confidence level. Any help would be greatly appreciated.
 
Physics news on Phys.org
\chi^2 = \sum \frac{(O-E)^2}{E}, O = observed cell counts, E = expected cell counts; with the rejection region as \chi^2 \geq \chi_{\alph, k-1}^2. \alpha is your alpha level i.e. (confidence interval = 100(1-alpha)%), k-1 is your df.

Could you post the problem in its entirety?
 
hello, thank you for the reply, here is the problem in its entirety:

there are 5 data points, which represent times to failure, these are 10, 20, 30, 40, 50. The charcteristic life, or alpha is 33.9428 and the shape parameter, or beta is 2.2938. I am trying to find the 90% confidence bounds, and in order to do so, the chi squared parameter needs to be defined X^2(0.9;1). This is an example problem and the answer for the chi squared parameter is given as 2.705543. I don't know how to arrive at this answer. I am using this example problem to apply the calculations to my set of data, and cannot find anywhere how exactly the chi squared parameter is calculated considering the parameters that I am working with, characteristic life, shape parameter, and confidence level.
 
Have you learned the Weibull distribution? (I do not know the general formula, so you can search for it online) The characteristic life, or scale parameter, and the shape parameter would make up the expected cells "E" in the chi-squared statistics value. The data points 10, 20, 30, 40, 50 are the observed values "O". Your 90% confidence bounds simply tells you what your "alpha" in the chi-squared statistic to be .1. From here, you should be able to compute your chi-square statistical value. Hope that helps.
 
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top