I am trying to run a sensitivity analysis using the sensemakr() function, based on the syntax provided in the Darfur vignette. I keep getting the following error: "Error in check_covariates(rownames(coefs), covariates) : Variables not found in model: BG" even though the variable in question is definitely included in the model and exists in the dataframe. Might you have an idea why this is happening?
Thank you for your time, and for this great package!
Hello,
I am trying to run a sensitivity analysis using the sensemakr() function, based on the syntax provided in the Darfur vignette. I keep getting the following error: "Error in check_covariates(rownames(coefs), covariates) : Variables not found in model: BG" even though the variable in question is definitely included in the model and exists in the dataframe. Might you have an idea why this is happening?
Thank you for your time, and for this great package!