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

st: retaining residuals using "by group" with regression


From   "David J. Bernstein" <[email protected]>
To   [email protected]
Subject   st: retaining residuals using "by group" with regression
Date   Tue, 27 Jan 2004 06:49:12 -0800 (PST)

Hello STATers,

How do I retain my predicted values from a regression
when using the "by group" command?

for example:

by company: reg x y1 y2 y3
predict zresid, rstudent

Is it possible to create a data file that contains the
zresids that is associated with the regression for
each each company?

Thanks,
David Bernstein

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
*
*   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