High-Dimensional Statistical Inference: Phase Transition, Power Enhancement, And Sampling