Hi everyone,
I'm running a cox proportional hazards model and testing multiple exposures. Instead of running each regression at a time, I would like to loop it and finally adjust for multiple testing. Has anyone here done this before and have a suggestion for the syntax? I've done something similar for a linear regression before where the generic syntax looked like this (without adjusting for multiple testing:
foreach x of varlist a-z {
`command' `y' `adjustfor' `x'
}
Would appreciate all suggestions!
Thanks,
Chris
Related Posts with Multiple testing cox proportional hazards model
Droping "NA"sHi Stata users. I have 26 variables that contain some observations as NA. Is there a way ( olther t…
Looping within a loopHello, I am using a panel dataset. It both id and ic variable (ic: income category: HI, LI, LMI, UMI…
Threshold regressionI need your help. My model is Yit=a1(1-I*)(D-D*)+a2xI*(D-D*)+bxXit+eit while I*=1 if D>D* and I*=…
Matching of Cases to reduce sample size of logit regressionHi everyone, I'm working on a study to investigate the impact of firm performance on probability of…
Presenting Information Criteria in Latex form from StataHi guys, I would like to display my information criteria in choosing the lag length for the estimat…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple testing cox proportional hazards model
Post a Comment