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
Importing oddly formatted txt data into stataHi statalist, I am dealing with precinct by precinct voting results from counties in Texas. My goal …
Interpretation of sdtestHi everyone, I am using the sdtest command to evaluate variances in two groupes. But in Stata's out…
How to save a Kaplan-Meier survival point estimate to a local macro?Hello STATA Community, I am currently using version 15.1 of STATA. I have some straightforward sur…
Iterations in logistic regressionIs there any work on what affects the number of iterations required to achieve convergence in logist…
Finding Most Common String Values Across VariablesHi all: I am trying to find the most common string values across variables. While I work in crimina…
Subscribe to:
Post Comments (Atom)
0 Response to Replace observations with another group in Panel data
Post a Comment