在ODS POWERPOINT語句中,我打算從PROC MIXED產生一些輸出。我不希望所有的表格都顯示出來。 使用ODS TRACE ON通過下面的結果日誌:爲什麼在使用ods select和proc混合時會出現警告?
輸出新增:
名稱:ModelInfo
標籤:產品型號信息
模板:Stat.Mixed.ModelInfo
Path:Mixed.ModelInfo
輸出新增:
名稱:ClassLevels
標籤:職業等級信息
模板:Stat.Mixed.ClassLevels
路徑:Mixed.ClassLevels
輸出新增:
名稱:尺寸
標籤:尺寸
模板:Stat.Mixed.Dimensions
路徑:Mixed.Dimensions
輸出增加:
名稱:NOBS
標籤:Stat.Mixed.NObs
路徑:觀察
模板數Mixed.NObs
輸出新增:
名稱:IterHistory
標籤:迭代歷史
模板:Stat.Mixed.IterHistory
路徑:混合。IterHistory
輸出新增:
名稱:ConvergenceStatus
標籤:收斂狀態
模板:Stat.Mixed.ConvergenceStatus
路徑:Mixed.ConvergenceStatus
注意:符合收斂標準。
輸出新增:
名稱:CovParms
標籤:協方差參數估計值
模板:Stat.Mixed.CovParms
路徑:Mixed.CovParms
輸出新增:
名稱:FitStatistics
標籤:飛度統計
模板:Stat.Mixed.FitStatistics
路徑:Mixed.FitStatistics
輸出增加:
名稱:SolutionF
標籤:解決方案固定效應
模板:Stat.Mixed.SolutionF
路徑:Mixed.SolutionF
輸出加:
名稱:Tests3
標籤:類型固定效應
3次測試的模板:Stat.Mixed.Tests3
路徑:混合。Tests3
輸出新增:
名稱:LSMEANS
標籤:最小二乘均值
模板:Stat.Mixed.LSMeans
路徑:Mixed.LSMeans
注:步驟混合使用(總處理時間):
real time 0.15 seconds
cpu time 0.07 seconds
...
我只想顯示名爲 「CovParms」 輸出 「Tests3」 和 「LSMEANS」。 我在PROC MIXED之前添加ODS SELECT語句如下:
ODS POWERPOINT FILE ='.. \ programme \ outputtest.pptx'nogtitle nogfootnote;
ods noptitle;
ods trace on;
--- ---程序
ODS SELECT CovParms Tests3 LSMEANS;
proc mixed data = data;
class A B C D;
模型Y = X A X B X A B A B * X
/DDFM=KENWARDROGER solution;
隨機
Çd甲 d;
lsmeans A * B;
run;
quit;
--- PROCEDURES ---
ODS POWERPOINT CLOSE;
但是,所有表都顯示在Power Point文件中 - 不僅僅是ODS SELECT語句中所述的那些表。日誌說:
1323 ODS SELECT CovParms Tests3 LSMeans;
警告:輸出'LSMeans'未創建。確保
output object name, label, or path is spelled
correctly. Also, verify that the appropriate
procedure options are used to produce the requested
output object. For example, verify that the NOPRINT
option is not used.
警告:輸出'Tests3'未創建。確保
output object name, label, or path is spelled
correctly. Also, verify that the appropriate
procedure options are used to produce the requested
output object. For example, verify that the NOPRINT
option is not used.
警告:輸出'CovParms'未創建。確保
output object name, label, or path is spelled
correctly. Also, verify that the appropriate
procedure options are used to produce the requested
output object. For example, verify that the NOPRINT
option is not used.
警告:目前ODS SELECT /排除/輸出語句是
cleared because the end of a procedure step was
detected. Probable causes for this include the
non-termination of an interactive procedure (type
quit; to end the procedure) and a run group with no
output.
然而,當我忽略了其他的程序我得到想要的輸出。
這是什麼錯誤? 任何幫助表示讚賞。
你可以嘗試在'proc mixed'(不是之前)裏面加入'ods select'語句嗎? –
謝謝你,Christos。由於某種原因,它的工作。 –