Announcement

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

  • Forest plot problem: The confidence interval line is too long and I want to partially hide it.

    Hello, guys

    I am using the meta program and I can make a forest plot. However, some studies included have very wide confidence intervals, so the ticks on the X-axis are compressed altogether. Is there any way to only show a part of the confidence interval line in the forest plot? See the scenario below.

    Of note, I use the arithmetic axis scale instead of the log axis scale, as this is human-friendly.

    Click image for larger version

Name:	IVIG.png
Views:	1
Size:	212.6 KB
ID:	1741931

  • #2
    Hi, Tom.

    The first relative risk looks a bit suspicious. How was it estimated?

    Have you tried to add an option like
    Code:
    xlabel(0 50 100 200 )
    ?

    Comment


    • #3
      Hello, Tiago

      Thank you for your reply. Finally I find that a option called crop() can resolve the issue.

      Code:
      meta forestplot, eform(Hazard ratio) subgroup(subgroup) xscale(range(0.1 3.0)) xlabel(0.5 (0.5) 2.0) xscale(nolog) xline(0.5, lpattern(dot)) title(Figure 1 Effect size of Paxlovid on risk for death among COVID-19 patients) subtitle(Left to 1.00 favors Paxlovid; right to 1.00 favors control) scheme(sj) olabel(Total) xtitle(Hazard ratio) nullrefline(favorsleft("Favors Paxlovid") favorsright("Favors control")) crop(0 3)
      However, the subtotal confidence interval bar still takes quite a lot of space and I don't know how to solve it. See the screenshot below.
      Click image for larger version

Name:	Screenshot 2024-02-07 at 9.56.41 PM.png
Views:	1
Size:	934.4 KB
ID:	1742389

      Last edited by Tom Hsiung; 07 Feb 2024, 07:57.

      Comment

      Working...
      X