Statalist


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

Re: st: RE: 'cnreg' command to fit Censored-normal regression model


From   Tracy Bai <[email protected]>
To   [email protected]
Subject   Re: st: RE: 'cnreg' command to fit Censored-normal regression model
Date   Fri, 27 Feb 2009 12:06:05 +1030

Thank you Phil, it works well.

Tracy

Philip Ryan wrote, On 27/02/2009 11:58 AM:
From the help, -display- " displays strings and values of scalar
expressions"

e(b) and e(V) are matrices and so not valid substrate for-display-.

Try:

matrix list e(b)
matrix list e(V)


Phil

Philip Ryan
Professor and Director
Data Management & Analysis Centre
University of Adelaide
South Australia


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tracy Bai
Sent: Friday, 27 February 2009 11:06 AM
To: [email protected]
Subject: st: 'cnreg' command to fit Censored-normal regression model

I am learning how to use 'cnreg' command to fit Censored-normal regression model, when I tried to get coefficient vector e(b), I got the error information like below,

. display  e(b)
matrix operators that return matrices not allowed in this context
r(509);

Matrices e(b) coefficient vector
      e(V)                variance-covariance matrix of the estimators

How to fix the problem here?

Tracy

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index