Survey.jl icon indicating copy to clipboard operation
Survey.jl copied to clipboard

Separate `confint` function

Open smishr opened this issue 1 year ago • 0 comments

Right now #184 is work in progress to add confidence interval calculations.

@nadiaenh asked instead of multiple dispatch on summary statistics functions (mean, total, quantile etc), create new method for CI (say confint), and then dispatch it for different ::Function types.

Implementation wise, if the CI functionality is separately written to the basic summary stats function (ie mean(x,design) has different definition to mean(x,design, [CI kwargs ...])), then having a completely separate CI function may be logically simpler to work.

All changes to CI functionality will be in ci.jl, as opposed to spread over each of the summary stats functions.

smishr avatar Mar 01 '23 05:03 smishr