Announcement

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

  • combine several histograms into one graph

    Hey,
    I want to Combine several histograms in one graph so that I can see the overlapping Areas.
    I have already found the command
    Code:
    graph combine
    , but in my Point of view it just combines the Graphs to fit in one Output, but I have not seen an Option to combine the histograms into one big graph or histogram.
    Do you have any suggestions how to Combine them?

  • #2
    You need to tell us how the individual graphs were produced in the first place.

    Comment


    • #3
      You might want to read this reply from Nick Cox:

      http://www.stata.com/statalist/archi.../msg00657.html

      The histogram is 19th century technology: you can do much better with 1960s technology, namely the quantile-quantile plot implemented as -qqplot-.
      If you insist on overlapping histograms, this FAQ has some suggestions:

      http://www.ats.ucla.edu/stat/stata/f...am_overlay.htm

      Comment


      • #4
        Thanks to Scott for the mention. On re-reading the question the emphasis on overlap makes me want to agree with Scott that other kinds of graph are likely to be more effective. Even two histograms overlapping can be a difficult mess.

        Post sample data (using e.g. dataex (SSC)) and positive suggestions are likely to ensue.

        The number of groups you want to compare is perhaps the most crucial consideration.
        Last edited by Nick Cox; 27 Aug 2015, 08:26.

        Comment

        Working...
        X