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
|
|