Package smile.glm.model
Interface Binomial
public interface Binomial
The response variable is of Binomial distribution.
-
Method Summary
-
Method Details
-
logit
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.
-