Scalable Algorithms For Distributed Statistical Inference