|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: problem with -tabstatmat-
From
"Zurab Sajaia" <[email protected]>
To
"statalist" <[email protected]>
Subject
st: problem with -tabstatmat-
Date
Tue, 30 Jan 2007 11:27:56 -0500
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/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |