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
Panel subgraph colourI cannot change the colour of the titles of subgraphs in my panel data graph. I have created a MWE f…
xtreg with fe - cluster by time (nesting error)Hi, I have a balanced panel with a firmid variable and a time variable. I want to run a regression …
Marginal effects for count data models from interval data: intcountHi, I am using intcount to estimate a count data model with interval data, i. e. the dependent vari…
Eaalogit: Attribute non-attendance within classesHello Statalist, I am trying to control for attribute non-attendance in a choice experiment. The ch…
Factor AnalysisHow do I extract a communalities table (refer to picture-1), in stata when I perform factor analysis…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple testing cox proportional hazards model
Post a Comment