Hi everybody,
I want to calculate the difference between MF y and MF y-1, I want to calculate it with the (new-old/old) formula. However when i type the following command:
gen changeMF = (MF - MF[n-1]) / MF[n-1]
it calculates something, but it is not the percentual change in MF.
I want to calculate it per firm, that does not work either.
Can someone help me?
Thanks in advance
I want to calculate the difference between MF y and MF y-1, I want to calculate it with the (new-old/old) formula. However when i type the following command:
gen changeMF = (MF - MF[n-1]) / MF[n-1]
it calculates something, but it is not the percentual change in MF.
I want to calculate it per firm, that does not work either.
Can someone help me?
Thanks in advance
Comment