Dear Statalist:
Is there any possibility to derive adjusted confidence intervals that are comparable to FDR (Benjamini Hochberg false-discovery-rate)-adjusted p-values in Stata? I used Newson's qvalue.ado to calculate qvalues but I cannot figure out how to get equivalent CIs. I found R (https://bmcbioinformatics.biomedcent...71-2105-12-288) code but I would like to in Stata.
Specially,
I run multiple Cox models for different exposures and effect-modifiers and get HRs for combinations of exposures and modifiers. In addition to providing qvalues for the interaction term i would like to get FDR-compareable CIs from lincom.
foreach exp of varlist x1 x2 {
foreach mod of varlist m1 m2 {
quiet stset age_dx_cens, f(ovaryca==1) origin(time ENTRY_AGE)
quiet stcox c.`exp'##i.`mod' $m3, strata(age_5) nolog
parmest, saving("$ovarian_int\`exp'_`mod'", replace)
di "***************HR by levels of modifier***"
levelsof `mod', local(levels)
foreach l of local levels {
lincom c.`exp' + c.`exp'#`l'.`mod', eform level(95)
}
}
Any suggestions? Thanks in advance Sebastian
Related Posts with FDR analogous confidence intervals
mixed vs. xtreg, reHere are four ways to estimate the same model (I think): Code: xtreg absent ib(2).classtype ib("k"…
Best command for cross-classified modelsI'd like to fit a model with student and teacher random effects. The ID variables for students and t…
Writing a LoopDear Statalist Users, I have multiple txt files and I want to convert them into stata files so that…
stata ttest significanceHi everyone, I have the following dataset Code: * Example generated by -dataex-. To install: ssc…
Asdoc "conformability error"Dear Statalist, I am getting an error message when running the asdoc command. The first code works …
Subscribe to:
Post Comments (Atom)
0 Response to FDR analogous confidence intervals
Post a Comment