Message-ID: <1792159808.4311786.1647461411863@mail.yahoo.com>
Date: 2022-03-16T20:10:11Z
From: varin sacha
Subject: Exact 95% CI around the mean for LogNormal distribution
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)