Announcement

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

  • meta forestplot error in stata 16

    Hello

    I am running several meta forestplots for subgroups which worked fine in the version of stata 16 on 14 Nov.

    meta forestplot _id outcome_name trimester _plot _esci _weight, ///
    subgroup(sga_order) eform ///
    esrefline(lcolor(green) lpattern(dash)) ///
    nullrefline(favorsleft("Decreased risk") ///
    favorsright("Increased risk")) insidemarker nonotes ///
    random(ebayes) crop(. 2)

    meta forestplot _id outcome_name trimester _plot _esci _weight, ///
    subgroup(outcome) eform ///
    esrefline(lcolor(green) lpattern(dash)) ///
    nullrefline(favorsleft("Decreased risk") ///
    favorsright("Increased risk")) insidemarker nonotes ///
    random(ebayes) crop(. 2)

    The first code produces a plot however the second produces an error thinking that meta is a variable

    Effect-size label: Log Odds-Ratio
    Effect size: logor
    Std. Err.: se
    Study label: author

    variable _meta* not found
    r(111);

    end of do-file

    r(111);

    . update meta
    invalid syntax
    r(198);

    Any suggestions what I am doing wrong?? Thanks

  • #2
    I am having the exact same problem. forestplots were working and now they are not.

    . meta forestplot, random(reml) subgroup(drug)

    Effect-size label: Effect Size
    Effect size: _ES
    Std. Err.: _seES
    Study label: authoryear

    variable _meta* not found
    r(111);

    Comment


    • #3
      I am also having the same problem with

      .meta forestplot

      which returns

      variable _meta* not found
      r(111);

      Anyone who knows when Stata will correct update.

      Comment


      • #4
        Cannot reproduce this using

        Stata/MP 16.0 for Windows (64-bit x86-64) Revision 14 Nov 2019
        Code:
        use https://www.stata-press.com/data/r16/bcgset
        meta forestplot, random(reml) subgroup(alloc)
        meta forestplot
        I suggest reporting this to [email protected] including the information returned from running:
        Code:
        about
        Last edited by Bjarte Aagnes; 11 Dec 2019, 09:12.

        Comment


        • #5
          A fix for this is included in todays update; however, it is not
          mentioned in whatsnew.sthlp. Sorry about that.

          Before you update, run the following example to reproduce the error/problem:
          Code:
          sysuse auto
          regress mpg turn
          webuse bcgset
          meta forestplot
          After you update your Stata 16, the above example should just work.

          Comment

          Working...
          X