Many thanks for your response. 






Le mercredi 16 mars 2022, 21:11:06 UTC+1, varin sacha via R-help 
<r-help@r-project.org> a écrit : 





Dear R-experts,

I have used the EnvStats package and the elnorm function (p. 248).
I would like to calculate the exact 95% confidence intervals around the mean, 
not around the meanlog.
Here below my R code, how can I get the exact 95% CIs around the mean ?
Many thanks.


library(EnvStats)
x=rlnorm(100000,0,1)
mean(x)
elnorm(x,method="mvue",ci=TRUE,ci.type="two-sided",ci.method="exact",conf.level=0.95)

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to