Statistical inference for high-dimensional data