lmr <- lmoms(c(0.25, 0.4, 0.6, 0.65, 0.67, 0.9))
lmomkur(parkur(lmr))
if (FALSE) {
A <- B <- exp(seq(-3,5, by=.05))
logA <- logB <- T3 <- T4 <- c();
i <- 0
for(a in A) {
for(b in B) {
i <- i + 1
parkur <- list(para=c(a,b), type="kur");
lmr <- lmomkur(parkur)
logA[i] <- log(a); logB[i] <- log(b)
T3[i] <- lmr$ratios[3]; T4[i] <- lmr$ratios[4]
}
}
library(lattice)
contourplot(T3~logA+logB, cuts=20, lwd=0.5, label.style="align",
xlab="LOG OF ALPHA", ylab="LOG OF BETA",
xlim=c(-3,5), ylim=c(-3,5),
main="L-SKEW FOR KUMARASWAMY DISTRIBUTION")
contourplot(T4~logA+logB, cuts=10, lwd=0.5, label.style="align",
xlab="LOG OF ALPHA", ylab="LOG OF BETA",
xlim=c(-3,5), ylim=c(-3,5),
main="L-KURTOSIS FOR KUMARASWAMY DISTRIBUTION")
}
Run the code above in your browser using DataLab