Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

[no subject]



. sysuse auto
(1978 Automobile Data)

.  statsby , by(for): regress price weight length mpg
(running regress on estimation sample)

      command:  regress price weight length mpg
           by:  foreign

Statsby groups
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
..

. l

     +-------------------------------------------------------+
     |  foreign   _b_wei~t   _b_length     _b_mpg    _b_cons |
     |-------------------------------------------------------|
  1. | Domestic   6.767233   -109.9518   142.7663   2359.475 |
  2. |  Foreign   4.784841    13.39052   -18.4072   -6497.49 |
     +-------------------------------------------------------+


Scott

> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Fred Wolfe
> Sent: Sunday, May 01, 2005 3:32 PM
> To: [email protected]
> Subject: st: Stata 9 issues bug report - statsby
> 
> statsby doesn't work - using commands from help file
> 
> . sysuse auto,clear
> (1978 Automobile Data)
> 
> .  statsby , by(for): regress price weight length mpg
> (running regress on estimation sample)
> 
>        command:  regress price weight length mpg
>             by:  foreign
> 
> Statsby groups
> ----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5
> ..
> 


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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