robincar_glm: "log_ratio" and "log_odds_ratio". Now, when users ask for "ratio" or "odds_ratio" they get a warning that they should switch to the log scale, as this has better performance. To obtain risk ratios, or odds ratios, exponentiate the estimates.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.robincar_glm.robincar_logrank, robincar_coxscore, and robincar_covhr.robincar_glm: removed robincar_glm,
and renamed robincar_glm2 to robincar_glm. Same with robincar_linear and robincar_linear2. In effect,
the older versions of robincar_linear and robincar_glm have been deprecated.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.Initial Release