Hi Everyone!
I have a dataset of daily closing price of stocks for 2020. Since 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?
Wolbers's c-statistic after stcrregHi, Is it possible to calculate the Wolbers's c-statistic in Stata ? Thanks Cinzia …
Margins for maximum value of independent variable.I am currently working on a multilevel model, which shows the relationship between education and pre…
what is the command for Heteroskedasticity of panel data in stata?Hi everyone, I am practicing in stata. But I don't know what the command for heteroskedasticity of p…
What is the right method of testing hypotheses in panel data regression?What is the right method of testing hypotheses in a random effect panel data regression model? I wa…
Reverse Causality - control variableHi all, Hi All, I am carrying out research for my bachelor thesis looking at the effect of gin con…
Subscribe to:
Post Comments (Atom)
0 Response to how to calculate returns for specific timeframes?
Post a Comment