provided by Research Papers in Economics
Stata
Technical
Bulletin
November 2000
STB-58
A publication to promote communication among Stata users
Editor
H. Joseph Newton
Department of Statistics
Texas A & M University
College Station, Texas 77843
979-845-3142
979-845-3144 FAX
[email protected] EMAIL
Associate Editors
Nicholas J. Cox, University of Durham
Joanne M. Garrett, University of North Carolina
Marcello Pagano, Harvard School of Public Health
J. Patrick Royston, UK Medical Research Council
Jeroen Weesie, Utrecht University
Subscriptions are available from Stata Corporation, email [email protected], telephone 979-696-4600 or 800-STATAPC,
fax 979-696-4601. Current subscription prices are posted at www.stata.com/bookstore/stb.html.
Previous Issues are available individually from StataCorp. See www.stata.com/bookstore/stbj.html for details.
Submissions to the STB, including submissions to the supporting files (programs, datasets, and help files), are on
a nonexclusive, free-use basis. In particular, the author grants to StataCorp the nonexclusive right to copyright and
distribute the material in accordance with the Copyright Statement below. The author also grants to StataCorp the right
to freely use the ideas, including communication of the ideas to other parties, even if the material is never published
in the STB. Submissions should be addressed to the Editor. Submission guidelines can be obtained from either the
editor or StataCorp.
Copyright Statement. The Stata Technical Bulletin (STB) and the contents of the supporting files (programs,
datasets, and help files) are copyright @ by StataCorp. The contents of the supporting files (programs, datasets, and
help files), may be copied or reproduced by any means whatsoever, in whole or in part, as long as any copy or
reproduction includes attribution to both (1) the author and (2) the STB.
The insertions appearing in the STB may be copied or reproduced as printed copies, in whole or in part, as long
as any copy or reproduction includes attribution to both (1) the author and (2) the STB. Written permission must be
obtained from Stata Corporation if you wish to make electronic copies of the insertions.
Users of any of the software, ideas, data, or other materials published in the STB or the supporting files understand
that such use is made without warranty of any kind, either by the STB, the author, or Stata Corporation. In particular,
there is no warranty of fitness of purpose or merchantability, nor for special, incidental, or consequential damages such
as loss of profits. The purpose of the STB is to promote free communication among Stata users.
The Stata Technical Bulletin (ISSN 1097-8879) is published six times per year by Stata Corporation. Stata is a registered
trademark of Stata Corporation.
Contents of this issue page
dm65.1. Update to a program for saving a model fit as a dataset 2
dm82. Simulating two- and three-generation families 2
gr45. A turnip graph engine 5
sbe19.3. Tests for publication bias in meta-analysis: erratum 8
sbe39.1. Nonparametric trim and fill analysis of publication bias in meta-analysis: erratum 8
sg84.3. Concordance correlation coefficient: minor corrections 9
sg97.2. Update to formatting regression output 9
sg153. Censored least absolute deviations estimator: CLAD 13
sg154. Confidence intervals for the ratio of two binomial proportions by Koopman’s method 16
sg155. Tests for the multinomial logit model 19
sg156. Mean score method for missing covariate data in logistic regression models 25
sg157. Predicted values calculated from linear or logistic regression models 27
snp15.2. Update to somersd 30
snp16. Robust confidence intervals for median and other percentile differences between two groups 30
sts15.1. Tests for stationarity of a time series: update 35
sxd2. Computing optimal sampling designs for two-stage studies 37
sxd3. Sample size for the kappa-statistic of interrater agreement 41