robincar_mh
, which calculates a Mantel-Haenszel statistic. Please see Xiaoyu Qiu, Yuhan Qian, Jaehwan Yi, Jinqiu Wang, Yu Du, Yanyao Yi, Ting Ye (2025) for methods, and our new vignette.robincar_glm
. They are asymptotically equivalent to the original estimator, but have different finite sample properties. See the description of the function for details.NEWS.md
file to track changes to the package.robincar_linear2
and robincar_glm2
. These are wrappers for robincar_linear
and robincar_glm
, respectively, but they give the user more full control over their covariate adjustment settings. The differences are listed below:
robincar_linear
and robincar_linear2
is that in robincar_linear2
, if you want to include strata variables as covariates in the working model, you need to add those strata variables to the covariate_cols
as well as the car_strata_cols
.robincar_glm2
is exactly robincar_glm
but only with the formula
working model functionality.formula
argument in robincar_glm
. The first is if you had overlapping names for your treatment/response/covariate/strata variables (e.g., “A” for treatment col, and “A2” for covariate col), the formula would parse incorrectly. The second is if you used parentheses (e.g., “A*(x1+x2)“), the formula would also parse incorrectly. This would have given breaking errors to the user, and now the behavior is fixed.