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
Interpretation of coefficients of an interacted variable in the presence of fixed effectsDear all, I'm running the following regressions: reg Y X i.id i.year if C==1 (1) reg Y X i.id i.ye…
localHello, I would like to declare local values to run a macro, but I think I have a problem with values…
Preparing data for multiple membership multilevel modelsHello! I am trying to prepare my dataset for a multiple membership multilevel model, and am getting …
Omitted variables because of collinearity in Fixed Effect ModelHello everyone, I am currently doing my thesis about the determinants of corporate cash holding in a…
Adding missing values to string column. replace x = .I have a really basic question. Say I have a string column `x`. How do I add missing values to this …
Subscribe to:
Post Comments (Atom)
0 Response to Multiple testing cox proportional hazards model
Post a Comment