En Direct
While Stata 17 introduced teffects for treatment effects, Stata 18 exclusive adds causal forest under the teffects umbrella. This is a machine learning-based approach to heterogeneous treatment effects.
Data visualization has been a weak spot for Stata compared to ggplot2. Stata 18 closes the gap with two exclusive graph types that are pre-packaged and publication-ready:
While you can hack these in base R, Stata 18’s version integrates with the Graph Editor—you can click on a ridge line and change its bandwidth interactively. That GUI-deep integration is an Stata 18 exclusive.
If you’d like, I can:
Stata 18 introduced a suite of heavyweight analytical features designed for researchers who need more nuance than traditional modeling provides One of the most significant "exclusive" additions is Bayesian Model Averaging (BMA)
, which allows you to stop hunting for a single "perfect" model and instead account for the inherent uncertainty of choosing predictors. Key Feature Highlights New features in Stata 18
Stata 18, released in April 2023, is a significant update focusing on causal inference, Bayesian analysis, and reporting . The software now distinguishes between the standard Stata 18 release and stata 18 exclusive
, a continuous-delivery version that receives "exclusive" new features ahead of the major Stata 19 release. Exclusive "StataNow" Features If you have a
license (available to annual subscribers), you get access to several advanced features not present in the standard Stata 18 release: High-Dimensional Fixed Effects (HDFE):
New support for models with many categorical variables using New Bayesian Models:
Includes Bayesian selection for linear models, Bayesian quantile regression ( bayes: qreg ), and asymmetric Laplace models. Advanced Meta-Analysis:
Adds meta-analysis for correlations and multilevel meta-analysis enhancements. Econometrics:
Robust inference for weak instruments, SVAR models via instrumental variables, and correlated random-effects (CRE) models. Standard Stata 18 Highlights While Stata 17 introduced teffects for treatment effects,
For all Stata 18 users, these features are the core of the upgrade: New Graph Style: A modernized default color scheme (
) with a white background and horizontal axis labels for better readability. Heterogeneous Difference-in-Differences (DID): New commands hdidregress xthdidregress
for models where treatment effects vary over time or groups. Causal Mediation Analysis:
Official support for estimating mediation effects, a frequent request from social and health scientists. Wild Cluster Bootstrap: wildbootstrap
command for more accurate inference when dealing with few clusters. Reporting Tools:
Ability to create "Table 1" descriptive statistics and improved Do-file Editor features like autocomplete and code folding. Performance and User Experience New features in Stata 18 While you can hack these in base R,
Stata 18 is the latest major release of Stata, a statistical software package used for data management, statistical analysis, graphics, and reproducible research. This write-up summarizes Stata 18’s major additions, improvements, typical use cases, performance and system requirements, compatibility and migration notes, example workflows, and licensing options.
Exporting regression results has always been painful. Stata 17 relied on estout (community written) or outreg2. Stata 18 exclusive introduces dslayout—a native, official command that produces publication-ready tables without third-party code.
python: import matplotlib.pyplot as plt # Generate a violin plot (not native to Stata) plt.violinplot(data) plt.savefig("violin.png") end
putexcel set report.xlsx, replace putexcel A1 = image(violin.png)
Stata 17 could call Python, but it could not embed the resulting images directly into an Excel table without manual intervention.
| Feature | Stata 17 | Stata 18 |
|---------|----------|----------|
| Table builder | No | Yes |
| Causal forest | No | Yes |
| JSON API import | Via frames + external | Native import json |
| DID staggered adoption | didregress (limited) | csdid (robust) |
| Git integration | No | Yes (do-file editor) |
Bienvenue sur RTL2
Rejoignez la communauté RTL, RTL2 et Fun Radio pour profiter du meilleur de la radio
Je crée mon compte