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
SEM Mediation Models: How to calculate CIs for R^2?Greetings, I'm running Stata 15.1 on a Mac OS. I'm trying to determine whether a model with mediato…
Problem with generating a binary variable with individual's state and year specificationsHi all. I am currently doing my dissertation based off the same methodology from Goldin and Katz (2…
Testing heteroskedasticity and autocorrelation in xtlogit without time variableHello all, I have an unbalanced panel data set. For this, STATA (14.2) wants me to define a panel I…
-oaxaca- using normalize option for categorical predictor variablesHi! I know that results from regular -oaxaca- depend on the omitted base category for categorical va…
looping across multiple variablesHi, I have a dataset that includes several observations for one id and i need to create a sequencin…
Subscribe to:
Post Comments (Atom)
0 Response to Forval
Post a Comment