Hello, I am new to Stata. I'm using Stata version 14. I am working with a balanced panel data set over the period 1992 to 2013 (T = 22 and N = 528). I want to calculate multi-period growth rate between the start year (1992) and end year (2013) for all N using the following formula:
(y_2013/y_1992)^(2013-1992) -1
I am seeking help from Statalist for automating the formula for all N. Thank you for your kind help.
Sincerely,
Jobaida Behtarin
East West University
Dhaka, Bangladesh
Related Posts with Calculating multi-period growth rate
replacing values using the loops commands in stataHi Everyone, I am trying to replace missings in the GHI varibale by using this command Code: repl…
Refering to a specific row with help of another variableDear statalist, this is a part of my dataset (the original has about 70000 rows): Code: * Examp…
Strange error message after the -brant- commandHi Statlisters, When, after running my ordered logit model in Stata 15 and Stata 14 (I have both ve…
how to examine the moderating effect and plot the figure when iv is categorical variable and moderator is continuous variableAfter the regression, how to plot the moderating effect of w on the relationship between x and y? Th…
Temporal decomposition - Function using data from 2 different rows of a tableI want to do a temporal decomposition using STATA. Assume the following data below where x= y*z y…
Subscribe to:
Post Comments (Atom)
0 Response to Calculating multi-period growth rate
Post a Comment