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

st: RE: nice output


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: nice output
Date   Wed, 3 Aug 2005 17:56:13 +0100

Never say that you have an easy problem. It 
suggests that with a bit more effort you 
could solve it yourself! 

More seriously, check out -statsby-. 

Nick 
[email protected] 

Mazhar Islam

> I guess I have an easy problem. I want to regress on a
> group basis (see a part of my data below). So in this
> case I can do the following
> 
> by class: regress weight year
> 
> and I get all results in the output window. But what I
> want is just the coefficients and t-values by group in
> a table preferably in a separate file. Can anyone help
> me? Can I use do loop ? 
> 
> class	year	weight 
> 086	1972	0
> 086	1973	.830583
> 091	1977	3.845524
> 091	1978	15.34797

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