Is your feature request related to a problem? Please describe.
In Scipy, there is no function to conduct T Testing on lognormal distributions, even though there are approaches that seemingly provide good coverage of the Confidence Interval.
I found myself in the position of having to research and craft the function for the the T Test lognormal distribution myself.
I believe it would enrich Scipy as well as all its users if a function, with all the required parameters, was available.
In Olsson 2005 there are different methods used to construct the approximate confidence intervals.
The “Modified Cox Method” seems to be one that performs the best in achieving the desired coverage of the CI, particularly with small sample sizes.
Additional context (e.g. screenshots, GIFs)
I replicated the experiment in a notebook, and the results were similar to the experiment in Olsson’s paper.
This is the second issue I open on this topic. Previously opened issue.
I have open issues for something like this in statsmodels, but I looked only at the regression cases.
e.g.
(and several other open issues)
However, I have no overview which methods would be worth including in statsmodels (and we still don’t have a log-normal regression model directly)
For the “stats” case, hypothesis tests and confidence intervals for one and two sample cases (which I never looked at for log-normal), it would be easier to provide different methods with better small sample properties than just asymptotics, similar to what we have for proportion and rates (binomial and poisson).
.