Title: | Estimate and Test Exponential vs. Pareto Distributions |
---|---|
Description: | The programs were developed for estimation of parameters and testing exponential versus Pareto distribution during our work on hydrologic extremes. See Kozubowski, T.J., A.K. Panorska, F. Qeadan, and A. Gershunov (2007) <doi:10.1080/03610910802439121>, and Panorska, A.K., A. Gershunov, and T.J. Kozubowski (2007) <doi:10.1007/978-0-387-34918-3_26>. |
Authors: | Fares Qeadan [aut], Jiqiang Wu [aut, cre], Tomasz Kozubowski [aut], Anna Panorska [aut] |
Maintainer: | Jiqiang Wu <[email protected]> |
License: | GPL (>= 3) |
Version: | 0.1.1 |
Built: | 2025-03-07 02:47:18 UTC |
Source: | https://github.com/jiqiaingwu/lrep |
The programs were developed for estimation of parameters and testing exponential versus Pareto distribution during our work on hydrologic extremes. See Kozubowski, T.J., A.K. Panorska, F. Qeadan, and A. Gershunov (2007) <doi:10.1080/03610910802439121>, and Panorska, A.K., A. Gershunov, and T.J. Kozubowski (2007) <doi:10.1007/978-0-387-34918-3_26>.
We consider the problem of maximum likelihood estimation of the parameters of the Pareto Type II (Lomax) distribution. We show that in certain parametrization and after modification of the parameter space to include exponential distribution as a special case, the MLEs of parameters always exist. Moreover, the MLEs have a non standard asymptotic distribution in the exponential case due to the lack of regularity. Further, we develop a likelihood ratio test for exponentiality versus Pareto II distribution.
Maintainer: Jiqiang Wu [email protected]
Authors:
Fares Qeadan [email protected]
Tomasz Kozubowski [email protected]
Anna Panorska [email protected]
Kozubowski, T.J., A.K. Panorska, F. Qeadan, and A. Gershunov (2007). Testing exponentiality versus Pareto distribution via likelihood ratio, preprint in review.
Panorska, A.K., A. Gershunov, and T.J. Kozubowski (2007). From diversity to volatility: Probability of daily precipitation and extremes. Nonlinear Dynamics in Geosciences (A. Tsonis and J. Elsner, Eds.), Springer, New York, pp 465-484.
Useful links:
Report bugs at https://github.com/jiqiaingwu/LREP/issues
This program takes your data and the significance level as input and returns the critical number for the test, the value of the -2L (deviance) statistic and the decision (Pareto or exponential) as output.
expparetotest(x, alpha)
expparetotest(x, alpha)
x |
Import Raw data |
alpha |
Significance level. Note: this program works only for the following significance levels: 0.10, 0.075, 0.05, 0.025, 0.01 and 0.005. |
Output the critical number for the test, the value of the -2L (deviance) statistic and the decision (Pareto or exponential).
critical
Critical value
statistic
Deviance statistic
info
Interpret the data is coming from an exponential distribution or Pareto distribution.
x<-rexp(1000,0.1) print(expparetotest(x,0.05))
x<-rexp(1000,0.1) print(expparetotest(x,0.05))
The program will take your data as input and return three numbers as output: estimate of s, estimate of alpha, and value of the statistic L.
sigmaalphaLREP(x, tolerance)
sigmaalphaLREP(x, tolerance)
x |
Import Raw data |
tolerance |
Tolerance quantity |
Output three estimates by using maximum likelihood method
s.hat
Output estimate of s
a.hat
estimate of alpha
log.like.ratio
value of the statistic L
x<-rexp(1000,0.1) print(sigmaalphaLREP(x,10^-12))
x<-rexp(1000,0.1) print(sigmaalphaLREP(x,10^-12))