总共有五个地方要改:
output file = c:\\Gauss9.0\\CCEgauss6_22Aug08\\CCEgauss6_out.txt RESET;
/* Specify the rage of first raw, variables names */
vname=xlsreadm("c:\\Gauss9.0\\CCEgauss6_22Aug08\\CCEtestdata.xls","a1:e1",1,"");
/* Specify the range of the cross section varying regresssors, second raw onwards */
data=xlsreadm("c:\\Gauss9.0\\CCEgauss6_22Aug08\\CCEtestdata.xls","a2:e29",1,"");
/* Specify the rage of first raw, variables names (SECOND EXCEL SHEET)*/
dname=xlsreadm("c:\\Gauss9.0\\CCEgauss6_22Aug08\\CCEtestdata.xls","b1:b1",2,"");
dname=dname[1,1:nb_d];
/* Specify the rage of observed common factors z_t (SECOND EXCEL SHEET)*/
data_d=xlsreadm("c:\\Gauss9.0\\CCEgauss6_22Aug08\\CCEtestdata.xls","b2:b11",2,"");