ods listing close;
ods rtf file= "D:\????\SAS\second\a.rtf" style = journal ;
options formchar="|____|+|___+=|-/\<>*" ;
proc report data=outr2 headline headskip nocenter nowd;
column ('--' y1 y2 y3 y4 y5);
title '三因子模型:市场因子、规模因子、价值因子‘;
title2 ' Adjusted R-square';
define y1/display format=6.4 width=10 'HML1';
define y2/display format=6.4 width=10 'HML2';
define y3/display format=6.4 width=10 'HML3';
define y4/display format=6.4 width=10 'HML4';
define y5/display format=6.4 width=10 'HML5';
compute after;
line '';
line @3 60*'_';
endcomp;
run;
ods rtf close;
ods listing;
上面的代码将outr2数据集中5x5数据集输出到如图表格,但是缺少行标题,请问如何加上行标题“SMB1” “SMB2”“SMB3”“SMB4”“SMB5”.
另外请问如何让标题居中
恳请大佬赐教!