IDEAS home Printed from https://ideas.repec.org/p/boc/usug26/02.html

Teaching Stata through real failure: What went wrong, what worked, and what we changed

Author

Listed:
  • Paris Johnson

    (Baltimore City Health Department)

  • George Anyumba

    (Baltimore City Health Department)

Abstract

Analysts and students are often taught Stata through polished examples that assume clean data, stable definitions, and linear analytic paths. In practice, applied research rarely unfolds this way. This presentation uses a real-world analytic project as a teaching case to examine how initial assumptions, data structure decisions, and workflow design can fail and how those failures become powerful instructional tools. We describe an early analytic approach that produced technically valid but misleading results due to hidden data fragmentation and flawed unit-of-analysis decisions. Through iterative revision, we restructured the workflow in Stata to reconcile multiple data sources, correct encounter-level logic, and embed quality checks that aligned analysis with real-world decision-making. Rather than focusing on syntax alone, we emphasize how analytic thinking evolved alongside the code. Presented as a dual-instructor narrative, this session demonstrates how teaching Stata through failure improves methodological rigor, transparency, and learner confidence. Attendees will gain practical strategies for teaching data management, model interpretation, and analytic judgment using imperfect data skills essential for applied work across disciplines.

Suggested Citation

Handle: RePEc:boc:usug26:02
as

Download full text from publisher

File URL: http://repec.org/usug2026/US26_Johnson.pptx
Download Restriction: no
---><---

More about this item

Statistics

Access and download statistics

Corrections

All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:usug26:02. See general information about how to correct material in RePEc.

If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

We have no bibliographic references for this item. You can help adding them by using this form .

If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

Please note that corrections may take a couple of weeks to filter through the various RePEc services.

IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.