statsmodels.genmod.generalized_linear_model.PredictionResults.conf_int

PredictionResults.conf_int(method='endpoint', alpha=0.05, **kwds) [source]

Returns the confidence interval of the value, effect of the constraint.

This is currently only available for t and z tests.

Parameters:
  • alpha (float, optional) – The significance level for the confidence interval. ie., The default alpha = .05 returns a 95% confidence interval.
  • kwds (extra keyword arguments) – currently ignored, only for compatibility, consistent signature
Returns:

ci – The array has the lower and the upper limit of the confidence interval in the columns.

Return type:

ndarray, (k_constraints, 2)

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.genmod.generalized_linear_model.PredictionResults.conf_int.html