|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: New versions of -parmest- and -somersd- on SSC
Thanks to Kit Baum, new versions of the -parmest- and -somersd- packages
are now available for download from SSC. In Stata, use the -ssc- or
-adoupdate- commands to do this.
The -parmest- and -somersd- packages are described as below on my
website. The new -parmest- contains the same programs as before.
However, the on-line help now contains references to my presentation on
parmest at the 14th UK Stata User Meeting in London on 8-9 September,
2008.
The new -somersd- package fixes a bug in the -censlope- module, causing
-censlope- not to handle Stata weights properly. Fortunately, this
horrendous bug wass local to the -censlope- module, and had no effect on
the older and more established -cendif- and -somersd- modules. However,
I have now fixed this bug in -censlope-, and added to the certification
script a check that -censlope- functions correctly with Stata weights.
For Stata 9 users of -somersd-, I have also fixed this bug in the old
Stata 9 version of the -somersd- package, which they can download from
my website by typing, in Stata 9,
net from "http://www.imperial.ac.uk/nhli/r.newson/stata9/"
and selecting and downloading the -somersd- package.
I would like to thank Steve Samuels for drawing my attention to
applications using weights with -cendif-, which prompted me to check
that I could do the same with -censlope- and to discover the bug. And I
would also like to apologize to all users for allowing such an
elementary and potentially treacherous bug to slip through the
certification process in the first place.
Best wishes
Roger
Roger B Newson BSc MSc DPhil
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.
------------------------------------------------------------------------
--------------------
package parmest from http://www.imperial.ac.uk/nhli/r.newson/stata10
------------------------------------------------------------------------
--------------------
TITLE
parmest: Create datasets with 1 observation per estimated
parameter
DESCRIPTION/AUTHOR(S)
The parmest package has 4 modules: parmest, parmby, parmcip and
metaparm.
parmest creates an output dataset, with 1 observation per
parameter of the
most recent estimation results, and variables corresponding to
parameter names,
estimates, standard errors, z- or t-test statistics, P-values,
confidence
limits and other parameter attributes. parmby is a quasi-byable
extension to
parmest, which calls an estimation command, and creates a new
dataset, with 1
observation per parameter if the by() option is unspecified, or 1
observation
per parameter per by-group if the by() option is specified.
parmcip inputs
variables containing estimates, standard errors and (optionally)
degrees of
freedom, and computes new variables containing confidence
intervals and
P-values. metaparm inputs a parmest-type dataset with 1
observation for each
of a set of independently-estimated parameters, and outputs a
dataset with
1 observation for each of a set of linear combinations of these
parameters,
with confidence intervals and P-values, as for a meta-analysis.
The output
datasets created by parmest, parmby or metaparm may be listed to
the Stata
log and/or saved to a file and/or retained in memory (overwriting
any
pre-existing dataset). The confidence intervals, P-values and
other parameter
attributes in the dataset may be listed and/or plotted and/or
tabulated.
Author: Roger Newson
Distribution-Date: 24september2008
Stata-Version: 10
INSTALLATION FILES (click here to
install)
metaparm.ado
parmby.ado
parmcip.ado
parmest.ado
metaparm.sthlp
metaparm_content_opts.sthlp
metaparm_outdest_opts.sthlp
metaparm_resultssets.sthlp
parmby.sthlp
parmby_only_opts.sthlp
parmcip.sthlp
parmcip_opts.sthlp
parmest.sthlp
parmest_ci_opts.sthlp
parmest_outdest_opts.sthlp
parmest_resultssets.sthlp
parmest_varadd_opts.sthlp
parmest_varmod_opts.sthlp
------------------------------------------------------------------------
--------------------
(click here to return to the previous screen)
------------------------------------------------------------------------
--------------------
package somersd from http://www.imperial.ac.uk/nhli/r.newson/stata10
------------------------------------------------------------------------
--------------------
TITLE
somersd: Kendall's tau-a, Somers' D and percentile slopes
DESCRIPTION/AUTHOR(S)
The somersd package contains the programs somersd, censlope and
cendif,
which calculate confidence intervals for a range of parameters
behind
rank or "nonparametric" statistics. somersd calculates confidence
intervals for generalized Kendall's tau-a or Somers' D parameters,
and stores the estimates and their covariance matrix as estimation
results.
It can be used on left-censored, right-censored, clustered and/or
stratified data. censlope is an extended version of somersd, which
also
calculates confidence limits for the generalized Theil-Sen median
slopes
(or other percentile slopes) corresponding to the version of
Somers' D
or Kendall's tau-a estimated. cendif is an easy-to-use program to
calculate confidence intervals for Hodges-Lehmann median
differences
(or other percentile differences) between two groups. The somersd
package
can be used to calculate confidence intervals for a wide range of
rank-based parameters, which are special cases of Kendall's tau-a,
Somers' D or percentile slopes. These parameters include
differences
between proportions, Harrell's c index, areas under receiver
operating
characteristic (ROC) curves, differences between Harrell's c
indices or
ROC areas, Gini coefficients, population attributable risks,
median
differences, ratios, slopes and per-unit ratios, and the
parameters
behind the sign test and the Wilcoxon-Mann-Whitney or
Breslow-Gehan
ranksum tests. Full documentation of the programs (including
methods and
formulas) can be found in the manual files somersd.pdf,
censlope.pdf and
cendif.pdf, which can be viewed using the Adobe Acrobat Reader.
Author: Roger Newson
Distribution-date: 24September2008
Stata-version: 10
INSTALLATION FILES (click here to
install)
cendif.ado
censlope.ado
somers_p.ado
somersd.ado
_bcsf_bisect.mata
_bcsf_bracketing.mata
_bcsf_regula.mata
_bcsf_ridders.mata
_blncdtree.mata
_somdtransf.mata
_u2jackpseud.mata
_v2jackpseud.mata
blncdtree.mata
tidot.mata
tidottree.mata
lsomersd.mlib
cendif.sthlp
censlope.sthlp
censlope_iteration.sthlp
mf_bcsf_bracketing.sthlp
mf_blncdtree.sthlp
mf_somdtransf.sthlp
mf_u2jackpseud.sthlp
somersd.sthlp
somersd_mata.sthlp
ANCILLARY FILES (click here to get)
cendif.pdf
censlope.pdf
somersd.pdf
------------------------------------------------------------------------
--------------------
(click here to return to the previous screen)
*
* 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/