Hi,
I have panel data and I want to replace observations of one group with the same variable's observations for another group. I have 31 organizations in my dataset and I would like to use observations of UN for the variables of disaster and damage for other UN agencies as well (UN agencies have "1" under the UN_system dummy variable). I'm very much open to suggestions on this! Thank you.
Organization---Year----disasters----damage---UN_system
UN----------------1990-------1-------------2-------------1
UN----------------1991-------4------------ 3-------------1
UNHCR----------1990-------.------------. ------------ 1
UNHCR----------1991-------.------------. ------------ 1
UNICEF----------1990-------.------------. ------------ 1
UNICEF--------- 1990 -------.------------. ------------ 1
Related Posts with Replace observations with another group in Panel data
How to retrieve a specific value of a variable and calculate it with other values of variables?Hi Statalists, I'm currently want to let stata calculate P1 for each id and here is a formula: P1 =…
reshaping Code: * Example generated by -dataex-. To install: ssc install dataex clear…
Interpreting the coefficients using "one standard deviation"This regression measures the impact of the log change in competition (measured in # competitior bank…
Stochastic Search and Optimization in StataDear all, I am having a panel data of some quality indicators say ind1 ind2 it's up to ind8 and som…
Mediation analysis with -medeff-: Can a continuous or discrete treatment used in medeff?Dear Statalist, Hello! I would like to conduct a mediation analysis with the help of -medeff- comma…
Subscribe to:
Post Comments (Atom)
0 Response to Replace observations with another group in Panel data
Post a Comment