Announcement

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

  • Bar Chart Percentiles

    Hello,

    I plotted a bar graph of the education level agains the mean of the average pay. Because of outliers, this grap is useless. This is why I want to plot the mean of the average pay for every education level against the 99 percentile of each pay according to the education level. How could I do that?

  • #2
    So your problem is that the mean is a bad measure of central tendency for a skewed variable like income. Then the solution is to use a good measure of central tendency for a skewed variable, for example the median. This is a well known problem of the mean, and that is why you never see the mean income reported, and always the median income. So in your case the command is:

    Code:
    graph bar (median) income, over(education)
    Obviously assuming that the relevant variables are called income and education.
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment


    • #3
      Further, incomes often make more sense on logarithmic scale.

      Comment

      Working...
      X