Dear all,
Im currently working with a panel datatset covering automation risk on occupational- and country-level.
As potentional instrument I would like to use the average automation risk of surrounding countries.
Therefore I need to generate a variable that would calculate the mean of the surrounding countries automation risk, by each year for each country (which has a different set of surrounding countries)
Sadly I have been unable to find a solution for this as of yet
Thanks in advance
Related Posts with Generating mean variable by subgroup
Looking for online courseI must learn basic data analysis, time series analysis, multilevel regression and the emphasis on pa…
Lca with ordinal manifest variables -- equivalent of constraining constants?I am very new to doing LCA. I'm using Stata 15, in case that matters. I am trying to do a latent cl…
Significance stars at 1%, 5% and 10%Hello, The STATA command "estimates table" produces output for all IVs with significance indicators …
calculate annualized std.dev of weekly stock returns (volatility)Hi Statalisters, I need some guidance about the calculation of volatility. I have data of weekly cl…
calculate annualized std.dev of weekly stock returns (volatility)Hi Statalisters, I need some guidance about the calculation of volatility. I have data of weekly cl…
Subscribe to:
Post Comments (Atom)
0 Response to Generating mean variable by subgroup
Post a Comment