[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How to plot a coefficient vector e(b)

From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: How to plot a coefficient vector e(b)
Date   Mon, 28 Jan 2008 13:31:57 +0000 (GMT)

--- Serguei Kaniovski <[email protected]> wrote:
> How can I plot a histogramm of the coefficients of a regression
> contained in the "e(b)"-vector, or shown by "estimates table"?
> matrix x=e(b)
> _matplot x, matrix
> does not produce the desired outcome.

The only case I can imagine that such an histogram makes sense is
in a fixed effects regression (this may just as well say something
about my lack of imagination...) in which case you should use the
-xt- programs, see -help xt-, and the fixed effects won't appear in the
e(b) matrix but can be obtained by using -predict-. An example of such
a graph is given in (you can
change -hangroot- into -histogram-)

Hope this helps,

Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

Sent from Yahoo! Mail - a smarter inbox

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index