Hello, I have a dataset of european regions for each year, but there are multiple entry of each region for each corresponding year. How do I summarise for each region according to each year. Keeping it in mind the xt function doesnot work since there are repeated time values within the panel.
The data looks as of below
region year value
1 2007 0.8
1 2007 0.9
1 2007 0.7
1 2008 0.6
1 2008 0.888
2 2007 0.4
2 2007 0.9
I need to calculate yearly total for each region.
Thank you.
Related Posts with Summarise data
How do I interpret the results of Difference in Difference modelI have a following regression equation: Y(Croprotation)=a=ba*time + b2*grpmem + b3*(time* grpmem) …
Truncreg IVIs there a way to include instrumental variables in a truncreg regression? I have not found such a c…
Creating a count variable for data with many observations per year/countryHello everyone, I am having some trouble with a data set, which shows mass demonstrations in the la…
Imputation for missing observations panel dataHi I do not have any experience with using imputation to fill out missing observations. After havin…
How to compare effect independent variable over 2 periods?Dear Statalist, For my thesis I examine the effect of producing renewable energy on firms in the en…
Subscribe to:
Post Comments (Atom)
0 Response to Summarise data
Post a Comment