I'm trying to create a number of matrices in Mata ordered, e.g., x1, x2,
..., x7. I'd like to set up a loop to create these. If these were Stata
objects, I could do them quite easily, e.g., I might write something like
forvalues i=1/7 {
gen x`i' = `i'
}
but I can't seem to figure out how to do something similar within Mata.
Thanks for your help.
Cheers,
Partha
************************************************************************
Partha Deb ph: (212) 772-5435
Department of Economics fax: (212) 772-5398
Hunter College http://urban.hunter.cuny.edu/~deb/