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

st: RE: Program stop half way when using nostop


From   "silviabalia" <sb231@york.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Program stop half way when using nostop
Date   Fri, 18 Jun 2004 18:38:11 +0100

Any error message???
They should say you something....

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Maoyong Fan
Sent: 18 June 2004 18:34
To: statalist
Subject: st: Program stop half way when using nostop


Dear Friends,

	With the great help of statalist friends, I learned a lot about
doing graphs in stata.  However, a wired thing happened to me last
night: the program stopped half way even when I use nostop option.  I
wonder why this happen.

my program:

clear

set memory 200m
set maxvar 2048
set more off
set rmsg on

cd c:/world_bank/6_17-2004_Stata_statistics

***log using "6_17_2004_Al_basic_stat_graph_appendix.log",replace
set logtype text
set linesize 255

local file_name = "price_list_cl1.dta subjpov_cl.dta transfer_a.dta
transfer_b.dta transfer_c_cl.dta weights.dta"

foreach var of local file_name{

use c:/world_bank/data_stata/`var', clear

foreach v of varlist _all {

tab `v'

histogram `v', title("Histogram of `v'")
saving("`var'_Histogram_`v'",replace) addlabels normal percent quantile
`v', title("Quantile of `v'") saving("`var'_Quantile_`v'",replace)
rlopts(clp(dash)) 

}

}

***log close

I put the data on http://are.berkeley.edu/~fan/imbens/


	

Warm regards,

Maoyong Fan 				


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

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index