### Navigation

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

# scikits.statsmodels.family.family.Binomial.initialize

`Binomial.``initialize`(Y)

  Initialize the response variable.

  Parameters: | Y : array Endogenous response variable
  Returns: | If `Y` is binary, returns `Y` : If `Y` is a 2d array, then the input is assumed to be in the format : (successes, failures) and : successes/(success + failures) is returned. And n is set to : successes + failures. :

### Navigation

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