Hypothesis Testing for Shape Parameter of Gamma Distribution
Hypothesis
vs.
where k is the shape parameter of the Gamma distribution from which a sample of 50 points is taken.
Test Statistic
-
•
For gamma distribution (GM, AM) is a minimal sufficient statistic for (k,).
-
•
Based on the paper by Keating et al.[1] we use the test statistic w:
where are the values from a gamma sample.
-
•
(w, AM) is also minimally sufficient for (k, ) and the pair is stochastically independent.
Gamma (5,1) Sample
| 2.6283619209343 | 7.69450613960945 | 6.93695507619144 | 3.40969289304186 |
| 5.01595406280265 | 2.17678469169354 | 8.80340669389395 | 6.92950635515724 |
| 3.28724585442206 | 1.09957908734132 | 6.2034202591892 | 7.27085416696607 |
| 7.8356080618422 | 6.41677034478504 | 7.75632623464187 | 4.9645397847155 |
| 4.38203553112516 | 5.74649177978731 | 3.8166862081331 | 4.83586834774907 |
| 4.21534304747825 | 2.76046261953365 | 2.6833092226359 | 6.14388003733696 |
| 2.76639643059915 | 5.95142981282601 | 10.9850460828745 | 7.03720119143969 |
| 4.44532021982175 | 6.60770695474903 | 2.55801016908204 | 2.44764702391154 |
| 5.74621735480312 | 2.7025937057668 | 2.5400119096503 | 5.92742255244166 |
| 3.50569807423671 | 4.26590769266725 | 7.41203931734455 | 4.65915398021402 |
| 2.83258965327326 | 3.08623349517042 | 7.38523921929653 | 6.51932172633605 |
| 2.59312896786055 | 5.87443896213083 | 3.78131726237567 | 5.54589735520884 |
| 4.72629034438013 | 6.3652634420665 |
-
•
For our sample, we obtain the value w = 0.909968
Critical Region
-
•
This is the region within which if obtained value of w lies, we reject the null-hypothesis.
-
•
is the critical value for confidence level.
-
•
Critical region
-
•
For we approximate the distribution to Beta distribution by employing technique by Patnaik (1949).
-
•
In this technique we equate the first two moments of W and Beta distribution to find the parameters and of Beta distribution.
Critical Region (Contd.)
-
•
Equations to solve :
-
•
For and with level of significance 0.05 we get
Hypothesis Testing
-
•
We see that . Hence for our sample we accept the null hypothesis.
-
•
Also , the median for null distribution is quite close to our observed w.
-
•
For 1000 simulations, we found our hypothesis to be rejected only 55 times i.e. 0.055 in fraction.
1000 Samples Experiment
Median Unbiased Estimator
-
•
The MU estimator for is such that .
-
•
By solving the above equations taking as variables, we obtain , which we see to be quite close to value used for sample generation.
Confidence Bound
-
•
Solving for in , using same method as above, we obtain the confidence bound.
-
•
For all above this value, the null hypothesis is not rejected for the alternative
-
•
For our sample
References
References
- [1] Keating J.P., Glaser R.E, Ketchum N.S. Testing Hypothesis About the Shape Parameter of a Gamma Distribution. Technometrics, February 1990, Vol. 32, No. 1