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: Save results of Stata commands


From   "Dudekula, Anwar" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Save results of Stata commands
Date   Sun, 25 Aug 2013 13:44:05 +0000

Hi , 
Thanks for the help. 
My output file is a s follows 

************example start**********************

stata command : svy: total(x),over (var1)

stata output : 

--------------------------------------------------------------
             |             Linearized
        Over |      Total   Std. Err.     [95% Conf. Interval]
-------------+------------------------------------------------
x            |
           0 |   954.5544   92.93765      772.3343    1136.774
           1 |   489.9661   60.09219      372.1451     607.787
           2 |   279.1089   44.24684      192.3555    365.8624
           3 |   182.3333   29.77552      123.9534    240.7133
           4 |   86.11917   21.30544      44.34624    127.8921
           5 |   48.25866   15.27137      18.31655    78.20078
           6 |    26.0766   11.66318      3.208948    48.94425
--------------------------------------------------------------

************example end**********************

question : how do I save variables over, total, 95% CI as a stata dataset 

Thank you very much for your time  and consideration 

sincerely 
Anwar 



________________________________________
From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]]
Sent: Sunday, August 25, 2013 7:29 AM
To: [email protected]
Subject: Re: st: Save results of  Stata commands

start with -statsby- but you should also read up on -post-

Rich

-----Original Message-----
>From: "Dudekula, Anwar" <[email protected]>
>Sent: Aug 25, 2013 3:01 AM
>To: "[email protected]" <[email protected]>
>Subject: st: Save results of  Stata commands
>
>Hi,
>
>I am trying to save  stata output  as  stata dataset .I  frequently use contract and  collapse commands but  do not know the method to save the output of the following
>Commands as  stata data sets.
>
>1)regress commands
>2)svrvey commands. Eg: like svy:total(var1), over (var2)
>
>Any help is  appreciated. Thank you  for your time  and consideration.
>
>Thanks again
>Anwar
*
*   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