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: Naming Equations in Stata


From   "Jesper Lindhardsen" <JESLIN01@geh.regionh.dk>
To   <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu
[owner-statalist@hsphsun2.harvard.edu] On Behalf Of Maarten Buis
[maartenlbuis@gmail.com]
Sent: Wednesday, September 21, 2011 2:44 PM
To: statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index