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
Regression output - Bug?Hi everyone, I am trying to run some old code (version 14.2) using a new Stata version (15.1) on a …
How to generate new variable based on certain conditions?Hi Statalist, I am stuck with a very silly problem which I am unable to work out. Please consider th…
Converting string var to clock var, where seconds don't agreeI am trying to compare two times, measured in YMD, hms format, to see if they are the same. As the …
Precise Interpretation of Difference in Difference Regression CoefficientsI am new to econometrics and want to verify that I have the correct precise interpretation for the c…
Pie graph with 12 variants of answers recorded in three columnsHello! I have a spreadsheet. 17 respondents answered on the question, where should be selected 3 var…
Subscribe to:
Post Comments (Atom)
0 Response to Merging datasets with same variable but different values for the variable
Post a Comment