Interface Binomial


public interface Binomial
The response variable is of Binomial distribution.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static Model
    logit(int[] n)
    logit link function.
  • Method Details

    • logit

      static Model logit(int[] n)
      logit link function. Suppose n * y has a bin(n, p) distribution. That is, y is the sample proportion (rather than number) of successes. So E(y) is independent of n.
      Parameters:
      n - each sample y[i] is of bin(n[i], p_i) distribution.
      Returns:
      logit link function.