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]

st: depvar name in b an V matrix


From   "Nakelse, Tebila (AfricaRice)" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: depvar name in b an V matrix
Date   Sat, 17 Mar 2012 14:31:52 +0000

Dear Statalisters,
I am using regress command in Stata and I would like to know if it is possible to add the depvar name in b an V matrix as it is done in logit  command.
For logit  when  I do : 
Logit y x 

e(b)[1,2]
        y:                       y:
        x                        _cons
y1  -.35129185  -2.9228238

when I do
 regress y x, 
I will have

e(b)[1,2]
       x                 _cons
y1  -.00809294   .045464
 
without y in e(b) column names what I want to do  

I know I can  pass through a regular matrix and used matrix functions such as coleq, roweq, colnames or rownames and after repost in e and V.

I will appreciate any help 
Tebila



*
*   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