Parallelized treatment effects calculation