Theory of principal components analysis and applications to multistory frame buildings responding to seismic excitation ...