GithubHelp home page GithubHelp logo

yasutakakuniyoshi / je_point_estimates_rm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fujichaaan/je_point_estimates_rm

1.0 0.0 0.0 48 KB

This page is for summarizing code and figures for point estimates in relative measures.

R 100.00%

je_point_estimates_rm's Introduction

Fujii R. Visualization of relative measures of association: points and error bars with an appropriate axis scale. J Epidemiol, 2023 (Submitted).

This page is for summarizing code and figures for the letter published in the Journal of Epidemiology (Fujii R. 2023).

(Insert of Image)

1. Motivation 🌱

The relative measures (e.g. odds ratio and hazard ratio) are one of the most reported indices in statistical analysis for epidemiology. However, there are many incautious graphic presentation for these indices in both scientific papers and dissemination to the public.


2. Purpose πŸ•΅οΈ

There are two main purposes in this letter:

  • To summarize the current situation of graphcal presentation in the journals
  • To revisit the points to be considered in Figures

3. Literature reviewγ€€ πŸ–₯

Breif literature review was performed in the original articles published in the following journals between April 2022 and March 2023a,b.

  • The American Jounral of Epidemiology
  • The European Journal of Epidemiology
  • The International Journal of Epidemiology
  • The Journal of Epidemiology

The results are shown here:

Journals Inappropriate [Axis starting from 0]c Inappropriate [Axis with an arithmetic scale]c Inappropriate [Undetermined]c,d Inappropriate [Total] Appropriate N of papers presenting RR as figurese N of papers presenting RR as tablese
Am J Epi 2 12 0 12
(48.0%)
13
(52.0%)
25 45
Eur J Epi 0 13 0 13
(44.8%)
16
(55.2%)
29 27
Int J Epi 0 16 0 16
(42.1%)
22
(57.9%)
38 49
J Epi 1 8 1 9
(90.0%)
1
(10.0%)
10 30

aIf an article presented Figures in both appropriate and inappropriate ways, it was categorized as "inappropriate".
bIn this literature review, there was no example like Figure 1C (non-transparent bar + error bars with a logarithmic scale).
cIf an article has multiple issues, each issue is counted up.
d"Undetermined" includes problems for strange scale for risk ratio.
eIf an article reported both Table and Figure, each type is counted up.


4. Key Tips πŸ”‘

To show the point estimates for relative measures in association, there are three main key points to be considered as follows. R codes for these plots are here

Figure1

1. Starting from 1 (A vs. B)

In panel A (starting from 0), OR=2.0 seems to be four times bigger than OR=0.5, while panel B shows each bar graph start from 1. It is much better than the the 0-starting bar chars, but panel B is still problematic...

2. Use logarithmic scale (B vs. C)

In panel B, OR=2.0 seems to be twice bigger than OR=0.5, but panel C improve the magnitude of effect size. Therefore, although it can make fair comparison for OR=2.0 and OR=0.5 (different direction), it is unclear for statistical significance yet.

3. Use point + error bars (C vs. D)

In panel C, we can make fair comparison of effect sizes, however, it remains unclear the range of confidentce intervals. To improve this point, the panel D shows better data visualization for relative measures to clearly shows confidential intervals. (Another solution would make bars transparent)


5. More practical examples 🀼

Here we prepare codes for more practical examples for relative measures including point estimates and others. Please check R codes here

1. Point estimates for each variables in regression analyses (using R "forplo" package)

PRAC1

2. Forest plots for summarizing previous studies (using R "forplo" package)

PRAC2

(3. Non-linear association between exposure and binary outcome) (using R "ggplot2" package)

PRAC3


6. Final caution ⚠

Please keep in your mind that there is a trade-off between visualizing the results in Figures and showing them as Tables, in other words, it is often impossible to correctly reproduce numerical results from Figures.


7. References πŸ“š

  1. Szklo M, Nieto FJ. Epidemiology beyond the Basics. 2nd Edition, Jones and Bartlett Publishers, Boston. Sudbury, MA: Jones & Bartlett, 2007;368–70.
  2. Hosseinpoor AR, Abouzahr C. Graphical presentation of relative measures of association. Lancet. 2010;375:1254.
  3. Levine MA, El-Nahas AI, Asa B. Relative risk and odds ratio data are still portrayed with inappropriate scales in the medical literature. J Clin Epidemiol. 2010;63:1045–1047.
  4. Kim J, Kaufman JS, Bang H. Graphing Ratio Measures on Forest Plot. J Am Coll Cardiol. 2018;71:585–586.

8. Inquires πŸ“¨

If you have any questions, please feel free to contact me 😎

Ryosuke FUJII, PhD.
Eurac Research/Fujita Health University
rfujii [at] fujita-hu.ac.jp

je_point_estimates_rm's People

Contributors

fujichaaan avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.