Announcement

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

  • "quotes unbalanced" error

    I am trying to graph some indicators over years by using the command "twoway line". The code is as follows:

    Code:
    twoway line (NFA_DC NFA_FC Year), if Country == "Indonesia", legend(size(small))
    I don't understand why Stata said there is "quotes unbalanced" here.
    Many thanks for your help.

  • #2
    Try

    Code:
     
     twoway line (NFA_DC NFA_FC Year) if Country == "Indonesia", legend(size(small))

    Comment


    • #3
      Giang:
      what if you remove the first comma in your code?
      Code:
      twoway line (NFA_DC NFA_FC Year) if Country == "Indonesia", legend(size(small))
      PS: just a click behind Nick's helpful and faster reply!
      Kind regards,
      Carlo
      (Stata 19.0)

      Comment


      • #4
        thank you very much! it works without the first comma.^^

        Comment

        Working...
        X