
alpha
and scale parameter lambda
.dloglog(x, alpha, lambda, log = FALSE)
ploglog(q, alpha, lambda, lower.tail = TRUE, log.p = FALSE)
qloglog(p, alpha, lambda, lower.tail = TRUE, log.p = FALSE)
rloglog(n, alpha, lambda)
length(n) > 1
, the length
is taken to be the number required.dloglog
gives the density,
ploglog
gives the distribution function,
qloglog
gives the quantile function, and
rloglog
generates random deviates.
shape
and scale
parameters, respectively. (Pham, 2002)
Pham, H.(2006). System Software Reliability, Springer-Verlag.
.Random.seed
about random number; sloglog
for Loglog survival / hazard etc. functions;
data(sys2)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(sys2)
## alpha.est = 0.9058689 lambda.est = 1.0028228
dloglog(sys2, 0.9058689, 1.0028228, log = FALSE)
ploglog(sys2, 0.9058689, 1.0028228, lower.tail = TRUE, log.p = FALSE)
qloglog(0.25, 0.9058689, 1.0028228, lower.tail=TRUE, log.p = FALSE)
rloglog(30, 0.9058689, 1.0028228)
Run the code above in your browser using DataLab