Hi everyone!
My dataset is composed of 4122 observations: 83 cities and for each observation to 1901 to 1950. I would like to calculate the average mortality of influenza from 1901 to 1917 for each city. And after that, I would like to compute the average mortality of influenza from 1918 to 1920. To finish, I need to subtract these two averages
Thus, I guess that I have to generate the two averages but I don't know how to code to have the averages that I desire
I'm really sorry if my question is a bit easy but I already checked during a few hours for an answer without result
Thanks in advance!
Related Posts with Generates averages for partial observations
How to convert monthly treasury bill rate into daily rate ?Respected All, Can anyone help me out that how to convert monthly treasury bill rate into daily rate…
Difference in Differences ResultHey everyone! My name is Jesita. I am currently writing a paper regarding the impact of education de…
How to change the font in GRAPHICHi everyone! A journal asks me to set the font as Arial in a graphic. I was not able to find a way t…
loop or other methods?Dear All, I have this dataset. Code: * Example generated by -dataex-. To install: ssc install datae…
How do I keep "missing values" missing?Hello everyone, I am currently working with Panel Data (firm, year) for my seminar paper and I am i…
Subscribe to:
Post Comments (Atom)
0 Response to Generates averages for partial observations
Post a Comment