Announcement

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

  • "Collapse" function that calculates product

    Is there a function that does what the collapse function does but calculates the product of the values for the selected variable.

    I need it to calculate the yearly return out of monthly returns.

    Thank you very much in advance!

  • #2
    If all of the values of the variable whose product you want are positive, you can collapse to the sum of its logarithm, and then exponentiate the sum.

    Comment

    Working...
    X