With the enhanced dyndoc engine, you can write files combining Markdown text and Stata code. When processed, Stata executes the code, inserts the resulting tables or graphs, and outputs a clean HTML or PDF report. Automated Word and Excel Reports
Say goodbye to the classic blue-and-gray; the new default palette is more vibrant and accessible.
Using commands like putdocx and putpdf , you can automate the creation of recurring business or academic reports. If your underlying dataset updates, running the script regenerates the exact document layout with the new calculations. Is Upgrading to Stata 18 Worth It? Stata 18
The ability to pull data via JDBC/ODBC, process it in Python, and model it in Stata within a single script makes it a highly versatile pipeline tool.
Stata 18 is designed for anyone who works with data, including: With the enhanced dyndoc engine, you can write
: Use # for interactions and ## for full factorial models directly in regression commands. 2. New & Key Features in Version 18 [U] User's Guide - Stata
Before Stata 18, generating these descriptive tables required multiple commands: summarize to obtain summary statistics for continuous variables and tabulate to report frequencies and proportions. The dtable command consolidates these operations into a single, intuitive interface, dramatically reducing the time required to produce publication-ready tables. Optionally, you can add p-values for tests across groups, complete the table with titles and notes, and export directly to your desired format. Using commands like putdocx and putpdf , you
Perhaps the most anticipated addition in Stata 18 is . In many research scenarios, you face "model uncertainty"—not knowing which predictors truly belong in your model. Instead of picking one "best" model, BMA accounts for this uncertainty by averaging over many potential models. This results in more stable predictions and a more nuanced understanding of variable importance. Causal Inference: Heterogeneous DID