看板 Statistics 關於我們 聯絡資訊
[軟體程式類別]: 請填入軟體程式類別,例如:SAS、SPSS、AMOS、R、STATA、EVIEWS...等 SAS [程式問題]: 資料處理、迴歸、敘述統計、logistic、probit...等 資料處理 [軟體熟悉度]: 請把以下不需要的部份刪除 新手 [問題敘述]: 大家好, 我有一筆資料 已經stacked 總共是三個group response是level group3 as control 但我出現error: ERROR: Only CLASS variables allowed in this effect. 在lsmeans這一個command 我使用的是Proc glm [程式範例]: data women; input level 1-4 group 5-6; cards; 262 1 307 1 211 1 323 1 454 1 339 1 304 1 154 1 287 1 356 1 465 2 501 2 455 2 355 2 468 2 362 2 343 3 772 3 207 3 1048 3 838 3 687 3 ; proc print data=women; run; proc glm data = women plots=diagnostics; class group; model level=group; lsmeans level group level*group/ pdiff=controll('group') cl adjust=dunnett; run; quit; 請問我lsmeans這一部分要如何修改才能work out? 謝謝大家~~ -- -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 129.21.70.109 ※ 文章網址: https://www.ptt.cc/bbs/Statistics/M.1524199192.A.714.html