Statalist


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

st: New versions of -estparm- and -addinby- on SSC


From   "Newson, Roger B" <[email protected]>
To   "statalist" <[email protected]>
Subject   st: New versions of -estparm- and -addinby- on SSC
Date   Wed, 7 May 2008 09:57:49 +0100

Thanks to Kit Baum, new versions of the -estparm- and -addinby- packages
are now available for download from SSC. In Stata, use the -ssc- command
to do this. The -estparm- and -addinby- packages are described on SSC as
indicated below my signature.

The new -estparm- package has an improved example set in the .sthlp
file. There is now an example using the -estparmtest- module with
-statsby- (using the -basepop()- option of -statsby- to prevent
-matsize- overflow). I have also modified the other examples so that
they now work if the user has set the option

set varabbrev off

in Stata. I would like to thank Friedrich Huebler for alerting me to the
fact that they didn't work previously under this setting.

The new -addinby- package has a new option -unmatched()-, which
specifies a course of action regarding observations in the master
dataset not matched by the foreign key in the using dataset, and which
can be set to -drop-, -keep- or -fail-. The default is -fail-, causing
-addinby- to fail with an error message if there are any unmatched
observations in the master dataset.

Best wishes

Roger


Roger B Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected] 
Web page: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/

Opinions expressed are those of the author, not of the institution.

. ssc desc estparm

------------------------------------------------------------------------
------------------------------------------------------------------------
---------------------
package estparm from http://fmwww.bc.edu/repec/bocode/e
------------------------------------------------------------------------
------------------------------------------------------------------------
---------------------

TITLE
      'ESTPARM': module to save results from a parmest resultsset and
test equality

DESCRIPTION/AUTHOR(S)
      
      estparm is an inverse of parmest.  It inputs 2 or 3
      variables in     the varlist, containing parameter estimates,
      standard errors, and     (optionally) degrees of freedom.  It
      saves a set of estimation  results for the parameters,
      assuming that the parameter estimates      are statistically
      independent. estparmtest is an extended version of estparm,
      which also performs a chi-squared or F test of the
      hypothesis that all these parameters are equal.  estparmtest can
      be   used for performing interaction tests, using data from
      regression   models for multiple subsets, stored in a parmest
      or parmby output dataset (or resultsset).
      
      KW: data manipulation
      KW: parameters
      KW: F test
      KW: interaction test
      
      Requires: Stata version 10.0
      
      Distribution-Date: 20080506
      
      Author: Roger Newson, National Heart and Lung Institute at
Imperial College London
      Support: email [email protected]
      

INSTALLATION FILES                              (type net install
estparm)
      estparm.ado
      estparm.sthlp
      estparm_p.ado
      estparmtest.ado
      estparmtest.sthlp
------------------------------------------------------------------------
------------------------------------------------------------------------
---------------------
(type -ssc install estparm- to install)

. ssc desc addinby

------------------------------------------------------------------------
------------------------------------------------------------------------
---------------------
package addinby from http://fmwww.bc.edu/repec/bocode/a
------------------------------------------------------------------------
------------------------------------------------------------------------
---------------------

TITLE
      'ADDINBY': module to add in data from a disk dataset using a
foreign key

DESCRIPTION/AUTHOR(S)
      
        addinby is a "cleaner" alternative version of merge, designed
      to reduce the lines of code in Stata do-files. It adds variables
      and/or values to existing observations in the dataset currently
      in memory (the master dataset) from a Stata-format dataset stored
      in the file filename (the using dataset), using a foreign key of
      variables specified by the keyvarlist to identify observations in
      the using dataset. The using dataset must be sorted by the
      variables in the keyvarlist, and these variables must identify
      observations in the using dataset uniquely. Unlike -merge-,
      -addinby- always preserves the master dataset in its original
      sorting order, and does not add any merge-status variables or
      additional observations. However, addinby checks that the foreign
      key uniquely identifies observations in the using dataset, and
      may optionally check that there are no unmatched observations in
      the master dataset, and/or check that there are no missing values
      in the foreign key variables in the master dataset.
      
      KW: data manipulation
      KW: key
      KW: foreign key
      KW: merge
      
      Requires: Stata version 10.0
      
      Distribution-Date: 20080506
      
      Author: Roger Newson, National Heart and Lung Institute at
Imperial College London
      Support: email [email protected]
      

INSTALLATION FILES                              (type net install
addinby)
      addinby.ado
      addinby.sthlp
------------------------------------------------------------------------
------------------------------------------------------------------------
------------------
(type -ssc install addinby- to install)

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