由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - How to code categorical time-varying covariates in Cox mod
相关主题
Extended Cox Hazard model with time dependent variables问个概念。
接着问统计问题(有包子答谢)variable and covariate 的区别?
一个covariance的问题how to convert a categorical variable into a continuous variable
问个multicollinearity 的问题,inSAS - fresh水平,谢谢帮助!一个 proc mixed 的问题
菜鸟请教一个问题急问Estimate group means in mixed model
如何在一个regression model里面同时处理continuous和categorical变量如何计算COX 回归中的POWER ?
regression prediction问题请教一个fit Cox PHREG model的问题
Unexpected statistical analysis results in Cox regression请教一个SIMULATION的问题
相关话题的讨论汇总
话题: exp话题: group话题: time话题: exposure话题: varying
进入Statistics版参与讨论
1 (共1页)
D******i
发帖数: 86
1
手头上的一个课题突然出现了个问题,哪位大牛能帮忙看看下面的程序。exposure_age
is existing variable, time is follow-up years while exp_group is newly
created time-varying variable. However, after submitting this SAS Log
indicates that exp_group variable is not found. 我想一定是CLASS statement 不
能识别newly created variable, 但因为我们需要treat exp_group as a categorical
variable instead of continuous 所以真的不知道该怎么办?
proc surveyphreg data=one;
cluster clu; stata ceu; weight final_weight;
class exp_group;
model time*event(0) = exp_group;
if time=exposure_age and exposure_age in (0,5) then exp_group=1;
else if time=exposure_age and exposure_age in (6,10) then exp_group=2;
else exp_group=0;
run;
y**3
发帖数: 267
2
YOu need generate exp_group beforehand such as data step
y**3
发帖数: 267
3
Sorry, I was wrong

【在 y**3 的大作中提到】
: YOu need generate exp_group beforehand such as data step
y**3
发帖数: 267
4
Sorry, I was wrong

【在 y**3 的大作中提到】
: YOu need generate exp_group beforehand such as data step
1 (共1页)
进入Statistics版参与讨论
相关主题
请教一个SIMULATION的问题菜鸟请教一个问题
急问:Cox proportional hazard model covariate问题!!如何在一个regression model里面同时处理continuous和categorical变量
遇上这样的老板该怎么办regression prediction问题
包子贴:问一个COX MODEL+TIME DEPENDENT COVARIATE的问题Unexpected statistical analysis results in Cox regression
Extended Cox Hazard model with time dependent variables问个概念。
接着问统计问题(有包子答谢)variable and covariate 的区别?
一个covariance的问题how to convert a categorical variable into a continuous variable
问个multicollinearity 的问题,inSAS - fresh水平,谢谢帮助!一个 proc mixed 的问题
相关话题的讨论汇总
话题: exp话题: group话题: time话题: exposure话题: varying