看板 Statistics 關於我們 聯絡資訊
從sas help檔copy出來的東西... PROC TABULATE <option(s)>; FREQ variable; WEIGHT variable; freq的作用 Identify a variable in the input data set whose values "represent" the frequency of each observation weight的作用 Identify a variable in the input data set whose values "weight each observation" in the statistical calculations 一般加權數的意思是指第一種freq... 我不知道你要的是哪個... -- (C)lass 【 分組討論區 】 11 卡漫夢工廠 卡通, 漫畫, 動畫 [Ckmike] 4 C_J_Artist 作家 Σ日本漫畫家專區 [Ckmike] 10 TakahasiShin 作家 ◎****高橋真作品討論版**** kenshin528 http://kenshin528.pixnet.net SAS Story -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.252.94.142
maumausam:學長謝啦~我來試試看啊~我要使樣本能趨近母體的加權 06/28 22:08
kenshin528:那就是FREQ阿= = 06/28 23:04
maumausam:不知道為啥怎麼用都無法跑,weight 加權值也沒用 06/28 23:10
maumausam:跑出來無法像proc freq中有weight到,呵呵! 06/28 23:13
kenshin528:ㄜ 就我之前用過的經驗是可以用 06/29 11:53
maumausam:明天來PO新發現,這幾天上班太累了~謝謝幫助我的人 07/02 10:31
wlsherica:恭喜~!太好了 07/02 15:59
maumausam:利用proc tabulata 07/03 14:11
maumausam:在var 那+ w(加權變項);table var1,w*(sum*F=8.3) ; run 07/03 14:13
maumausam:但我後來又發現一個問題row percent該怎麼辦呢? 07/03 14:13
maumausam:因為他比例的選項都是全部分組系格的,不會有rowpercent 07/03 14:15
maumausam:又要繼續思考了,很感謝兩位熱心的幫助 07/03 14:15
maumausam:有想到請再跟我說~我也來想看看 07/03 14:15
wlsherica:你的row percent沒一起改變嗎@@ 07/06 23:50
maumausam:W大我再想看看~周末再來 07/06 23:55