作者kenshin528 (成立奥凶帝国!!)
站内Statistics
标题Re: [问题] SAS proc freq的问题
时间Mon Jun 28 20:57:15 2010
从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
1F:推 maumausam:学长谢啦~我来试试看啊~我要使样本能趋近母体的加权 06/28 22:08
2F:→ kenshin528:那就是FREQ阿= = 06/28 23:04
3F:推 maumausam:不知道为啥怎麽用都无法跑,weight 加权值也没用 06/28 23:10
4F:推 maumausam:跑出来无法像proc freq中有weight到,呵呵! 06/28 23:13
5F:→ kenshin528:ㄜ 就我之前用过的经验是可以用 06/29 11:53
6F:推 maumausam:明天来PO新发现,这几天上班太累了~谢谢帮助我的人 07/02 10:31
7F:推 wlsherica:恭喜~!太好了 07/02 15:59
8F:推 maumausam:利用proc tabulata 07/03 14:11
9F:→ maumausam:在var 那+ w(加权变项);table var1,w*(sum*F=8.3) ; run 07/03 14:13
10F:→ maumausam:但我後来又发现一个问题row percent该怎麽办呢? 07/03 14:13
11F:→ maumausam:因为他比例的选项都是全部分组系格的,不会有rowpercent 07/03 14:15
12F:→ maumausam:又要继续思考了,很感谢两位热心的帮助 07/03 14:15
13F:→ maumausam:有想到请再跟我说~我也来想看看 07/03 14:15
14F:推 wlsherica:你的row percent没一起改变吗@@ 07/06 23:50
15F:推 maumausam:W大我再想看看~周末再来 07/06 23:55