
StataCorp will be an exhibitor at the SER 2023 Annual Conference. We are also hosting a workshop. Attending from StataCorp: Chuck Huber, Director of Statistical Outreach. For more information about the meeting, visit the SER 2023 Annual Conference page.
Try Stata for free by requesting a short-term evaluation license. To be notified of future software releases, free webinars, classroom and web-based training courses, and more, sign up for email alerts.
Title: | Create your own Stata commands |
Presenter: | Chuck Huber, Director of Statistical Outreach |
Date: |
Monday, 2 April 2023 (virtual) |
Time: |
12:00 p.m. to 4:00 p.m. ET (virtual) |
Description: |
The first half of this workshop will introduce the basics of creating custom
Stata commands. You will learn how to store things in memory, where Stata
stores things in memory and how to access them, how to handle conditions and
branching, and how to use loops. We will then demonstrate how to use these
tools with to write custom Stata commands using program, args,
and syntax. You will learn how to write commands to perform simple
calculations, post-estimation calculations, and create your own graphics
commands. In the second half of this workshop, we will demonstrate how to create a basic estimation command for personal use. You will learn how create a command to convert Stata variables to matrices, use matrix calculations to fit models, display the results in standard Stata output. Then you will learn how to create commands that use ml to maximize likelihood functions. We will also demonstrate how to adapt your commands to handle survey weights. We will briefly demonstrate how to use Python within for your Stata commands. |
Chuck Huber is Director of Statistical Outreach at StataCorp and Adjunct Associate Professor of Biostatistics at the Texas A&M School of Public Health and at the New York University School of Global Public Health. In addition to working with Stata's team of software developers, he produces instructional videos for the Stata YouTube channel, writes blog entries, develops online NetCourses, and gives talks about Stata at conferences and universities. Most of his current work is focused on statistical methods used by behavioral and health scientists. He has published in the areas of neurology, human and animal genetics, alcohol and drug abuse prevention, nutrition, and birth defects. Dr. Huber currently teaches survey sampling at NYU and introductory biostatistics at Texas A&M, where he previously taught categorical data analysis, survey data analysis, and statistical genetics.
Browse the Stata flyers below.
View all Stata features.
Visit stata-press.com for more information.
Visit stata-journals.com for more information.