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
Create new variables using the medianDear all. Please, How can I create new two variables (Z and Y) using the median of variable (X) ? . …
Fit statistics for gsem (oprobit)Hello, I am new here so apologies if the question is not relevant for the forum or not enough detail…
Panel data, DiD with count dataGood day! A treatment was implemented in two steps, represented by dummies euxeupsd2 and euxeupsd2x…
Cox Regression - observations end on or before enter()Dear StataList Members, I am trying to conduct a surival anaylsis using the data I placed here. Th…
Drop panel if firm age 0 is missingHi Stata, I want to delete the panel if it not contain firm_age = 0. Any ideas? year firmid fi…
Subscribe to:
Post Comments (Atom)
0 Response to Forval
Post a Comment