xKDR / Survey.jl

Analysis of complex surveys
https://xkdr.github.io/Survey.jl/
GNU General Public License v3.0
50 stars 19 forks source link

Add feature to compute variance when original weights are not given. #301

Open codetalker7 opened 1 year ago

codetalker7 commented 1 year ago

The ReplicateDesign constructor supports specifying the columns in the input DataFrame which are to be used as the replicate weights.

In such situations, the current variance implementation won't work (because it uses original weights to compute the variance). Support should be added for computing the variance in the case where original weights are not available.