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

st: storing summ results in a .dta file


From   "Rajiv Mallick" <[email protected]>
To   [email protected]
Subject   st: storing summ results in a .dta file
Date   Wed, 15 Jan 2003 09:48:46 -0600

I run the following code and use summ to summerize. However, I want to save values (15 values for each) of summ c*, summ c* if good==1, summ c* if good==0 in a separate Stata .dta file. How would I append/modify my code to do this? Thank you for your help.

Rajiv

code
-----------------
clear
set mem 104m
use "c:\raj\clm\temp.dta", clear

forv i=1/15 {
g c`i' = coef`i' * new12
}
summ c*
summ c* if good==1
summ c* if good==0


_________________________________________________________________
The new MSN 8 is here: Try it free* for 2 months http://join.msn.com/?page=dept/dialup

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