Description Usage Arguments Value References See Also Examples
The function pp.log.gamma()
produces a PP plot for the log-gamma(LG) based on their MLE or any other estimate. Also, a reference line can be sketched.
1 | pp.log.gamma(x, alpha.est, lambda.est, main = " ", line = FALSE, ...)
|
x |
vector of observations |
alpha.est |
estimate of the parameter alpha |
lambda.est |
estimate of the parameter lambda |
main |
the title for the plot. |
line |
logical; if TRUE, a 45 degree line is sketched. |
... |
additional arguments to be passed to the underlying plot function. |
The function pp.log.gamma()
carries out a PP plot for the log-gamma(LG).
Klugman, S., Panjer, H. and Willmot, G. (2004). Loss Models: From Data to Decisions, 2nd ed., New York, Wiley.
Lawless, J. F., (2003). Statistical Models and Methods for Lifetime Data, 2nd ed., John Wiley and Sons, New York.
qq.log.gamma
for QQ
plot and ks.log.gamma
function;
1 2 3 4 5 6 7 | ## Load data sets
data(conductors)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(conductors)
## Estimates of alpha & lambda using 'maxLik' package
## alpha.est = 0.0088741, lambda.est = 0.6059935
pp.log.gamma(conductors, 0.0088741, 0.6059935, main = " ", line = TRUE)
|
$Cor.Coeff
[1] 0.9823703
$Determination.Coeff
[1] 96.50513
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.