Hi,
I have this little problem with the following code:
clear all
forval i=1/1{
use 201`i'-1.dta
merge m:m Semestre Carnet using 201`i+1'-1.dta
}
I work with two datas 2011-1.dta and 2012-1.dta, but the fourth line of my code dont work. Is there any way to do that in Stata?
Thanks in advance.
Related Posts with Forval
An error midway through reclink ''option ) not allowed)Dear Statalisters, I came across what I think is strange behavior by Stata's reclink. I want to per…
Fixed effects with multiple intersect categoriesHi there, I have a problem with a fixed effect regression in stata and no idea how to solve it. I h…
R-squared between value of 1Hi there, I am performing panel data regressions using the command xtreg including both time and fi…
Data Shaping for Panel analysisDear Stata users, I would like to shape data I add a time variable. My data are distance between co…
Copying a value into a missing value spot with specified conditionsDear Stata-users, I am struggling with a problem for some days now. I tried different methods but s…
Subscribe to:
Post Comments (Atom)
0 Response to Forval
Post a Comment