Statistics for Higher Order Random Walks, Local Spectral Expansion, and Applications