inspect `2'
local r=`r(N_unique)' - 1 // maxt is ignored
foreach v of numlist 1/`r' {
matrix C[`v',1]=c`v'
}
ltype(numeric) is to tell Stata that the cooresponding list is numeric
not varlist
nostop tell Stata to not stop the loop even if there are an error but
i don't know to deal with this option
HTH
AbdelRahmen El Lahga
2007/6/22, Raphael Fraser <[email protected]>:
An additional question:
inspect `2'
local maxt=`r(N_unique)'
local r=`maxt'-1
for 1-`r', ltype(numeric) nostop: matrix C[@,1]=c@ /* <-- Convert to
Stata 9 code */
matrix list C
Regards,
Raphael
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
--
AbdelRahmen El Lahga
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/