general CI
function
#184
Labels
enhancement
New feature or request
food for thought
High level ideas/links or thoughts for long run dev of project
Milestone
The latest
quantile
fn calculates SE using bootweights.Confidence intervals are important part of statistical analysis. Add Confidence interval lower and upper to package
Usually in surveys there are three options for CI calculation, preferred by different people, and is subjective which is "best".
z-value is usually adequate, as n is large in most surveys. Also, for non-normal data and for more complex sample designs and estimators, the appropriate degrees of freedom are not obvious for using t.
Perhaps keyword options can be passed, and this CI function can be made more general like:
function ci(statistic, SE, type="normal" [,alpha=0.05, e=2] )
with
type="t"
andtype="margin"
supportThe text was updated successfully, but these errors were encountered: