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?
Question1. I am about running a regress in STATA including dummies. I have logged all variables in Excel but…
Please help meHello everyone. I'm new in STATA and I need help for this problem. I have a Variable (Var1) which ha…
question about didregressDear all, When I run the example code of didregress,I get very different result from Stata.com Diff…
xtlogit: hybrid model by hand. How to obtain average marginal effects using mimrgnsHello everyone, for my current research, I employ a hybrid logit model for a binary outcome variabl…
Stata 17 table helpHi, all. I am working with the updated -table- command in Stata 17, and am looking to produce a fair…
Subscribe to:
Post Comments (Atom)
0 Response to how to calculate returns for specific timeframes?
Post a Comment