Hi,
I have a dataset in long form with the variables country of origin, destination country, stock of female migrants from country I (origin) to destination (j), population_female, year, population origin country.
I want to create a new variable (dependent) which is the migration flow (=((stock of female migrants from i to j)- (stock of female migrants form i to j (t-1))/ (population female country i).
I don't know how to create this variable. Can someone help here?
Related Posts with Create new Variable: Migration flows
Logit model - sample size and clustering questionHello, I would like to check if there is a relationship between mothers' fertility and grandparenta…
MeanHi all, I am running a simulation in STATA and would like to obtain a single mean out of the code b…
Problems with articulating survey design for an appended dataset with differing numbers of replicate weightsHello, I am working with the 1996, 2000, 2004 and 2008 state-level waves of the Nursing Workforce S…
graph malfunctionHi folks, I am trying to create a fractional polynomial over a scatter plot but the curve doesn't ap…
Codebook within bys:?I usually use the command -codebook- to undertand the number of unique values of a given variable. I…
Subscribe to:
Post Comments (Atom)
0 Response to Create new Variable: Migration flows
Post a Comment