Christopher F. Baum’s An Introduction to Stata Programming is worthwhile for anyone wanting to learn about programming in Stata. For the beginner, Baum assumes only that the user is familiar with Stata, and so he builds up accordingly. For the more advanced Stata programmer, the book introduces Stata’s Mata programming language and provides optimization tips for day-to-day work. All readers will find better, new ways to approach old tasks.
Baum steps the reader through the three levels of Stata programming. First up are do-files. Though often thought of as simple batch files, do-files support both loops and conditional execution, and hence can be used for automation as well as reproducibility. While giving examples of do-file programming, Baum introduces useful but often-overlooked Stata constructions.
Next come ado-files, which are used to extend Stata by creating new commands that share the syntax and behavior of official commands. Baum gives an example of how to write a simple additional command for Stata, complete with documentation and certification. After writing the simple command, Baum then shows how users can write their own custom estimation commands by using both Stata’s built-in numerical maximum likelihood estimation routine, ml, and its built-in nonlinear least-squares routines, nl and nlsur.
Finishing up the book are two chapters on programming in Mata, which is Stata’s matrix programming language. Mata programs are integrated into ado-files to build a custom estimation routine that is optimized for speed and numerical stability. While stepping through these structures, Baum weaves in the details that are needed to become an expert at Stata programming, so readers will also learn more about Stata itself while learning the tools for programming.
Baum approaches each topic by first explaining the background and need for the topic, then looking at the basic usage and examples, and finally examining use within larger, more applied “cookbook” examples. Many of his examples come from questions posed on the Statalist listserver, so they address complexities of interest to a broad range of Stata users. The programming examples cover an array of topics, illustrate some of Stata’s built-in tools (such as the resampling techniques of bootstrapping and jackknifing), and offer solutions to tricky data management questions.
The breadth and depth of this book make it a necessity for anyone interested in programming in Stata.
This work focuses on three types of Stata programming: do-file programming, ado-file programming, and Mata functions that work in conjunction with do- and ado-files. It explains how to usefully automate work with Stata and how to use Stata more effectively through programming on one or more of these levels. After presenting elementary concepts of the command-line interface and commonly used tools for working with programs and data sets, the text follows a unique format by offering "cookbook" chapters after each main chapter. These cookbook chapters look at how to perform a specific programming task with Stata and provide a complete solution to the problem. The text also includes numerous examples of Mata, Stata's matrix programming language.
Baum 是Stata领域的大神之一(另一位大神是N.Cox),hero of Stata regmonkey, 本身又是Boston College的教授,算得上是Stata在经济学领域的权威了,写了无数的package, 名字也经常出现在各种stata conference speaker list 上。这样的人物能拨冗写一本Stata programming的...
評分Baum 是Stata领域的大神之一(另一位大神是N.Cox),hero of Stata regmonkey, 本身又是Boston College的教授,算得上是Stata在经济学领域的权威了,写了无数的package, 名字也经常出现在各种stata conference speaker list 上。这样的人物能拨冗写一本Stata programming的...
評分Baum 是Stata领域的大神之一(另一位大神是N.Cox),hero of Stata regmonkey, 本身又是Boston College的教授,算得上是Stata在经济学领域的权威了,写了无数的package, 名字也经常出现在各种stata conference speaker list 上。这样的人物能拨冗写一本Stata programming的...
評分Baum 是Stata领域的大神之一(另一位大神是N.Cox),hero of Stata regmonkey, 本身又是Boston College的教授,算得上是Stata在经济学领域的权威了,写了无数的package, 名字也经常出现在各种stata conference speaker list 上。这样的人物能拨冗写一本Stata programming的...
評分Baum 是Stata领域的大神之一(另一位大神是N.Cox),hero of Stata regmonkey, 本身又是Boston College的教授,算得上是Stata在经济学领域的权威了,写了无数的package, 名字也经常出现在各种stata conference speaker list 上。这样的人物能拨冗写一本Stata programming的...
終於把裏麵的程序都抄瞭一遍…………
评分終於把裏麵的程序都抄瞭一遍…………
评分為復習Econometrics復習過一遍知識點,很有用。
评分終於把裏麵的程序都抄瞭一遍…………
评分stata入門書,從baum的角度把stata的重要功能介紹瞭一遍,dofile部分後幾章cookbook的例子偏商科的分析,對社科不那麼實用
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有