Tonja Krueger
2011-Feb-14 15:35 UTC
[R] fit two-parameter lognormal distribution, l-moments
Dear R helpers, I would like to fit a two-parameter lognormal distribution to my data using l-moments. Is there a package that provides this feature? I used the ?lmom?-package to fit the three-parameter lognormal distribution to my data as shown beneath. I would like something similar for the two-parameter lognormal distribution. library(lmom) data<-c(6.8044, 6.4422, 6.0900, 6.3978, 6.2156, 5.8734, 6.3112, 6.1590, 6.2368, 6.1746, 6.0124, 6.2202, 5.7680, 5.8958, 6.5836, 5.9614, 5.9892, 6.2870) y.data<-seq(5.6,6.8,0.01) lmom <-samlmu(data) lfit.lognorm<- pelln3(lmom) lcdfln3<- cdfln3(y.data,lfit.lognorm) Thank you, Tonja ___________________________________________________________ NEU: FreePhone - kostenlos mobil telefonieren und surfen!