Closed sou412 closed 9 months ago
When the outcome has zero variation in the control group, the function did_check() fails with the following error message:
did_check()
# Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : # NA/NaN/Inf in 'y'
NA
option = list(skip_standardize = TRUE)
skip_standardize = TRUE
See this doc for the details. The update is tested against the data shared offline.
Before the fix
When the outcome has zero variation in the control group, the function
did_check()
fails with the following error message:After the fix
NA
. The warning suggests settingoption = list(skip_standardize = TRUE)
.skip_standardize = TRUE
, use the original scale to compute the equivalence CIs.Test
See this doc for the details. The update is tested against the data shared offline.