Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Mata question


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Mata question
Date   Tue, 25 Mar 2008 06:58:16 -0400

I don't understand the question. The J(nrow, ncol, value) function in both Stata and Mata creates a rectangular array which can be any shape (including row or column vector and, in Mata, an object with 0 rows and/or columns). It does not have anything to do with symmetry.


Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html


On Mar 25, 2008, at 02:33 , Danielle 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.
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index