1. 為什麼sas輸出結果沒有圖
網路的問題。多數是網路連接異常導致。
1、首先打開電腦檢查網路。
2、其次打開sas進行測試網路連接是否異常。
3、最後點擊圖片重新打開就可以看見sas輸出結果的圖片了。
2. 如何把SAS做出的結果復制到WORD中
1.先輸入已經寫好的程序 例如:
data ch1201;
input recipe $ weight @@; cards;
a1 164 a1 190 a1 203 a1 205
a1 206 a1 214 a1 228 a1 257
a2 185 a2 197 a2 201 a2 231
a3 187 a3 212 a3 215 a3 220
a3 248 a3 265 a3 281 ; run;
proc anova data=ch1201; class recipe;
model weight=recipe; run;
2.把ods rtf file='e:1.rtf';添加到第一個proc前 把ods rtf close;
3.添加到最後run;後面運行就會在E盤得到一個文件名為1的word文檔,運行結果就在裡面。
4.完整程序如下:
data ch1201;
input recipe $ weight @@; cards;
a1 164 a1 190 a1 203 a1 205
a1 206 a1 214 a1 228 a1 257
a2 185 a2 197 a2 201 a2 231
a3 187 a3 212 a3 215 a3 220
a3 248 a3 265 a3 281 ; run;
ods rtf file='e:1.rtf'; proc anova data=ch1201; class recipe;
model weight=recipe; run;
ods rtf close;
運行結果如下:
3. sas中如何做出殘差圖
給你個示常式序:
odshtml;
odsgraphicson;
procmixed;
classFamilyGender;
modelHeight=Gender/resial;
randomFamilyFamily*Gender;
run;
odsgraphicsoff;
odshtmlclose;
這是使用ODS輸出系統,直接將以身高為自變數,性別為因變數,進行mixed效應分析所得殘差圖輸出為html格式。
以下是另外用回歸方法作的殘差圖:
數據:
dataClass;
inputName$HeightWeightAge@@;
datalines;
Alfred69.0112.514Alice56.584.013Barbara65.398.013
Carol62.8102.514Henry63.5102.514James57.383.012
Jane59.884.512Janet62.5112.515Jeffrey62.584.013
John59.099.512Joyce51.350.511Judy64.390.014
Louise56.377.012Mary66.5112.015Philip72.0150.016
Robert64.8128.012Ronald67.0133.015Thomas57.585.011
William66.5112.015
;
程序:
odshtml;
odsgraphicson;
procregdata=Class;
modelWeight=Height;
run;
quit;
odsgraphicsoff;
odshtmlclose;
圖見插入圖:
4. SAS的輸出文件怎麼導出為word或excel文件
Right click your output file ( xxxx.lst) and choose '"open as ",then choose "Micrisoft office word",done!!!!
一個間接的方法就是把sas調整一下,讓他在把結果輸出到output窗口的同時產生一個網頁形式的結果,然後在網頁結果上面右鍵到導出到excel中,然後再進行相應修改.
5. 如何用SAS在同一頁中輸出多幅圖形
SAS(Statistical Analysis System)是世界范圍內著名的統計軟體之一,有著強大的數據處理和分析能力.但是,龐大而深奧的SAS系統使用起來確實有一些難度,日常中使用的一些模塊和過程.筆者曾為能在同一頁中輸出多幅圖形而翻遍了幾大本SAS書,卻一無所獲,SAS的在線幫助又支離破碎,很難將有用的東西組織成一個有機的整體,只得一幅一幅地畫,再用圖形處理軟體排列起來,真是費盡了心機.後來偶然間在網上看見GREPLAY過程可以實現這一功能,並且可以自定義輸出的版面,實現多幅圖形在同一頁面輸出.現簡介如下.
6. sas文件怎麼輸出jpg
你可以直接save as 你想要的各種格式,
或者把它輸出到pdf, word中都是可以的