def conf_int(self, obs=False, alpha=0.05):

        se = self.se_obs if obs else self.se_mean

        q = self.dist.ppf(1 - alpha / 2., *self.dist_args)
        lower = self.predicted_mean - q * se
        upper = self.predicted_mean + q * se
        return np.column_stack((lower, upper))
Returns the confidence interval of the value, `effect` of the constraint.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/regression/_prediction.py/PredictionResults.conf_int