Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Storing Successive Lincom Results


From   Miguel Ângelo Costa <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Storing Successive Lincom Results
Date   Wed, 6 Mar 2013 09:43:17 +0000

Hi Ben,





I usually store them in a tab separated txt file by using something like this:





file open fh using "`file'.txt", write 


file write fh "Col1" _tab "col2" _tab "col3" 


file write fh _n "`result1'" _tab "result2" _tab "result3"


file close fh





Miguel

> Date: Wed, 6 Mar 2013 10:07:54 +1100
> From: [email protected]
> To: [email protected]
> Subject: Re: st: Storing Successive Lincom Results
> 
> On 6/03/2013 10:03, Ben Hoen wrote:
> > Is there a way to append the results for each lincom test to a file to be
> > used later, after the entire ado file runs?
> >
> -help postfile- should solve the problem.
> 
> Tim
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/ 		 	   		  
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index