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
Loop of time series regressionHi all, I am new to Stata and I have the following problem. I have to conduct an event study for 1…
drop observations if certain conditionHi How to drop whole "person_id" if for the same treatment there is NOT time = 1 & time = 3 &am…
Shifts when laying multiple histogramsHi, I would like to generate one histogram which have three graphs covering on the others. The thre…
Generating variables for probit modelHey statatlist, I am working on a panel-dataset with footballplayers and their performance for each…
multicollinearity check for logistic regression including binary and categorical variablesHey everyone, i have to analyse panel data for my thesis. I use Stata version 15.1. I chose the log…
Subscribe to:
Post Comments (Atom)
0 Response to Create new Variable: Migration flows
Post a Comment