问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

proc phreg

发布网友 发布时间:2023-04-27 13:48

我来回答

1个回答

热心网友 时间:2023-10-23 10:59

One day, my boss took a glance at a table with Hazard Ratioand Median Survival Timethen he told me the program set the reference group in Proc Phregwrong.

It turns out he was correct after validating the program. However, I was very curious about how did he figure it out by an Augenblick. Then he shared with us some knowledge about Hazard Ratioand Proc Phreg.

Hazard Rate : HRs represent instantaneous risk over the study time period.

Median Survival Time: The time after which 50 percent of people with a particular condition are still living, and 50 percent have died.

Median survival time and Hazard Rate

if Median(A) > Median(B) then Hazard Rate(A) < Hazard Rate(B), vice versa.

Without Loss of Generality, if the median survival time of group A is significantly longer than group B, then Hazard Rate of group A is smaller than Hazard Rate of group B at any given point, vice versa.

qimono / Pixabay[/caption]

Now we will demonstrate Proc Phreg with Hazard Ratio with Sashelp.BMTdataset.

Basic Proc Phreg Syntax

<pre class="EnlighterJSRAW" data-enlighter-language="sql" data-enlighter-highlight="2,4">Proc phreg data=a;
class x ; / ref(x) only character value, the lowest character value is reference /
model x y= a/rl ; / can input more than one variable on the RHS of the equation. rl:risk limit (eßt) /
by z;/ optional /
id m;/ optional*/
run;</pre>

<pre class="EnlighterJSRAW" data-enlighter-language="sql">data aml;
set sashelp.bmt;
if group="AML-Low Risk" then ref="0";
if group="AML-High Risk" then ref="1";
if ref in("0","1");
run;</pre>

<pre class="EnlighterJSRAW" data-enlighter-language="sql" data-enlighter-highlight="2,3">proc phreg data=aml outest=est61 covout;
class ref;
model T*status(0)=ref/rl;
run;</pre>

Results:

From the output, we have Hazard Ratio=0.39, which means the risk of death of a patient in AML high Group survives until today and will survive until tomorrow, compared with the AML Low Group Reced by 0.61. (1-Hazard Ratio)*100%

Validation:

As we mentioned earlier, if Hazard Ratio <1 then we expected a longer survival median time in AML Low Group. The following Kaplan Meier plot demonstrated the AML Low Group indeed has a larger survival median.

<pre class="EnlighterJSRAW" data-enlighter-language="python">proc lifetest data=aml plots=survival;
time T*status(0);
strata Group;
run;</pre>

Thanks very much to Joe wang to share the Proc Phreg knowledge with me, we will show the 3-level Hazard Ratio in Proc Phreg next time!

Happy studying! 🐰

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
弹钢琴时手指速度总是不自觉变快怎么办? 弹钢琴时速度总是不自觉变快怎么办? 微信发表情包上限是多少 ...8.0.3版本更新什么?微信表情包上限变成999是什么 成人毛线斗篷式开襟披肩编织 江苏洛社商贸城项目有哪些主要特点和设施? 永明镇的乡镇建设 蓝光花满庭小区基本信息 洛社商贸城项目概括 怀孕了能不能吃汤圆 好听的收货人昵称 网页上自动出现的悬浮窗右上角的delete关闭按钮的代码应该怎么写 无害忍不生,怨敌生忍福.既为修福因,云何谓障福 怨敌是一种业力吗 为何我执才是真正怨敌 怨敌的意思怨敌的意思是什么 中元节如何过中元节怎么过 中元节只有广西过吗 就是说我把路由器恢复出厂设置了,但是手机也连不上网络,该怎么恢复网络? 鳞虫的引证解释鳞虫的引证解释是什么 零度战姬第二季有牛吗 荀子为什么会提出“法后王”的主张? 荀子在*上主张的“法后王”“以近知远”反对“法先王”都是什么意思啊???求大神帮助 诟斥的读音诟斥的读音是什么 请问谁能帮忙PS一张照片?? 这张照片变成 ”红色底板 大小为100KB-500KB 分辨率不得高于800X600 PPI 川崎400耗油量是多少? 外地人可以去北京买川崎400 远视,500度不带眼镜可以吗 运视不戴眼镜会怎么样? 多年的口臭病能不能治愈,我想听真话,谢谢大家! 为什么Win7玩游戏老是:出现了一个问题,导致程序停止正常工作。请关闭该程序。 win7旗舰版安装了AE打开时显示出现了一个问题,导致程序停止正常工作,请关闭? win7程序出现一个问题导致程序停止正常工作请关闭该程序怎么解 家字的毛笔行书写法 家字怎么写好看图解? dnf90版本天帝加点攻略 dnf暗帝起源版本90刷图加点分析 刚注册美团众包怎么没有单子啊听别人讲一天能跑三四百怎么回事 王者荣耀为什么安装后打不开 鲜花怒马少年时的出处是哪里? 怎么查看steam游戏安装目录steam中安装的游戏安装目录在哪里 花木兰羞答答豫剧原唱常香玉 hide的近义词 藏的同义词? 隐藏yǐncáng什么意思近义词和反义词是什么英文翻译是什么 务实的诗句务实的诗句是什么 AutoCAD怎样创建块 &quot;Marginal man&quot;翻译过来的中文意思是什么? 郊庙歌辞·享文敬太子庙乐章·迎俎酌献原文_翻译及赏析 哪个好心人来帮我解释意思花下重门不堪回首是什么意思秦观作品