Maximum Likelihood Estimation with Stata, Fifth Edition


Click to enlarge
See the back cover

Inside preview


Print eBook Kindle

$68.00 Print

Buy now

What are VitalSource eBooks?
Your access code will be emailed upon purchase.

$54.00 VitalSource

Buy now

$54.00 Amazon Kindle

Buy from Amazon
As an Amazon Associate, StataCorp earns a small referral credit from qualifying purchases made from affiliate links on our site.
Amazon Associate affiliate link

Authors:
Jeffrey Pitblado, Brian Poi, and William Gould
Publisher: Stata Press
Copyright: 2024
ISBN-13: 978-1-59718-411-3
Pages: 472; paperback
Price: $68.00
Authors:
Jeffrey Pitblado, Brian Poi, and William Gould
Publisher: Stata Press
Copyright: 2024
ISBN-13: 978-1-59718-412-0
Pages: 472; eBook
Price: $54.00
Authors:
Jeffrey Pitblado, Brian Poi, and William Gould
Publisher: Stata Press
Copyright: 2024
ISBN-13: 978-1-59718-412-0
Pages: 472; Kindle
Price: $54.00
Preface to the Fifth Edition
Author index
Subject index
Errata
Download the datasets used in this book

Comment from the Stata technical group

Maximum Likelihood Estimation with Stata, Fifth Edition is the essential reference and guide for researchers in all disciplines who wish to write maximum likelihood (ML) estimators in Stata. Beyond providing comprehensive coverage of Stata's command for writing ML estimators, the book presents an overview of the underpinnings of maximum likelihood and how to think about ML estimation.

The fifth edition includes a new second chapter that demonstrates the easy-to-use mlexp command. This command allows you to directly specify a likelihood function and perform estimation without any programming.

The core of the book focuses on Stata's ml command. It shows you how to take full advantage of ml’s noteworthy features:

  • Linear constraints
  • Four optimization algorithms (Newton–Raphson, DFP, BFGS, and BHHH)
  • Observed information matrix (OIM) variance estimator
  • Outer product of gradients (OPG) variance estimator
  • Huber/White/sandwich robust variance estimator
  • Cluster–robust variance estimator
  • Complete and automatic support for survey data analysis
  • Direct support of evaluator functions written in Mata

When appropriate options are used, many of these features are provided automatically by ml and require no special programming or intervention by the researcher writing the estimator.

In later chapters, you will learn how to take advantage of Mata, Stata's matrix programming language. For ease of programming and potential speed improvements, you can write your likelihood-evaluator program in Mata and continue to use ml to control the maximization process. A new chapter in the fifth edition shows how you can use the moptimize() suite of Mata functions if you want to implement your maximum likelihood estimator entirely within Mata.

In the final chapter, the authors illustrate the major steps required to get from log-likelihood function to fully operational estimation command. This is done using several different models: logit and probit, linear regression, Weibull regression, the Cox proportional hazards model, random-effects regression, and seemingly unrelated regression. This edition adds a new example of a bivariate Poisson model, a model that is not available otherwise in Stata.

The authors provide extensive advice for developing your own estimation commands. With a little care and the help of this book, users will be able to write their own estimation commands—commands that look and behave just like the official estimation commands in Stata.

Whether you want to fit a special ML estimator for your own research or wish to write a general-purpose ML estimator for others to use, you need this book.

About the authors

Jeff Pitblado is Executive Director, Statistical Software at StataCorp. Pitblado has played a leading role in the development of ml: he added the ability of ml to work with survey data, and he wrote the current implementation of ml in Mata.

Brian Poi previously worked as a developer at StataCorp and wrote many popular econometric estimators in Stata. Since then, he has applied his knowledge of econometrics and statistical programming in several areas, including macroeconomic forecasting, credit analytics, and bank stress testing.

William Gould is President Emeritus of StataCorp and headed the development of Stata for over 30 years. Gould is also the architect of Mata.

Table of contents

View table of contents >>