Announcement

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

  • time variable not set r(111); - Calculating Revenue Growth

    Hello everyone, I am trying to calculate revenue growth using the following expression.
    . bysort isin year: generate sgrowth = (NET_REVENUES_int / l.NET_REVENUES_int - 1) * 100
    Anyone an idea how I can solve the issue regarding the the time variable.
    I have multiply entire per company, however the Revenue in each entry is always the same.

  • #2
    Niklas:
    welcome to this forum.
    This is not a profitabe way to pose your question.
    Please, see the FAQ. Thanks.
    That said, see -help tsset-.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      Perhaps

      Code:
      tsset isin year 
      generate sgrowth = (NET_REVENUES_int / l.NET_REVENUES_int - 1) * 100

      Comment

      Working...
      X