Stata
Technical
Bulletin
September 2000
STB-57
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
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
979-845-3144 FAX
[email protected] EMAIL
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
dm70.1.
dm80.1.
dm81.
sbe19.2.
sbe38.
sbe39.
sbe40.
sg150.
sg151.
sg152.
snp15.1.
sts15.
sts16.
sts17.
Extensions to generate, extended: corrections
Update to changing numeric variables to string
Utility for time series data
Update of tests for publication bias in meta-analysis
Haplotype frequency estimation using an EM algorithm and log-linear modeling
Nonparametric trim and fill analysis of publication bias in meta-analysis
Modeling mortality data using the Lee-Carter model
Hardy-Weinberg equilibrium test in case-control studies
В-splines and splines parameterized by their values at reference points on the æ-axis
Listing and interpreting transformed coefficients from certain regression models
Update to somersd
Tests for stationarity of a time series
Tests for long memory in a time series
Compacting time series data
2
2
2
4
5
8
15
17
20
27
35
36
39
44