Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: how to reset row / column equations from a matrix


From   [email protected] (Jeff Pitblado, StataCorp LP)
To   [email protected]
Subject   Re: st: how to reset row / column equations from a matrix
Date   Thu, 13 Aug 2009 15:16:18 -0500

Zurab Sajaia <[email protected]> noticed that -matrix roweq- was behaving
differently in Stata 11 than in prior Stata releases:

> Can anyone advise me what's the "proper" way to reset (remove) row / column
> equations from a matrix? I've been using using the method: 
>  
> .matrix roweq A = : 
>  
> and this worked with all the versions (or at least 8-10) just fine, but
> unfortunately doesn't with the version 11. In V11 the command doesn't return
> any error but leaves the matrix unchanged.  It seems that for version 11 the
> alternative method:
>  
> .matrix roweq A = "" 
>  
> does the trick but as you'd guess, this syntax doesn't work with the
> previous versions. 
>  
> Does anyone know if there is a way to remove row equations in a way that
> would work in Stata versions 9-11? or the only way is to have an if
> statement checking for the version? 
>  
> Any insight will be much appreciated.

Zurab found a bug in the column and row name subcommands of -matrix-.  We have
a fix for this; it will be in the next executable update scheduled to be out
in the next few weeks.

--Jeff
[email protected]
*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index