Text this: A statistical simulation method for causality inference of Boolean variables