TwoSampleBernoulli function

Two sample Bernoulli model