Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: syntax to get elements from posted matrices


From   Mirko <mirko.moro@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: syntax to get elements from posted matrices
Date   Fri, 24 Jun 2011 11:26:58 +0200

Thanks Maarten! I totally forgot about the -coeflegend- option!

On 24 June 2011 11:16, Maarten Buis <maartenlbuis@gmail.com> wrote:
> On Fri, Jun 24, 2011 at 11:02 AM, Mirko wrote:
>> After posting two matrices, I have a table that looks like this:
>>
>> ------------------------------------------------------------------------------
>>             |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
>> -------------+----------------------------------------------------------------
>> num          |
>>   _at#Z     |
>>        1 0  |   5.248057   .0670085    78.32   0.000     5.116723    5.379391
>>        1 1  |   5.099754   .1246989    40.90   0.000     4.855348    5.344159
> <snip>
>> I wish to take the ratio between 5.099754 (the second coefficient in
>> the first [num] panel,<snip>
>> I know how to get the denominator, i.e., [den]_b[1._at] , but I don’t
>> know the syntax for the numerator!
>
> This is where the -coeflegend- option comes in useful. So after
> posting your matrices, you type -ereturn display, coeflegend- and see
> how each of the coefficients are called.
>
> Hope this helps,
> Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
>
> http://www.maartenbuis.nl
> --------------------------
>
> *
> *   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/
>

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index