Announcement

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

  • Stata not producing graphs

    Hello -
    I am trying to run some commands that produce some plots, but stata doesn't generate them. The syntax is correct so I can't figure out what it is?

    spagplot outcome time, id(id) ///
    by(school) ///
    title("Outcome over time") ///
    ytitle("Outcome") ///
    b1title("Time") ///
    ylabel(0 5 10 15 20 25) ///
    yscale(range(0 30)) ///

    twoway scatter outcome time, ///
    title("Relationship between outcome over time") ///
    ytitle("Outcome") ///
    b1title("Time") ///
    ylabel(0 5 10 15 20 25) ///
    yscale(range(0 30)) ///

    Can somebody help troubleshoot?



  • #2
    Take out the last /// in each case?

    Comment


    • #3
      That's the trick! It is really weird that Stata wouldn't produce graphs because of those...

      Comment

      Working...
      X