Statistical and dynamic models of charge balance functions