Closed bschneidr closed 4 months ago
I think the checks are failing because it's installing an older version of 'survey': the updated 'survey' only just started releasing on CRAN yesterday. So maybe we should give it a couple days before re-running the checks.
Awesome, thanks!
This PR brings
as_survey_rep()
up-to-date with an update tosvrepdesign()
in the latest release of the 'survey' package.https://cran.r-project.org/web/packages/survey/NEWS
The updates include:
degf
as an argument inas_survey_rep()
, behindmse
, with accompanying roxygen2 documentationBackground
The motivation behind this change in the 'survey' package is that when Thomas Lumley updated
degf()
in version 3.3 of 'survey', it was a good idea from a statistical perspective but introduced problems when working with large datasets, since it requires an expensive matrix decomposition of the replicate weights. So when working with large datasets like ACS microdata, the functionsvrepdesign()
could crash or take up a lot of time and memory just to calculate the design degrees of freedom. This update to 'survey' and 'srvyr' allows the user to bypass this by manually specifying the degrees of freedom.