Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

RE: st: Naming Equations in Stata


From   "Jesper Lindhardsen" <[email protected]>
To   <[email protected]>
Subject   RE: st: Naming Equations in Stata
Date   Wed, 21 Sep 2011 10:28:31 +0200

Hi again Ian,

I forgot: if x1 is continous then it should be

reg y c.x1#agegroup i.agegroup x2 x3
testparm c.x1#agegroup,equal

Regarding coeflegend, you can just type: 

reg, coeflegend

after the regression command, then you'll get the parameter 'names'

HTH, Jesper


------------------------------------------------
Subject: RE: st: Naming Equations in Stata

Hi Maarten

I am using Stata/SE 11 on a Windows OS. But entering coeflegend gives
me:

. coeflegend
unrecognized command:  coeflegend
r(199);

Am I missing something here? 

I am still trying Partho's suggestion of the -suest- command, and will
inform the list if that works out to be a satisfactory solution. In the
mean time, if anyone has any other suggestions, I will be delighted to
hear from you. 

Ian 

________________________________________
From: [email protected]
[[email protected]] On Behalf Of Maarten Buis
[[email protected]]
Sent: Wednesday, September 21, 2011 2:44 PM
To: [email protected]
Subject: Re: st: Naming Equations in Stata

On Wed, Sep 21, 2011 at 7:08 AM, Ian Li wrote:
> but it would be much simpler and straightforward if I could understand
how to use the -test- function properly. To do that, it would be
desirable if anyone could advise on how equations are named in Stata, or
what the proper syntax is for the -test- function.

If you have Stata >= 11 you can use the -coeflegend- option to see how
coefficients and their equations are named. If you have an older
version of Stata you can type -matlist e(b)- to display the matrix of
coefficients and at their top the equations and names.

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/

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