Announcement

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

  • How to deal with recurring numbers in time series analysis

    I am trying to get a time-series graph from the variables Hour and median in my data set. The data set is 50000 observations so the assigned hour is shown many times. When I am trying to use the command tsset, stata just tells me "repeated time values" as an error message. How do I get around this?

  • #2
    The only way to get round this is if you have panel or longitudinal data so that each individual value for any given time belongs to an identifiable panel, say a patient, firm, school, country, station, site, or whatever else. In short your structure is P panels x T times.

    If that isn't true you can't apply tsset but you're missing nothing that would be valuable.

    Other way round, what kind of plot do you wish to see? If it is a line plot, you must have some rule for points lying on the same line or different lines.

    Comment

    Working...
    X