Hi. I wanted to understand the finer working of the -merge- command and it isn't clear to me from reading the guide. Assume, I have two datasets A and B with an identifying variable "id" and the variable "total" in each. But, the observations values in the variable "total" differ across the ids. If I merge dataset B into A, will "total" carry the values from A or B?
Thanks.
Related Posts with Merging datasets with same variable but different values for the variable
datetime translationHello, I'm facing trouble telling stata the format of my time variable. My time variable "time" has…
Using time series data where observation dates do not alignI am in the currently writing my dissertation in which I need to forecast future GDP growth using as…
generating household size variableI'm using Household Income Expenditure Survey data for a research. But there is no variable called H…
Generate variables to capture heat stressDear all I have daily minimum and maximum temperature data from 697 weather stations across 311 dist…
Dropping observations based on multiple conditionsHi. I am pasting a sample of the date of I am working with: Code: * Example generated by -dataex-.…
Subscribe to:
Post Comments (Atom)
0 Response to Merging datasets with same variable but different values for the variable
Post a Comment