Announcement

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

  • Panel data id issue

    I’m having a problem with id of my groups.
    I am using Stata 14 for Windows.
    I have collected several flight ticket prices regarding departure for several route within the country and out. The problem with this is that I cant find a method to tell STATA that a route from london -oslo with departure 23.4 is within the same group as london- Oslo with departure 5.4. My main time variable is days till departure, and as a result this time variable is observed several times. This results in "
    repeated time values within panel". How can I come around this?

    I other words. I want stata to see that ticketprices regarding routes are within the same ID, because of comparising.

    Hopefully I have expressed myself good enough for someone to understand. Fairly new to STATA and this kind of statistics.

  • #2
    Maybe I can use a overall id based on date departure and route? If that makes sense

    Comment


    • #3
      Bjornar.
      an overall id might be worth trying.
      For the future, please post your queries on the General forum, as this one is conceived fior practicing purposes only. Thanks.
      Kind regards,
      Carlo
      (Stata 18.0 SE)

      Comment

      Working...
      X