Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Converting Saved results r() into a Stata *.dta file


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: Converting Saved results r() into a Stata *.dta file
Date   Fri, 5 Sep 2008 13:52:07 +0200

******************
cap ssc inst matsave
cap mkdir matrices
di in red _rc

sysuse auto, clear
reg pr we disp
eret li

*saving varcov
mat def A=e(V)
matsave A, replace p("matrices") saving

cd matrices
u A, clear
*lets see the varcov
l
*where is it?
di "`c(filename)'"
******************



HTH
Martin



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Max Bulsara
Sent: Friday, September 05, 2008 8:23 AM
To: [email protected]
Subject: st: Converting Saved results r() into a Stata *.dta file

Could someone tell me how to convert a saved matrix eg: r(adj) (a 1x14
matrix) into a stata file so that I can use it for something else? I am
using Stata v10.

Thanks
Max


Max Bulsara,
Research Fellow/Consultant Biostatistician
(Adjunct Assoc Prof Curtin University
and University of Notre Dame),
School of Population Health (M431)
University of Western Australia
Faculty of Medicine and Dentistry
35 Stirling Highway, CRAWLEY
Western Australia, WA6009
Tel: 6488 1267
Fax: 6488 1199
email: [email protected]




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