作者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