Announcement

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

  • Graph with standard deviation on the y axis

    Dear Stata users,
    I am trying to replicate the paper "Revisiting the German wage structure" https://academic.oup.com/qje/article.../2/843/1905119 . More in particular, I am trying to replicate the figure I that I attached. My doubt is: how do I create a graph with standard deviation on the y axis, after doing the regression? I have tried to have a look at this manual but it did not help https://www.stata.com/manuals13/rreg...osticplots.pdf .
    Attached Files
    Last edited by Rui Tiago; 17 Oct 2019, 05:05.

  • #2
    It depends. What does your data look like and what does your regression look like?
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment


    • #3
      I have panel data. lghwage is log gross hourly wage (a continuous variable), educ is a categorical variable, and I am using age as a continuous variable. I run the following simple regression on Stata and I attach the output, however I would like to have year on the x axis. How I should run my regression to have year on the x axis, add i.year on the regression?
      Attached Files

      Comment

      Working...
      X