Cumulative loss function

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

27npg
Posts: 29
Joined: Thu Jul 25, 2019 9:31 am

Cumulative loss function

Postby 27npg » Mon Feb 26, 2024 12:03 am

Sorry for cross posting here. I am hoping someone could help with this. I am looking to compute the cumulative maximum loss (CMAX) that
corresponds to the maximum loss compared to the highest level of a stock index over a two year period, using monthly data. I am having trouble doing this as I am unsure how to loop over the rolling two year window. Does anyone have any idea how to do this?

Thanks!

Return to “Data Manipulation”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest