I am analysing data using the survey package.
There is a function svyciprop
that allows for CI calculation but I am trying to find a proper way to calculate standard errors for proportions.
Only two things worked until now, using SE(svyciprop(formula, design))
or svymean(formula,design)
, both calculations display the same SE result, are they proper ways to calculate SE for proportions?