### Navigation

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

# scikits.statsmodels.family.family.Binomial

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

  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

  `devresid`(Y, mu) | Binomial deviance residuals
  `deviance`(Y, mu) | 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.1.0 documentation »
- Generalized Linear Models »