由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - Ask a question---About SAS 9.2 proc phreg Assess statement
相关主题
converge problem in proc phreg请教一个SAS PROC PHREG 的问题
HELP!!!!!How to make image.plot in sas
compute AIC in Proc Logisitic and Proc Phreg一般面试的时候关于 survival analysis 会问哪些东东
How to output score test statistic from PROC PHREG?Model assessment for cox model w/ t-dependent effects
proc lifetest和proc phreg有哪些区别怎么去读proc genmod的output(关于multinomial)
PROC REG中可以用IF语句么?新人拜山,请教做SAS programmer主要用哪些procedure?
what's wrong with Proc Reg???need help: plot cumulative incidence using Stata
请问一下,proc phregasking for help with Proc SurveySelect again (THANK YOU !!!)
相关话题的讨论汇总
话题: assess话题: trtpn话题: phreg话题: ph话题: proc
进入Statistics版参与讨论
1 (共1页)
E****2
发帖数: 247
1
请教大家一个问题:
At first, I used,
proc phreg data = pfsdays;
class trt;
model ept*eptcen(1) = trt / rl;
assess var = (trt) ph;
run;
I got : ERROR: Cannot assess the functional form of ATRSORT since it is not
a continuous explanatory variable.
Then I created a numeric var, trtpn, 0, 1 correspoding to two treatment
groups. No error. And I got
two plots for the assess statemetns, Cumulative Martingale function form,
and Standardized Score Process Plot
ods graphics on;
proc phreg data = pfsdays;
model ept*eptcen(1) = trtpn / rl;
assess var = (trtpn) ph;
run;
I cannot copy the plot here.
Sorry.
ods graphics off;
My question is: since my trtpn only has two values, 0, 1, so I use it in the
assess statement is correct, or wrong? If it is correct, how to explain the
results? If it is not correct, how can I use the ‘assess’ statement to
test the ph assumption?
P****D
发帖数: 11146
2
Just use ASSESS PH; to test for the ph assumption. The continuous variables
you put in VAR=() are tested for functional forms.
E****2
发帖数: 247
3
Thanks a lot!!
I am confused. The ph checking is specific for a variable. For one variable,
the ph maybe is OK while for another variable maybe it is not OK. Right?

variables

【在 P****D 的大作中提到】
: Just use ASSESS PH; to test for the ph assumption. The continuous variables
: you put in VAR=() are tested for functional forms.

E****2
发帖数: 247
4
有哪位高手能给指点吗? 我周围的人也都不熟悉。或者,有什么地方能去问吗?
多谢了!!

not

【在 E****2 的大作中提到】
: 请教大家一个问题:
: At first, I used,
: proc phreg data = pfsdays;
: class trt;
: model ept*eptcen(1) = trt / rl;
: assess var = (trt) ph;
: run;
: I got : ERROR: Cannot assess the functional form of ATRSORT since it is not
: a continuous explanatory variable.
: Then I created a numeric var, trtpn, 0, 1 correspoding to two treatment

1 (共1页)
进入Statistics版参与讨论
相关主题
asking for help with Proc SurveySelect again (THANK YOU !!!)proc lifetest和proc phreg有哪些区别
一个sas问题PROC REG中可以用IF语句么?
SAS PROC FACTOR 里的 plot 能改标记吗?what's wrong with Proc Reg???
[合集] SAS 求助 急,明天要交作业了,两门课的!!!请问一下,proc phreg
converge problem in proc phreg请教一个SAS PROC PHREG 的问题
HELP!!!!!How to make image.plot in sas
compute AIC in Proc Logisitic and Proc Phreg一般面试的时候关于 survival analysis 会问哪些东东
How to output score test statistic from PROC PHREG?Model assessment for cox model w/ t-dependent effects
相关话题的讨论汇总
话题: assess话题: trtpn话题: phreg话题: ph话题: proc