Dear Stata community,
I hope you are all doing well.
I've cleaned all my data using Stata and then have the right variables .
But then I was not sure how I can calculate these two formula with these variables I created.
Here 'm' means months.
So I tried some for loops , but lacked skills to express these successfully.
Could anyone please give me some hints on how I shold approach these?
month price FutRet1
1992m1 19.02 203.70
1992m2 19.16 199.02
1992m3 18.93 202.22
1992m4 20.29 205.02
.........................................
.
.
.........................................
Array Array
Related Posts with Calculating some formula in stata
Line graph depicting coefficient results at different levels of interactionDear all, I have the following multilevel model: Code: mixed ep_trust ib1.egalatt##c.gini_SWIID i…
Exporting direct, indirect and total effects after (estat impact) spregressHello, is there a way to export direct, indirect, and total effects in .doc after using estate impac…
How to make age groups ?Hello, i need help in creating age groups. My variable name is Age and i have almost 10000 cases. I …
Higher bar graphHi there, I have made this code for a nice bar graph: Code: graph bar e45svenstrup e45vodskov e39…
How to show p-value in sembuilder path diagram?Dear Statalist: I am conducting analysis using the command sem and sembuilder. Can somebody teach m…
Subscribe to:
Post Comments (Atom)
0 Response to Calculating some formula in stata
Post a Comment