ajdamico / convey

variance of distribution measures estimation of survey data
GNU General Public License v3.0
17 stars 7 forks source link

svyjdivdec missingness handling #405

Closed ajdamico closed 1 year ago

ajdamico commented 1 year ago

when i run the examples in ?svyjdivdec, these two blocks look incorrect?

> svyjdivdec( ~py010n , ~rb090 , sub_des_eusilc , na.rm = TRUE )
        jdiv decomposition  SE
total             0.466928 Inf
within            0.427726  NA
between           0.039202  NA

=========

> svyjdivdec( ~py010n , ~rb090 , sub_des_eusilc_rep )
Error in survey::svrVar(qq.matrix, design$scale, design$rscales, mse = design$mse,  : 
  All replicates contained NAs
ajdamico commented 1 year ago

fixed by https://github.com/ajdamico/convey/pull/406