To estimate the static factors using principal components, extract all of the files and the data to a common folder and run the file Makedata.m. The raw data are in The data is in lndata.mat.