Skip to content

Commit

Permalink
fix single estimate for lorenz curve with replicate-based variance es…
Browse files Browse the repository at this point in the history
…timation
  • Loading branch information
guilhermejacob committed Jan 2, 2024
1 parent c5186f7 commit f740a91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/svylorenz.R
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ svylorenz.svyrep.design <-
)))

# compute variance
if ( dim( qq )[1] == 1 ) qq <- t( qq )
variance <-
survey::svrVar(qq,
design$scale,
Expand Down

0 comments on commit f740a91

Please sign in to comment.