Announcement

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

  • Problem with adding additional variables in forest plot

    Hi. I am conducting a meta analysis about a single proportion (RSV prevalence = Number of RSV - positive / Number of tested sample) via Stata 18, and I have a trouble in adding additional variables which are present in my data frame. More specifically, I would like to inquire how “case definition" and "age” variables in my data can be added in the forest plot like the "Age group" and "Population" variables were implented on the figure.1 presented in the attached paper. Your guidance will be truly appreciated. I've attached my data in csv format and the reference paper for your consideration.
    Thank you.
    Best regards.
    Attached Files

  • #2
    Hi, Giang.

    If you are using Stata 18, the additional variables can be easily added to your forest plot. Check this link and the manual. They show detailed examples, which are likely to be really helpful:

    https://www.stata.com/new-in-stata/m...e-proportions/

    All the best,

    Tiago

    Comment


    • #3
      I truly appreciate your guidance. Thanks to your instruction, I can implent "Age group" and "Population" variables into the forest plot. I also know how to make the forest plot in subgroups (eg. country...) . However, these commands are done seperately. Could you please instruct me how to create the forest plot with subgroup and addtional variables as well. Thank you very much for your support.
      Best regards.
      -Ha Giang-

      Comment


      • #4
        What about adding the option -subgroup-?

        Code:
         meta forest _id _data agegroup population _plot _esci _weight,   transform(invftukey, scale(1000)) esrefline insidemarker subgroup(subgroup)
        Note the following additions:

        agegroup
        population
        subgroup(subgroup)

        Comment


        • #5
          Wow, It worked. Thank you so so much for your kindness and patience! You saved my research life . I wish I met you sooner. I'm newbie in meta analysis and statistics. All of its commands are challenging for me to understand. It has been taking me lots of time.

          Wish you all the best things.
          Ha Giang

          Comment

          Working...
          X