Announcement

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

  • xtline time range

    Currently I am running into what I think should be an easy to solve problem but haven't found a solution so far. I'm trying to plot an xtline graph using only a specific timeframe. I am assuming this is just an 'if' option setting my time variable (date) to a certain value but this does not appear to work. What I am currently trying:
    Code:
     xtline Bubble_predProbit if date >= 2010q1
    As can be seen the date is formatted as YQ. My regressions are all being executed as expected. Apologies if this question is too straight forward but I could not directly find an answer in the xtline documentation.

    Thanks in advance!

  • #2
    If you tried that, then it will fail as illegal. Try

    Code:
     
     xtline Bubble_predProbit if date >= tq(2010q1)

    Comment


    • #3
      That works perfectly thank you for the quick response Nick!

      Comment

      Working...
      X