楼主: gipher
1539 3

求助 [推广有奖]

  • 0关注
  • 0粉丝

学前班

50%

还不是VIP/贵宾

-

威望
0
论坛币
33 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
65 点
帖子
2
精华
0
在线时间
0 小时
注册时间
2007-1-19
最后登录
2007-1-20

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

对应分析中,怎么样用sas把定量数据转化成列联表?

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:数据转化 对应分析 列联表 怎么样 求助

回帖推荐

zzheng722 发表于3楼  查看完整内容

***one way is to recode your 定量数据 into groups and create two new variables called 'weight group' and 'BP group', and do proc freq for these two new variables; ***Another way is to use format to group 定量数据 into different categories. B this way, you don't need to create two new variables***; data a; input weight bloodpressure; cards; 200 150 99 80 110 100 225 120 201 180 103 90 ; ...

本帖被以下文库推荐

沙发
gfgh 发表于 2007-1-26 19:32:00 |只看作者 |坛友微信交流群

概率矩阵?P=X/T, T=x[1][1]+x[1][2]+......+x[m][n]?

[此贴子已经被作者于2007-1-26 20:04:52编辑过]

已有 1 人评分经验 论坛币 收起 理由
bakoll + 5 + 10 热心帮助其他会员

总评分: 经验 + 5  论坛币 + 10   查看全部评分

使用道具

藤椅
zzheng722 发表于 2007-2-23 05:58:00 |只看作者 |坛友微信交流群

***one way is to recode your 定量数据 into groups and create two new variables called 'weight group' and 'BP group', and do proc freq for these two new variables;

***Another way is to use format to group 定量数据 into different categories. B this way, you don't need to create two new variables***;

data a;

input weight bloodpressure;

cards;

200 150

99 80

110 100

225 120

201 180

103 90

;

run;

proc format;

value wtfmt 0-150='Low' 151-high='high';

value bpfmt 0-120='Normal' 121-high='High';

run;

proc freq data=a;

tables weight*bloodpressure/nopercent nocol chisq;

format weight wtfmt. bloodpressure bpfmt.;

run;

使用道具

板凳
nktiger1 发表于 2007-3-7 18:33:00 |只看作者 |坛友微信交流群
Cool.
Actually, I think format is a powerful when data analysis.

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-27 13:58