Week 9 : Activity 6
| Fitting distribution to data
| Fitting distribution to data
WEEK - 9
Extra Activity 6
Directive :
To create a Google Colab notebook with:
Histogram for the data.
Fit one of the known distributions to the data.
Calculate method of moments estimate and ML estimate for the unknown parameter(s) of the selected distribution.
Use the bootstrap method to form approximate confidence intervals for the parameters, if applicable.
The data is collected randomly generated using excel function for gamma distribution.
PLEASE REFER TO THE GOOGLE COLAB FOR DETAILED ANALYSIS
SUMMARY :
This colab analyzes the given dataset containing a gamma distribution and performs following tasks :
Plotting histogram for given data
Finding estimators for the unknown parameter(s) by method of moments :
mean: 7.918112233355035
variance : 31.323047804332276
AlphaMM = 2.0016092217991357
BetaMM = 0.2527886903859938
Finding estimators for the unknown parameter(s) by maximum likelihood (at the end of colab)
Calculation of confidence intervals using bootstrap method : [0.2363801157108883, -0.1907779758883079]
Conclusion: