A Generalized Chain Binomial Model with Aggregated Data