Binomial data can be described in various ways. Suppose we flip a fair coin twice and get one head (success). One method to calculate its negative log-likelihood is
-dbinom(1, 2, 0.5, log=TRUE)
Another approach is
-sum(dbinom(c(1, 0), 1, 0.5, log=TRUE))
Consequently, the results differ, influencing model selection. If each Bernoulli trial represents an independent replication, N replications can be divided in numerous ways (for instance, when N=5, as 1+1+1+1+1 or 2+3, or 1+4, etc.). Due to the differing likelihoods, these divisions are not interchangeable. However, is one method of describing the data superior to others?
Related code in R
> x <- c(2,4)
> N <- c(10,10)
> x0 <- rep(c(1,0), c(sum(x) ,sum(N)-sum(x)))
>
> AIC(glm(cbind(x,N-x) ~ 1, family=binomial))
[1] 8.127032
> AIC(glm(x/N ~ 1, weights=N, family=binomial))
[1] 8.127032
> AIC(glm(x0 ~ 1, family=binomial))
[1] 26.43457
> AIC(glm(cbind(x0,1-x0) ~ 1, family=binomial))
[1] 26.43457