[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: problem with -tabstatmat-
I have encountered a problem with -tabstatmat- being unable to save the
matrix when there are many rows. The source of problem was the line where
names of all matrices were collected in local vectors
local vectors "`vectors' r(Stat`i') \"
and then the output matrix is generated:
matrix `matout' = `vectors' r(Stat`I')
The problem is solved if we accumulate matrix directly in the loop:
matrix `matout'=nullmat(`matout') \ r(Stat`i') . And we'll need to correct
following few lines where the totals matrix is added.
Zurab
*
* 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/