View source: R/LogisRayleigh.R
| pp.logis.rayleigh | R Documentation |
The function pp.logis.rayleigh() produces a PP plot for the Logistic-Rayleigh(LR) based on their MLE or any other estimate. Also, a reference line can be sketched.
pp.logis.rayleigh(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.logis.rayleigh() carries out a PP plot for the Logistic-Rayleigh(LR).
Lan, Y. and Leemis, L. M. (2008). The Logistic-Exponential Survival Distribution, Naval Research Logistics, 55, 252-264.
qq.logis.rayleigh for QQ plot and ks.logis.rayleigh function;
## Load data sets
data(stress)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(stress)
## Estimates of alpha & lambda using 'maxLik' package
## alpha.est = 1.4779388, lambda.est = 0.2141343
pp.logis.rayleigh(stress, 1.4779388, 0.2141343, main = " ", line = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.