Hello,
I'm trying to merge 3 tempfiles named: part1, part2, part3. I used the following code:
use `part1', clear
foreach i of numlist 2/3 {
merge m:1 state year using `part`i''
}
However, it's only merging part1 and part2, not part3. What am i doing wrong?
Related Posts with Mergining in a loop
Expanding obs depending on several variablesDear Statalist, I have a dataset of several firms patenting. However, there are patents with more th…
Not show "Standard errors in parenthesis *p <0.10, **p<0.05, ***p<0.001" below table, while keeping the significance stars with esttabHey everyone, As in the title, I'd like to save my regression results in a table, however, I can't …
How to export polychoric matrix resultsHello everyone I have now searched far and wide for an answer to this question. I am using polychor…
Is -python script- much slower in Stata 17 than in Stata 16?I use the tuples command (from SSC). The tuples command is implemented in terms of python script and…
test - xsmle and interpretationHey listers, I am using the "xsmle" command to run fixed effects models on panel data. I am particu…
Subscribe to:
Post Comments (Atom)
0 Response to Mergining in a loop
Post a Comment