|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: st: subsetting a matrix by rowname and column name
<>
Jacob said
But a slight modification of the code seems to reveal the following:
Although a variable and a scalar can both have the same name (for
example, -b- in Austin Nichols's exammple), it appears that a matrix
and a scalar cannot have the same name. Is this correct? See what
happens below when I try to -matrix list- b after scalar b has been
defined.
[P] index has an entry "namespace and conflicts, matrices and scalars"
pointing to [P] matrix. The second page of [P] matrix contains a
heading "Namespace" that explains that matrices and scalars share the
same namespace.
Kit Baum | Boston College Economics and DIW Berlin | http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/