作者jdjs (毛毛哥)
看板Statistics
標題[問題] SAS裡的迴圈
時間Sat Aug 19 00:19:09 2006
以下這個程式是完全獨立樣本two way anova
我想問的是關於他簡潔輸入data的方式
請問一下單一個「@」是什麼意思 還有為什麼在input score後還要寫output呢?
謝謝
data TwoWayAnova;
input air $ method $ @; /*這個@是什麼意思?*/
do i=1 to 5;
input score @; /*這個@和上個@的意思一樣嗎?*/
output;
end;
cards;
a1 b1 4 9 8 9 6
a1 b2 1 3 4 5 3
a1 b3 3 9 6 5 9
a2 b1 3 8 5 6 3
a2 b2 7 3 4 2 5
a2 b3 11 8 10 12 9
proc anova;
class air method ;
model score=air method air*method;
means method/tukey cldiff;
run;
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.112.186.175