Dear Statalisters
I have two different datasets with information on States and Districts. Since they're two different sources, the numeric values attached to the value labels are different. (the dist and stat are the numeric values attached to the State and District)
eg:
Data Set 1
State District dist stat
Haryana Ambala 1 4
Haryana Kaithal 2 4
Haryana Sonipat 3 4
Data Set 2
State District dist stat
Haryana sonipat 11 8
Haryana kaithal 15 8
Haryana ambala 7 8
What could I do to match/merge these two data sources on district? How could I change the numeric values of either one of them to match the other so that they could be merged?
Thank You for your help
Sayli
Related Posts with Match value labels from two different datasets
Interaction between dummy variable and time dummy variableDear all, I am writing here with the hope I can find help regarding an obstacle that I am having wit…
egrangerHi all, I am trying to use egranger (ECM estimation). I have two questions. First, I could not fin…
How to create an 'Equally Weighted Portfolio' and cross sectional absolute deviations in an unbalanced panel datasetHi all, ich have a panel dataset in long format of all companies listed on the Amsterdam and Frankf…
Writing down a fractional logistic regression equationHi everyone, I'm currently using -fracreg logit- for one of my models. However, I'm having trouble …
Non-linear regression in Stata. Error: Starting values invalid or some RHS variables have missing valuesDear all, I am writing here today with the hope that someone might be able to help me with an obsta…
Subscribe to:
Post Comments (Atom)
0 Response to Match value labels from two different datasets
Post a Comment