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]

st: AW: Re:


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Re:
Date   Tue, 23 Feb 2010 16:13:34 +0100

<> 

" Check the help file for -postfile-  This would post your results to a
new dataset, would this be helpful?"



*************
sysuse auto, clear

tempname hdle

capt erase info.dta

postfile `hdle' str30 variable  /* 
*/ centile_95 lb ub using info

qui ds, has(type numeric)

foreach var of varlist `r(varlist)'{
	centile `var', c(95)
	post `hdle' ("`var'") (r(c_1)) (r(lb_1)) (r(ub_1))
}

postclose `hdle'

u info, clear
l, noo abbrev(12)
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Karen Wright
Gesendet: Dienstag, 23. Februar 2010 16:08
An: [email protected]
Betreff: st: Re:

Check the help file for -postfile-  This would post your results to a
new dataset, would this be helpful?

type:
h postfile


>>> <[email protected]> 23/02/2010 15:02 >>>
Dear list,


Ím pretty new to Stata and Íve got a presumably simple-to-solve
problem, even
though I couldńt find an answer in the web:

Is there a possibility to save a logfile in xml-format?
Ím about to calculate confidence intervals for the 95th centile for
hundreds of
datasets. Ím saving all the results in one logfile, and obviously I
dońt want
to type the results into Excel manually...


Does anyone know how to do that?

Many Thanks in advance!


Andreas
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search 
*   http://www.stata.com/support/statalist/faq 
*   http://www.ats.ucla.edu/stat/stata/

The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.

This e-mail message is confidential and for use by the addressee only.  If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer and network.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/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/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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