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
Interpreting results of Multinomial Logistic Regression- Panel dataHi All, Its Siege here and I really some help I am running a Multinomial logistic regression model…
Circumvent display in results window and save in a .dta file stataHello, I work with large data sets. When I tab something, sometimes I get the message that there ar…
Exponentiated form with mi estimate and xtgee: no effect when using eformHello Statalist, I am using Stata 16 and I am trying to obtain the exponentiated form of my estimat…
Adding columns with loopHello, I'm having issues with the following. I have 4 variables x1, x2, x3, x4 each one with 10 obs…
bidensity assigns too many 0Hello, I am trying to acquire a bivariate density contour plot of fathers' and their sons' income. I…
Subscribe to:
Post Comments (Atom)
0 Response to Mergining in a loop
Post a Comment