Ready. Set. Go Stata.
Technical services Video tutorials
Publications Author Support Program
Editor Support Program
Teaching with Stata
Examples and datasets
Stata Conferences The Stata Blog
Many colleges, universities, organizations, and businesses have had to transition classes and other operations to online platforms and are asking employees to work remotely. That means they need to be able to use their software even if they don't have access to their usual network, lab, or work computer. We are committed to finding solutions so that everyone can continue using his or her Stata license without disruption, even under these new working arrangements.
Source: John Hopkins University
Stata is being used worldwide by researchers at the forefront of combating COVID-19.
The American Society of Transplantation and the American Society of Transplant Surgeons
Boston College Department of Economics
Centers for Disease Control and Prevention
Centers for Disease Control and Prevention
Explore ways to use and visualize data from Johns Hopkins University.
In my previous posts, I showed how to download the COVID-19 data from the Johns Hopkins GitHub
repository, graph the data over time, and create choropleth maps. Now, I’m going to show you how to
create animated choropleth maps to explore the distribution of COVID-19 over time and place.
Data analysis plays an important role in the fight against COVID-19. From importing, cleaning, and preparing your data for analysis, performing myriad statistical analyses, to final automated reporting of the results, Stata provides features for all stages of the analysis of infectious diseases such as COVID-19.
Import COVID-19 case data, clean and verify accuracy, check for missing values, merge case data with population data or geographic data from other sources, append new data daily, sort by country or date, clearly label variables and values, save the data to easily share with colleagues, and more.
Perform diagnostics tests using ROC analysis, model disease stages such as incubation periods using survival analysis, study new treatments using clinical trials, compare prevention strategies using epidemiological tables, and more.
Create graphs tracing the number of cases across time, graphically compare trends across countries or other regions, plot in linear or log metric, create maps showing COVID-19 prevalence across the world, plot forecasts based on your model with confidence intervals, and more.
Share the results of your COVID-19 analysis with your colleagues or with the world; create a webpage, Word document, Excel file, or PDF; include text, descriptive statistics, maps, graphs, and regression results; rerun scripts; and automatically update reports with the most recent data.
You may be interested in simple statistics about the number of confirmed cases and deaths calculated globally, by country, by state, or by zip code presented in a table or on a graph.
You may be interested in time-series analyses of trends of the COVID-19 spread and death rate or in using ARIMA models for their forecasting.
Or, you may want to explore nonlinear mixed-effects modeling of, for instance, cumulative death data.
Model right-censored, interval-censored, and competing-risks outcomes such as incubation periods using survival-time models. Choose between nonparametric, semiparametric Cox, and parametric analyses.
You may even need a counterfactual framework when using observational data to evaluate various virus and disease prevention strategies.
As the number of COVID-19 studies grows, use meta-analysis to unify the results of multiple studies or to explore potential discrepancy of the reported findings.
And be sure to check out community-contributed features. For instance, create maps of the spread of COVID-19 cases using grmap. Or simulate SIR and SEIR models using Epimodels created by researchers at the World Bank.
Create choropleth maps to show the spread of COVID-19 cases using the grmap command, which was written by Maurizio Pisati.
As the world is fighting COVID-19, many of us are transitioning to working, teaching, and learning from home. Whether you would like to learn more about Stata or an advanced statistical method or you need some extra resources for teaching Stata in your course, we have online opportunities for you.
If you're a faculty member who introduces Stata to students and are having to move your course online,
we’d like to ease the transition by providing our
materials to you at no cost. To take advantage of this offer, simply contact us.
We understand that now is a time when learning at home is of utmost importance. Because of that, we are
making the recordings of our previously recorded webinars available for users during this time. Register to access our recordings.
Access webinar recordings
Stata's YouTube channel is the perfect resource for new users to Stata, users wanting to learn a new
feature in Stata, and professors looking for aids in teaching with Stata. We have over 250 videos that
have been viewed over 6 million times by Stata users.
Visit our YouTube channel
This is the data repository for the 2019 Novel Coronavirus Visual Dashboard operated by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE). The repository is supported by ESRI Living Atlas Team and the Johns Hopkins University Applied Physics Lab (JHU APL).Visit JHU GitHub
WHO is gathering the latest international multilingual scientific findings and knowledge on COVID-19. The global literature cited in the WHO COVID-19 database is updated daily (Monday through Friday) from searches of bibliographic databases, hand searching, and the addition of other expert-referred scientific articles.Learn more
CDC is responding to a pandemic of respiratory disease spreading from person to person caused by a novel (new) coronavirus. The disease has been named “coronavirus disease 2019” (abbreviated “COVID-19”). This situation poses a serious public health risk.Learn more
The COVID Tracking Project collects and publishes the most complete testing data available for U.S. states and territories.Learn more
The Health and Agricultural Policy Research Institute gathers and publishes COVID-19 data from Vietnam, Laos, and Cambodia alongside data for other countries.Learn more
The CDCN collects and provides data from trials and publications related to all treatments for COVID-19. The data include the number treated and the results. These data are useful both for physicians and researchers working in new clinical trials.Learn more
The COVID-19 Research Database is a collection of resources from public and private organizations such as Datavant, Health Care Cost Institute, Medidata, Mirador Analytics, Veradigm, Change Healthcare, Snowflake and more. The cross-industry collaboration gives public health and policy researchers access to real-world COVID-19 data.Learn more
The COVID-19 Development Data Lab Repository aims to provide a backbone of high geographic resolution administrative data to support analysis of and the policy response to the COVID-19 pandemic in India.Visit Dev Data Lab Github
“I wanted to send a huge shout out to @Stata for making sure my stats students have access now that we are
transitioning to online only instruction.
They moved quickly and handled the situation perfectly! Thanks so much, my students and I both appreciate it!”
University of Nebraska-Omaha