Announcement

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

  • Quintile graph as bar chart

    Hi all,
    I'm new with stata and learning to visualize data in stata. I have some issue with bar graph for quintile just like this example. Can anyone have some experiences on this, i have try histogram and -xtile- but don't bring any good result.
    Thank you.
    Click image for larger version

Name:	graph.png
Views:	2
Size:	24.3 KB
ID:	1476025
    Attached Files

  • #2
    Even the best descriptions of data are no substitute for an actual example of the data, and you haven't even begun to describe your data. This problem is sufficiently complex that whoever helps you will want to be able to test their code in an example of your data.

    Please be sure to use the dataex command to show your example data. If you are running version 15.1 or a fully updated version 14.2, it is already part of your official Stata installation. If not, run ssc install dataex to get it. Either way, run help dataex and read the simple instructions for using it. dataex will save you time; it is easier and quicker than typing out tables. It includes complete information about aspects of the data that are often critical to answering your question but cannot be seen from tabular displays or screenshots. It also makes it possible for those who want to help you to create a faithful representation of your example to try out their code, which in turn makes it more likely that their answer will actually work in your data.

    When asking for help with code, always show example data. When showing example data, always use dataex.

    Comment

    Working...
    X