Maciej Beręsewicz
banner
mberesewicz.bsky.social
Maciej Beręsewicz
@mberesewicz.bsky.social
Statistician, an R enthusiast, official #statistics, non-probability samples, #rstats,
Pinned
New version of the {nonprobsvy} #rstats package is on its way to CRAN! We have made significant changes to the source code, its functionality and added new methods.

The output changed and was inspired by an excellent {WeightIt} pkg @noahgreifer.bsky.social ncn-foreigners.github.io/nonprobsvy
Another #rstats package uploaded to CRAN! If you are linking data without identifiers and thinking about non-standard blocking methods to compare pairs, check out our {blocking} package. See the website and (hopefully) informative vignettes! ncn-foreigners.ue.poznan.pl/blocking/
June 17, 2025 at 11:33 AM
I've just got my copy of your book, @bradytwest.bsky.social. Thanks for including the {nonprobsvy}!
June 3, 2025 at 6:37 AM
Ok, I’ve checked the docs. Do you use these commands to impute values i.e. for mass imputation estimator? If for the IPW we do not support more then two sources (nonprobability and probability samples).
April 8, 2025 at 7:28 PM
Any comments are more than welcome! :)
April 8, 2025 at 4:34 PM
Unfortunately, don’t know stata so much so I need to check out the documentation and I’ll go back to you
April 8, 2025 at 4:29 PM
If you are interested in the theory behind the {nonprobsvy} package, consider reading the working paper that we just uploaded on #arXiv arxiv.org/abs/2504.04255 #rstats
April 8, 2025 at 2:44 PM
That’s next on our list. We're working on it, and we hope to finish the final version at the end of May or beginning of June.
March 27, 2025 at 3:18 PM
As well as polishing the code, we also worked on the documentation. The package is based on the {survey} package (@tslumley.bsky.social), but you can also use the {srvyr} package (@bschneidr.bsky.social).

If you are interested in non-probability sampling, this is for you! #EconSky #StatsSky
March 27, 2025 at 2:56 PM
New version of the {nonprobsvy} #rstats package is on its way to CRAN! We have made significant changes to the source code, its functionality and added new methods.

The output changed and was inspired by an excellent {WeightIt} pkg @noahgreifer.bsky.social ncn-foreigners.github.io/nonprobsvy
March 27, 2025 at 2:56 PM
Thank you! I will check it out.
February 17, 2025 at 5:52 PM
I’m familiar with {targets} but this is mainly for data analysis pipeline than my problem…but I will check it out and read the manuals/tutorials.
February 14, 2025 at 3:39 PM
You are not far away from the truth as this the reason why I need such tool :)
February 14, 2025 at 3:33 PM
Ok, it seems that the second package does what I was looking for! In general, I am interested in connections between functions I, or my colleagues, wrote i.e. say fun1 is used in fun2 and fun3 and fun2 in fun4. The goal is to understand how the functions effect each other and to manage changes.
February 14, 2025 at 3:25 PM
#rstats developers, can anyone tell me if there is a tool (preferably an R package) that can count the number of functions used and their connections within my own package? @vincentab.bsky.social @zeileis.org
#rstats developers, do you know of a package that allows me to see how many times a given R/Rcpp function created by my package is used within my package (R/ and src/)? Is there a tool that allows me to visualise the relationship between funs? yes, I have my own funs that do it but I need a tool :)
February 14, 2025 at 1:53 PM
#rstats developers, do you know of a package that allows me to see how many times a given R/Rcpp function created by my package is used within my package (R/ and src/)? Is there a tool that allows me to visualise the relationship between funs? yes, I have my own funs that do it but I need a tool :)
February 14, 2025 at 8:48 AM
Reposted by Maciej Beręsewicz
Another bad day in the U.S. for any technical documents that talk about the "bias" in estimators...🙄
1. EXCLUSIVE

Today, the NSA is planning a "Big Delete" of websites and internal network content that contain any of 27 banned words, including "privilege," "bias," and "inclusion," a NSA source tells Popular Information.

The massive purge is creating chaos, taking down "mission-related" work
The NSA's "Big Delete"
Today, the National Security Agency (NSA) is planning a "Big Delete" of websites and internal network content that contain any of 27 banned words, including "privilege," "bias," and "inclusion." The "...
popular.info
February 10, 2025 at 5:44 PM
I agree with Stephen and Thomas. The sampling will be the same but you need to account for the correlation at the inference stage otherwise your standard errors may be to optimistic.
February 5, 2025 at 3:25 PM
Reposted by Maciej Beręsewicz
#rstats If you are interested in estimating population size, you may wish to use our package {singleRcapture} which has just been uploaded to CRAN (0.2.2). The package implements several methods (based on truncated distributions) and provides a user-friendly API. cran.r-project.org/package=sing...
February 4, 2025 at 9:30 AM
The package is suited for those of you who study hard-to-reach human or wildlife populations. For more see our paper: arxiv.org/abs/2411.11032
singleRcapture: An R Package for Single-Source Capture-Recapture Models
Population size estimation is a major challenge in official statistics, social sciences, and natural sciences. The problem can be tackled by applying capture-recapture methods, which vary depending on...
arxiv.org
February 4, 2025 at 9:30 AM
#rstats If you are interested in estimating population size, you may wish to use our package {singleRcapture} which has just been uploaded to CRAN (0.2.2). The package implements several methods (based on truncated distributions) and provides a user-friendly API. cran.r-project.org/package=sing...
February 4, 2025 at 9:30 AM
Reposted by Maciej Beręsewicz
Today’s issue of The Survey Statistician includes an overview of two #rstats 📦’s (srvyr & svrep) for survey data analysis, facilitating Tidyverse workflows and flexible resampling methods such as the generalized bootstrap, building on ‘survey’ as a foundation #statsky

isi-iass.org/home/wp-cont...
January 28, 2025 at 2:13 PM
Trump’s administration is stopping money for surveys it doesn't like?
February 1, 2025 at 4:28 PM
We are open comments and suggestions!
January 31, 2025 at 2:47 PM
@bradytwest.bsky.social We've finally finished a draft paper on the nonprobsvy package: github.com/ncn-foreigne.... Just bear in mind that the abstract and the section on classes
are incomplete. We're also doing a big update to the pkg, so expect breaking changes. We are open feedback :)
github.com
January 31, 2025 at 2:47 PM