Announcement

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

  • How to calculate variables with one year lag

    Dear members
    I’m trying to creat new variable_ sales growth calculated as ( current year sales - last year sales)/ last year sales.

    kindly, can anyone provide me with the code in calculating the above wanted variable?

    thanks in advance

  • #2
    Duplicate post. If interested, see https://www.statalist.org/forums/for...ons-with-a-lag.

    Comment

    Working...
    X