Thank you. You're a godsend.
On Mar 24, 2008, at 9:06 PM, Joseph Coveney wrote:
Danielle H Ferry wrote:
Is there something in Mata like J() that creates a regular matrix as
opposed to a symmetric matrix? In other words, I'd like to create a
mXn matrix filled w/ empty values that I will fill in later.
--------------------------------------------------------------------------------
Yes.
Joseph Coveney
. mata:
: m = 3
: n = 4
: mXn = J(m, n, .)
: mXn
1 2 3 4
+-----------------+
1 | . . . . |
2 | . . . . |
3 | . . . . |
+-----------------+
: end
*
* 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/
*
* 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/