Hello everyone,
My dataset contains:
- mcruns (50 Monte Carlo simulations)
- lgacode (50001 to 50136)
- species_code (1 to 5)
- abund (species abundance)
-year (1972 to 1981)
I need to generate a new dataset containing lgacodes species_code mean_abundance year1_lga
For each lgacode, species_code and year want to have the mean abundance instead of 50 (simulations). Sorry I am new to STATA and any help would be much appreciated.
Array
Related Posts with Calculate the mean of simulations by groups with panel data
Lee bounds with multiple treatment groupHi, I'm working with a dataset with high attrition rate and am considering using Lee bounds to esti…
Cross section Panel data for exam - elections across 23 countriesHi all. I appear to be in deep, so hoping anyone can help. Im doing an exam in quantative methods. …
Problem with Survey data analysis, non-response, selection bias, use of paradataHi Statalisters, Greetings from Inddi I am analysing a survey data and I am relatively new to this …
Interpretation of a linear (percentage) - log regression modelTo provide context, I am running a fixed effects regression model, assessing the relationship betwee…
Merge Panel Data with multiple same year datasetHi All, I am trying to merge two datasets. One is a firm ID -year (panel master data). The other da…
Subscribe to:
Post Comments (Atom)
0 Response to Calculate the mean of simulations by groups with panel data
Post a Comment