Skip to content

Commit

Permalink
Add comment clarifying replicate weights setting
Browse files Browse the repository at this point in the history
  • Loading branch information
apeterson91 committed Jan 20, 2024
1 parent e19cd4c commit ae52084
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/pums.R
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,11 @@ to_survey <- function(df,
# }

if (design == "rep_weights"){
# Arguments are set according to guidance from the ipums documentation
# available at https://usa.ipums.org/usa/repwt.shtml#q50.
# Although these are successive difference weights use of the "JK1",
# jackknife, type setting below with the corresponding arguments
# produces equivalent results.
survey <- survey::svrepdesign(
variables = variables,
weights = weights,
Expand Down

0 comments on commit ae52084

Please sign in to comment.