ks.logis.rayleigh()
gives the values for the KS test assuming a Logistic-Rayleigh(LR) with shape
parameter alpha and scale parameter lambda. In addition, optionally, this function
allows one to show a comparative graph between the empirical and theoretical cdfs for a specified data set.
ks.logis.rayleigh(x, alpha.est, lambda.est, alternative = c("less", "two.sided", "greater"), plot = FALSE, ...)
"two.sided"
(default), "less"
, or "greater"
.ks.logis.rayleigh()
carries out the KS test for the Logistic-Rayleigh(LR)pp.logis.rayleigh
for PP
plot and qq.logis.rayleigh
for QQ
plot
## 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
ks.logis.rayleigh(stress, 1.4779388, 0.2141343,
alternative = "two.sided", plot = TRUE)
Run the code above in your browser using DataLab