xKDR / Survey.jl

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

add equation for bootweights #312

Closed nadiaenh closed 1 year ago

nadiaenh commented 1 year ago

Fixes issue #309

codecov-commenter commented 1 year ago

Codecov Report

Merging #312 (dca7b41) into main (735613e) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #312   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines          242       242           
=========================================
  Hits           242       242           
Files Changed Coverage Δ
src/bootstrap.jl 100.00% <ø> (ø)
ayushpatnaikgit commented 1 year ago
  1. The variance equation is correct, but need to add the reference.
  2. The weights equation is mysterious. Seems unrelated to bootstrapping.

Here are the correct equations:

image pg 385, Section 9.3.3 Bootstrap - Sharon Lohr, Sampling Design and Analysis (2010)