Statalist The Stata Listserver


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

st: RE: Writing parameter estimates to a file


From   "Newson, Roger B" <r.newson@imperial.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Writing parameter estimates to a file
Date   Sun, 30 Apr 2006 11:03:28 +0100

You might like to use the -parmest- package, downloadable from SSC using
the -ssc- command, or from my website at
http://www.imperial.ac.uk/nhli/r.newson/
using the -net- command. The -parmest- package creates an output dataset
(or resultsset) with one observation per parameter (or one observation
per parameter per by-group), and data on the parameter estimates,
standard errors, confidence limits, P-values, and other parameter
attributes optionally specified by the user.

I hope this helps.

Roger


Roger Newson
Lecturer in Medical Statistics
POSTAL ADDRESS:
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute at Imperial College London
St Mary's Campus
Norfolk Place
London W2 1PG
STREET ADDRESS:
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute at Imperial College London
47 Praed Street
Paddington
London W1 1NR
TELEPHONE: (+44) 020 7594 0939
FAX: (+44) 020 7594 0942
EMAIL: r.newson@imperial.ac.uk
WEBSITE: http://www.imperial.ac.uk/nhli/r.newson/
Opinions expressed are those of the author, not of the institution.


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of SamL
Sent: 29 April 2006 18:04
To: Stata Listserve
Cc: SamL@demog.berkeley.edu
Subject: st: Writing parameter estimates to a file

I want to use stata to estimate a model to obtain starting values for a
model that cannot yet be estimated in stata.  Thus, I want to write the
parameters (only) to a file that I can then read into a single-purpose
package that can estimate the model I am trying to estimate.  I have
checked the manual and the statalist archive but I have yet to find how
I
might save the parameter estimates into a file.  I am using stata8.2.

I imagine there might be something like:

save e(b) /path/for/the/file/filename.ext
or
matrix save e(b) /path/for/the/file/filename.ext

but I have not found any such thing.  Any assistance is greatly
appreciated.

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