Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ipdmetan - introduce study-level and overall p-value in forestplot

    Hello,
    I'm using ipdmetan to produce a forestplot and I want to display p-values for each study as well as the overall p-value. I've introduced the study p-values using the code below, but for the overall effect I would like to replace it with the one estimated with the meta-analysis. Can I do it directly with ipdmetan, or do I need to first create an aggregate dataset using syntax 2?

    I've checked this post on introducing the overall p-value with the metan command: https://www.statalist.org/forums/for...in-forest-plot.

    This is the code I'm using:

    Code:
    ipdmetan, study(study) ///
    forest(favours(Men better # Women better) boxsca(200) boxopts(mcolor(teal)) ci1opts(lcolor(teal)) ///
    effect(Gender Effect)) rcols((2*(normal(-abs(_b[female]/_se[female])))) %4.3f "p-value") re ///
    : mixed baseline female age income_1 stem health risky crttotal patience_week easyj i.study
    Thank you in advance!
    Adriana
Working...
X