What did those poor, innocent statisticians ever do to you?
Weighted regression.
Beta-binomial modeling.