[程式] 找出SAS語法錯誤(已解決)
Which of the following programs contain a syntax error?
a. proc sort data=sasuser.mysales;
b. by region;
c. run;
d. dat sasuser.mysales;
e. set mydata.sales99;
f. run;
g. proc print data=sasuser.mysales label;
h. label region='Sales Region';
i. run;
j. none of the above.
答案是b,
不是d的原因是在SAS log顯示漏打字字母只會出現警告(warning),
但...b實在看不出哪裡有問題耶...
請高手指教一番,謝謝
答案是d沒錯,後來檢查是排版出問題...
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.136.134.90
※ 文章網址: http://www.ptt.cc/bbs/Statistics/M.1405839054.A.3F2.html
※ 編輯: gogostay (140.136.134.90), 07/20/2014 15:02:10