This line generates an error
sense = smkr.Sensemakr(model, treatment='X1', benchmark_covariates=['X2'], kd=[1, 2, 3])
/usr/local/lib/python3.11/dist-packages/sensemakr/sensitivity_statistics.py:177: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
return (t_statistic ** 2 / (t_statistic ** 2 + dof))[0] # extracts float
/usr/local/lib/python3.11/dist-packages/sensemakr/sensitivity_statistics.py:177: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
return (t_statistic ** 2 / (t_statistic ** 2 + dof))[0] # extracts float
An exception has occurred, use %tb to see the full traceback.
SystemExit: Implied bound on r2dz.x >= 1. Impossible kd value. Try a lower kd.
/usr/local/lib/python3.11/dist-packages/IPython/core/interactiveshell.py:3561: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)
This line generates an error
sense = smkr.Sensemakr(model, treatment='X1', benchmark_covariates=['X2'], kd=[1, 2, 3])