Skip to content

Stata 18

Stata is the complete package for data analyses, data management and data visualisation

Stata is a complete and powerful statistical package intended for researchers in all disciplines. You get everything you need in one comprehensive package. Thanks to the easy-to-use environment, which is built around the concept of point-and-click, intuitive command language and online help, you will quickly be able to start using this advanced tool. All analysis and results can then be reproduced and documented for your publications.

You have hundreds of statistical tools and methods available. These include everything from basic to advanced statistical methods and analysis. It also contains a wide range of commands for handling data files and large data sets. You will also find many useful methods to produce graphs and statistical charts of high quality, which you can directly use in your publications and articles.

Available for Windows, Mac and Unix/Linux.



New features in Stata 18

Stata 18 is finally here! The all-in-one complete package for data analyses is now packed with even more features that make data manipulation, visualisation and reporting easier than ever before. Get ready to take your research to the next level!

Stata 18 Logo

What’s new in Stata 18: An overview (YouTube video)

Stata 18 was released April 20, 2023!

New features in Stata 18

Uncertain which predictors to use in your regression? Use Bayesian model averaging to account for this uncertainty in your analysis. Explore influential models and predictors, obtain better predictions, and more.

Causal analysis quantifies causal effects. Causal mediation analysis disentangles them. Are these effects mediated through another variable? Estimate direct and indirect effects. Calculate the proportion mediated.

Estimate treatment effects that vary over groups and time. Fit models for repeated cross-sectional or panel data. Visualize effects. Aggregate effects within group, time, or exposure to treatment.

White background • Horizontal y-axis labels • Bright color palette • Side legend • And more. You can also graph colors by variable.

Create tables of descriptive statistics more easily with the new dtable command! Export to Word, Excel, PDF, LaTeX, HTML, Markdown, and more.

Use variables from multiple datasets as if they exist in one. And you can now work with frame sets.

Calculate efficacy and futility-stopping bounds for clinical trials. Find required sample sizes for interim and final analyses when testing proportions, means, or survivor functions.

Do your studies have effect sizes nested within multiple grouping levels? Use multilevel meta-analysis to account for possible dependence among the effect sizes when combining results.

You asked, we delivered! Perform meta-analysis for proportion or prevalence. Produce forest plots. Explore heterogeneity. Perform subgroup analysis. And more.

Stata’s robust features for linear models became even more robust. Learn how.

Small number of clusters? Unequal observations per cluster? No problem! Wild cluster bootstrap handles them all.

How do exposures interact to increase risk? Use reri to find out.

Incorporate time-varying covariates in your interval-censored Cox analysis, including prediction and plots of survivor and other functions!

Select variables in a Cox model using lasso and elastic net. Compute predictions. Graph survivor, failure, and other functions.

Want to know whether your survival model fits your data well? estat gofplot makes this easy. Use it with right-censored and interval-censored data, parametric and semiparametric models, and more.

Estimate impulse–response functions (IRFs) via local projections. Test hypotheses of multiple IRF coefficients. Graph IRFs, orthogonalized IRFs, and dynamic multipliers.

Compare potential ARIMA or ARFIMA models using AIC, BIC, and HQIC. Select the best number of autoregressive and moving-average terms.

Estimate demand for a basket of goods. Evaluate sensitivity to price and expenditure changes. Choose from eight demand systems, including Cobb–Douglas, translog, AIDS, and QUAIDS.

Estimate effects of covariates on quantiles of the outcome’s conditional distribution. Account for endogeneity. Plot coefficients across quantiles.

Modeling a proportion or rate? Have endogenous covariates? Fit your model with ivfprobit.

Interface enhancements

  • Data Editor: Pinnable rows and columns, tooltips for truncated text, variable labels in headers, much more.
  • Do-file Editor: Automatic backups and syntax highlighting for user-defined keywords.

And even more…

  • Corrected and consistent AICs
    Compare models using consistent AIC (CAIC). Or, with small sample size, use corrected AIC (AICc).
  • New spline functions
    Revamped spline generation tool—new makespline—supports B-splines and generates splines for multiple variables at once.
  • Vectorized numerical integration
    Approximate multiple numerical integrals simultaneously. Adaptive Gauss–Kronrod and Simpson methods. Robustness to singular points.
  • Boost-based regular expressions
    Regular expression functions now use Boost. More features. More functions.
  • New reporting features
    putdocx: Bookmarks in paragraphs and tables, image text for voice software, and SVG images in Word.
    putexcel: Freeze worksheets, add page breaks, include hyperlinks, and insert headers/footers in Excel.
  • Week-related datetime functions.
    Export to SPSS.
    Bacon treatment-effect decomposition.
    And even more…

Learn more about the new features in Stata 18:

New features in Stata 17

Stata 17 was announced April 20, 2021!

Click here for an overview of all the new features in version 17:

Some highlights of the new features in Stata 17

Please note that the IC edition has been renamed to BE (Basic Edition) in version 17.

Customizable tables

Create both standard and customized tables, whether you want a table for the web, a table for your paper in Word®, or that table for your LaTeX paper.

Bayesian econometrics

You can do econometrics and Bayesian statistics, and combines both to do Bayesian econometrics.

PyStata – Python and Stata

PyStata allows you to invoke directly from any standalone Python environment and to call Python directly from Stata, thus, greatly expanding it’s Python integration features.

Jupyter Notebook

Now, you can invoke Stata and Mata from Jupyter Notebooks with the IPython (interactive Python) kernel, meaning you can combine the capabilities of both Python and Stata in a single environment to make your work easily reproducible and shareable with others.

Making Stata faster

Stata values accuracy and speed. There is often a tradeoff between the two, but Stata strives to give users the best of both worlds. We are continuously optimizing and improving our routines to utilize modern computing power and algorithms so that Stata runs even faster.

Bayesian multilevel modelling

Many disciplines use multilevel models to model group-specific effects, which may arise at different levels of hierarchy. Think of regions, states nested within regions, and companies nested within states within regions. Or think hospitals, doctors nested within hospitals, and patients nested within doctors nested within hospitals.

And lots of more new features…

Click here for an overview of all the new features in version 17:

System requirements

System requirements

  • Windows 11, 10, Windows Server 2022, 2019, 2016 and 2012 R2 (64-bit only)
  • macOS 11.0 (Big Sur) or newer for Mac med Apple Silicon or Intel processor (Core i3 or better)
  • Linux: Any 64-bit (Core i3 equivalent or better) running Linux
  • RAM: 4 GB (MP), 2 GB (SE), and 1 GB (BE)
  • Harddisk: 2 GB


License Options

Four Editions of Stata

  • BE – Basic Edition
    Max 2047 variables and 2.14 billion observations.
  • SE – Standard Edition
    For large datasets. Max 32 767 variables and 2.14 billion observations.
  • MP – Multi-Processor Edition
    A faster version designed to utilize today’s computers with multicore processors and parallel processing power. Delivered by the number of cores needed, such as MP2, MP4, MP8, etc. Max 20 billion observations, limited by hardware memory.

Licensing options

  • Single-user
  • Network
  • Floating Network licenses
  • Volume licensing

All license options are subscription based.

Contact us today for a quote!



Alfasoft provides free technical support to all our customers.

Please describe your problem as detailed as possible when contacting our support. Remember to always inform about your serial-/license number, product version and your operating system.

We also recommend these online support pages and resources: