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
access to a column (and a row) of matrixDear all, Is there a way to get access to a column of matrix and display it? I see that there is a …
problem with creating a variableHello, I have a dataset consisitng of firms and employess in each year. I would like to create a va…
ASCVD risk calculators in stataHello, I am trying to estimate ascvd risks using the 2013 AHA/ACC pooled cohort equation, referenced…
how to get numeric, not characters, return values from programmingDear all, I've written the following programming to extract b, t-stat, etc. after estimating a regr…
Assigning a dummy based on previous roleDear all, I am trying to accomplish a (I think) rather simple task but I just cannot seem to get th…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple testing cox proportional hazards model
Post a Comment