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
Predicted R-squaredAnyone know of a Stata command or user-written routine that generates the predicted R-squared after …
_cf mismatch on two datasets created by the same programHello, Why would it be the case that the same program (e.g. sales.do) used to generate the same dat…
Plugging values of a variable back into StataHi users. I am using a variable called activity status which comes in codes such 11, 12, 21, 31, 41,…
How to deal with values that include numbers and lettersHello! I have a dataset that includes ICD10 codes, which include both numbers and letters (as seen i…
Export cross tab with summary statisticsHi everyone, this seems like a super obvious question that I'm sure somebody has asked before, but …
Subscribe to:
Post Comments (Atom)
0 Response to Merging datasets with same variable but different values for the variable
Post a Comment