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
Piecewise multilevel modellingHi All, I am trying to do piecewise multilevel modelling for a continuous outcome (say pain score) a…
Superscript and subscriptDear Stata users, I have a variable with both superscript and subscript. When I wrote both superscr…
Reshaping Datastream DataHello community. first of all I would like to thank you for the inclusion in this really instructive…
Comparison of predicted values after OLS regressionDear all, I am interested in predicted values after an OLS regression. Moreover, I am curious how t…
'No observations' errorDear all, I'm trying to conduct a unit root test to my variables using the following code: Code: …
Subscribe to:
Post Comments (Atom)
0 Response to Create new Variable: Migration flows
Post a Comment