Stata
Technical
Bulletin
March 1999
STB-48
A publication to promote communication among Stata users
Editor
H. Joseph Newton
Department of Statistics
Texas A & M University
College Station, Texas 77843
409-845-3142
409-845-3144 FAX
[email protected] EMAIL
Associate Editors
Nicholas J. Cox, University of Durham
Francis X. Diebold, University of Pennsylvania
Joanne M. Garrett, University of North Carolina
Marcello Pagano, Harvard School of Public Health
J. Patrick Royston, Imperial College School of Medicine
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
gr34.1. |
Drawing Venn diagrams |
2 |
gr35. |
Diagnostic plots for assessing Singh-Maddala and Dagum distributions fitted by MLE |
2 |
sg104. |
Analysis of income distributions |
4 |
sg105. |
Creation of bivariate random lognormal variables |
18 |
sg106. |
Fitting Singh-Maddala and Dagum distributions by maximum likelihood |
19 |
sg107. |
Generalized Lorenz curves and related graphs |
25 |
sg108. |
Computing poverty indices |
29 |
sg109. |
Utility to convert binomial frequency records to frequency weighted data |
33 |
sg110. |
Hardy-Weinberg equilibrium test and allele frequency estimation |
34 |