SAS中文论坛

 找回密码
 立即注册

扫一扫,访问微社区

查看: 710|回复: 3
打印 上一主题 下一主题

求助:生存曲线的标记问题

[复制链接]

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
楼主
 楼主| 发表于 2010-4-12 22:13:08 | 只看该作者

求助:生存曲线的标记问题

[size=150:6f8pn2cb]我作出的生存曲线上只有删失值的标记没有正常值的标记,有时候连删失值的标记都没有。不会贴图,先请大伙帮忙看看程序吧。[/size:6f8pn2cb]
data yt7_2;
input t @@;
if t<0 then censor=1;
else censor=0;
if _N_<16 then group='A';
else group='B';
t=abs(t);
cards;
28 29 175 195 309 -377 -393 -421 -447 452 -709 -744 -770 -1106 1206
34 88 137 199 280 291 -299 -300 309 351 358 369 370 375 382 392 -429 451 -1119
;
proc lifetest method=pl plots=(s,ls);
time t * censor(1);
strata group;
proc lifetest method=lt plots=(s,h);
time t * censor(1);
strata group;
run;
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
沙发
 楼主| 发表于 2010-4-13 05:54:26 | 只看该作者

Re: 求助:生存曲线的标记问题

When a METHOD = PL, also the default, was implemented in PROC LIFETEST, step-wise KM curve was given with censor symbol as circle by default except you specified CS = NONE or other symbols. I do not know why you did not see it in your first model. When METHOD = LT, lifetime table, a different style of survival was given, point-to-point connection. It is very dubious you will need the censored marked in this method, because in this type of plot, two censors between the consecutive events could be representing two different survivals (the slope is not horizontal at all) and that is against common sense. Anyhow, in your first method, you are supposed to see the censorship mark and you can change it by an option of CS = none/star/…and so on in the statement of LIFETEST.
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
板凳
 楼主| 发表于 2010-4-13 13:50:42 | 只看该作者

Re: 求助:生存曲线的标记问题

我是看到一篇文献上的图是有标记的,自己画不出来。刚才确认了一下,是一款stat soft 公司的statistica软件画的。
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
地板
 楼主| 发表于 2010-4-13 20:49:08 | 只看该作者

Re: 求助:生存曲线的标记问题

我说的是SAS。
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|小黑屋|手机版|Archiver|SAS中文论坛  

GMT+8, 2026-3-3 14:07 , Processed in 0.098932 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表