Announcement

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

  • Presenting the date on stata line graph

    Hi,

    I am new to Stata and wondering if anyone can help me present the date on the x axis of my line graph.
    I currently have the variables day, month and year separate and would like to combine them on my x axis. I have seen other posts/ information guides mentioning creating a time series?

    Any help would be great

  • #2
    If you have daily data then daily dates follow from something like

    Code:
    gen ddate = mdy(month, day, year) 
    
    format ddate %td

    Comment


    • #3
      That works great, thanks for the reply.
      The data I am using contains 12,000+ points and upon plotting it looks very clustered.
      Is there a way of showing the overall trend?

      Comment


      • #4
        What is your recipe for identifying overall trend?

        Comment

        Working...
        X