Hi,
I have two panel data-set and what to merge the two data set. I use the following code but I receive the error "r(459); variable firmid does not uniquely identify observations in the master data". I double-checked for duplicate observation and no duplicate observation reported. I would be grateful if you help regarding the error.
Code: megre dataset1 with dataset2
merge 1:1 firmid using dataset2
or
merge m:1 firmid using dataset2
Kindly,
Mahmoud
Related Posts with data merge: r(459);
How to export summary statistics with aweights to word document using ASDOC?I have written the Stata syntax below to export summary statistics to word, but weight is ignored. …
Binary dependent variable with time series independent variablesI am looking to predict the probability of recession (US) using various indicators from FRED. My dep…
Problem with renaming varsHi, I would like to rename a set of vars if they end with odd numbers and are between 1 and 42. The …
Bug in collapse (percent) command?The collapse (percent) command is supposed to yield the percentage of nonmissing observations. Howev…
New post-estimation command -suregr- available on SSC: calculates robust, or cluster robust variance post -sureg- estimation.Thanks to Kit Baum, I have made available on SSC a new post estimation command -suregr- (mnemonic fo…
Subscribe to:
Post Comments (Atom)
0 Response to data merge: r(459);
Post a Comment