### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.2.0 documentation »
- Generalized Linear Models »

# scikits.statsmodels.family.family.Binomial

class `scikits.statsmodels.family.family.``Binomial`(link=<scikits.statsmodels.family.links.Logit object at 0x032FF030>)

  Binomial exponential family distribution.

  Parameters: | link : a link instance, optional The default link for the Binomial family is the logit link. Available links are logit, probit, cauchy, log, and cloglog. See statsmodels.family.links for more information.

  See also

  `statsmodels.family.family.Family`

  Notes

  endog for Binomial can be specified in one of three ways.

  Attributes

  `link` | Helper method to get the link for a family.
  `variance` |

  Methods

  `resid_dev`(Y, mu[, scale]) | Binomial deviance residuals
  `deviance`(Y, mu[, scale]) | Deviance function for either Bernoulli or Binomial data.
  `initialize`(Y) | Initialize the response variable.
  `loglike`(Y, mu[, scale]) | Loglikelihood function for Binomial exponential family distribution.
  `resid_anscombe`(Y, mu) | The Anscombe residuals

### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.2.0 documentation »
- Generalized Linear Models »