Hi Everyone!
I have a dataset of daily closing price of stocks for 2020. I am interested in calculation of returns over specific periods (Covid-19 Market crash). For example, I want to calculate the returns between 20 Jan 2020 and 3 Jan 2020.
I have tried different approaches but got no result. I just want to know how I can perform this operation while adding the dates condition and results will be shown in the same row.
Best regards,
Peter Klein
Related Posts with how to calculate returns for specific timeframes?
Competing risk survival analysisHello, I am approaching for the first time a competing risk survival analysis. I am using Stata/SE …
Generate New Variable Only For Certain DataHi all, I tried searching for this and I just can't find the exact answer. It seems like this shoul…
Unbalanced Panel DataHi everyone, I have the following unbalanced panel data which stands from year 2000 to 2019: ID …
How to sum two variables from different observations of the same categoryHello together, I have a data set with companies, which conduct deals. Furthermore, these deals hav…
Importing files from MS ExcelDear Stalist, I have three excel files, each with a couple of sheets. Here's a sample of one of the …
Subscribe to:
Post Comments (Atom)
0 Response to how to calculate returns for specific timeframes?
Post a Comment