# STATA 17 NYHET!

Den komplette statistikkpakken for statistiske metoder og data-analyse

Stata er en komplett og kraftig statistikkpakke som er lagd for forskere fra alle disipliner. Her får du alt du trenger i en samlet pakke. Med et enkelt pek-og-klikk brukermiljø, intuitivt kommandospråk og online hjelp, er du raskt i gang med å utnytte dette avanserte verktøyet. Alle statistiske metoder, analyser og resultater kan reproduseres og dokumenteres for dine publikasjoner.

I Stata vil du finne hundrevis av statistiske metoder og verktøy lett tilgjengelige. Alt fra grunnleggende statistikk til avanserte metoder og analyser. Stata har også svært gode kommandoer for å håndtere dine datafiler og datamengder. I tillegg vil du finne mange og gode metoder for å produsere grafer og statistiske plott av høy kvalitet, som du kan bruke i dine publikasjoner og artikler.

Stata leveres til Windows, Mac og Unix/Linux.

Ta kontakt for gratis fullt ut funksjonell 30-dagers demo på Denne e-postadressen er beskyttet mot programmer som samler e-postadresser. Du må aktivere javaskript for å kunne se den. eller +47 64 84 15 90

## Info

**Hvorfor velge STATA?**

Klikk her for mer informasjon og oversikt over STATAs mange statistiske metoder, funksjoner og muligheter!

**Hvem bruker STATA?**

Klikk her for mer informasjon om hvilke disipliner STATA brukes!

**Hvilken utgave av STATA er riktig for meg?**

Klikk her for oversikt over de forskjellige utgavene av STATA

## Nyheter i siste versjon

## New features in Stata 17

**Stata 17 was announced April 20, 2021!**

**Please click the link below to learn more about the features in Stata 17**:

https://www.stata.com/new-in-stata/

## Some highlights of the new features in Stata 17

Please note that Stata IC edition has been renamed to Stata BE (Basic Edition)

### Customizable tables

Stata is now ready to help you create both standard and customized tables, whether you want a table for the web, or a table for your paper in Word®, or that same table for your LaTeX paper.

### Bayesian econometrics

Stata does econometrics. Stata does Bayesian statistics. Stata 17 combines both to do Bayesian econometrics.

### PyStata—Python and Stata

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

### Jupyter Notebook with Stata

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 modeling

Multilevel models are used by many disciplines 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 Stata 17**:

https://www.stata.com/new-in-stata/

## New features in Stata 16

**Stata 16 was announced the 26th of June 2019!**

Please click the link below to read more about the new features in Stata 16:

www.stata.com/new-in-stata/

### Lasso

Stata's new lasso tools let you extract real features from mountains of data. With those features, you can do the following:

- Predict outcomes
- Characterize groups and patterns in your data
- Search over highly nonlinear potential relationships
- Perform inference on covariates of interest
- Handle endogenous covariates or unobserved confounders
- We give you the tools to be sure you are finding real features and not just artifacts in a particular sample.

Why so many uses?

Lasso has its roots in:

- machine-learning
- statistics
- econometrics

Which is to say, it has established capabilities in real-world applications, the rigour of known statistical properties, and the promise of yet more applications.

### Truly reproducible reporting

Stata's commands for report generation allow you to create complete Word®, Excel®, PDF, and HTML documents that include formatted text, as well as summary statistics, regression results, and graphs produced by Stata.

### Meta-analysis

Meta-analysis combines the results of multiple studies that answer similar research questions. Does exercise prolong life? Does lack of sleep increase the risk of cancer? Does daylight saving save energy? And more. Many studies attempt to answer such questions, and some report inconclusive or even conflicting results. Meta-analysis helps aggregate the information, often overwhelming, from many studies in a principled way into one unified final conclusion or provides the reason why such a conclusion cannot be reached.

Stata has a long history of meta-analysis methods contributed by Stata researchers, for instance, Palmer and Sterne (2016). Stata now offers the new suite of commands, meta, to perform meta-analysis. The new suite is broad, yet one of its strengths is its simplicity.

### Choice models

Finally, answers to real-world and real-research questions.

Prior to Stata 16, the nonlinearities and extra correlations in most choice models made it difficult to answer truly interesting questions. You could easily test whether a covariate was significant and positive but not measure its effect on the probability of a choice. Either you accepted answers to limited questions or you derived solutions to your specific questions and programmed them by hand.

That all changes with Stata 16. Even with complicated models such as multinomial probit or mixed logit, you can now get the answers to truly interesting questions. Your favorite restaurant introduces a new chicken entree? How does that affect demand for its other chicken entrees? Its beef entrees? Its fish entrees?

With Stata 16, answers to such questions, including tests and confidence intervals, are a simple command away.

### Python integration

In Stata 16, you can embed and execute Python code from within Stata. Stata's new python command provides a suite of subcommands allowing you to easily call Python from Stata and output Python results within Stata.

You can invoke Python interactively or in do-files and ado-files so that you can leverage Python's extensive language features. You can also execute a Python script file (.py) directly through Stata.

Additionally, the Stata Function Interface (sfi) Python module is included. It provides a bidirectional connection between Stata and Python. It allows you to interact Python's capabilities with Stata's core features. Within the module, classes are defined to provide access to Stata's current dataset, frames, macros, scalars, matrices, value labels, characteristics, global Mata matrices, and more.

Stata supports both Python 2 and Python 3 starting from Python 2.7. You can choose which one to bind to from within Stata.

### New in Bayesian analysis

Stata 16 offers extensive additions to Stata's Bayesian suite of commands, which include

- Multiple chains
- Gelman–Rubin convergence diagnostics
- Bayesian predictions
- Posterior summaries of simulated values
- MCMC replicates
- Posterior predictive p-values

In addition, bayes: and bayesmh support new priors pareto(), dirichlet(), and geometric() for specifying, respectively, Pareto, multivariate beta (Dirichlet), and geometric prior distributions. Pareto is a power-law-based distribution. Dirichlet can be used for specifying priors for probability vector parameters. Geometric priors are suitable for modeling count parameters.

Last but not least is that bayes: with multilevel models such as bayes: mixed now runs faster!

### Extended regression models for panel-data/multilevel models

Stata's Extended Regression Models (ERMs) now support panel data. ERMs were added last release to Stata. They fit models with problems.

By models, we mean linear regression and interval regression for continuous outcomes, probit for binary outcomes, and ordered probit for ordered outcomes.

By problems, we mean any combination of endogenous and exogenous sample selection, endogenous covariates (unobserved confounders), and nonrandom treatment assignment.

New this release is that ERMs handle yet another problem—panel data (also known as longitudinal data or two-level multilevel data).

Random effects are included in each equation by default. Random effects are correlated; you can omit specific random effects, and you can test the correlations.

Other commands in Stata can fit models with any of the problems listed. ERMs can handle any combination of the above problems and can fit models with continuous, interval, binary, and multiple outcomes.

### Import data from SAS and SPSS

One of the first tasks of any research project is reading in data. import sas allows us to import SAS® data from version 7 or higher into Stata. We can import the entire dataset or only a subset of it. With import sas we may also import value labels. Dates, value labels, and missing values are all converted properly from SAS to Stata format.

import spss allows us to bring IBM® SPSS® files (version 16 or higher) and compressed IBM SPSS files (version 21 or higher) into Stata. We can import the entire dataset or only a subset of it. Dates, value labels, and missing values are all converted properly from SPSS to Stata format.

### Nonparametric series regression

Nonparametric series regression (NPSR) estimates mean outcomes for a given set of covariates, just like linear regression. Unlike linear regression, NPSR is agnostic about the functional form of the outcome in terms of the covariates, which means that NPSR is not subject to misspecification error.

### Multiple datasets in memory

This is about changing the way you work. Datasets in memory are stored in frames, and frames are named. When Stata launches, it creates a frame named default, but there is nothing special about it, and the name has no special or secret meaning. You can rename it.

### Precision and sample-size analysis for CIs

The new ciwidth command performs precision and sample-size analysis for confidence intervals (CIs). The goal is to optimally allocate study resources when CIs are to be used for inference or, said differently, to estimate the sample size required to achieve the desired precision of a CI.

ciwidth also lets you investigate the precision in various scenarios, which is useful at the planning stage. You can investigate the tradeoffs among sample size, required CI width, and the probability that the actual CI width will be less than required. And you can examine how each varies with other parameters.

Results can be presented in a table or graph.

### Panel-data mixed logit

Mixed logit models are models for choice outcomes. Choices might be modes of transportation, car insurance providers, or types of vacations.

Sometimes individuals make the same decision repeatedly:

- You choose whether to bike or take a car to work each day.
- You choose your car insurance provider each year.
- You choose to to vacation at the beach, mountains, or city each summer.

When data contain repeated choices, we have panel data.

With Stata 16's new cmxtmixlogit command, you can fit panel-data mixed logit models.

### Nonlinear DSGE

Dynamic stochastic general equilibrium (DSGE) models are used in macroeconomics to describe the structure of the economy. These models consist of systems of equations that are derived from economic theory. In these models, expectations play an important role in determining the values of variables today. What distinguishes the DSGE model from other time-series models is its close connection to theory and the appearance of expectations in the model.

Macroeconomists use DSGEs to evaluate the impact of policy on outcomes such as output growth, inflation, and interest rates. A DSGE model can nest multiple theories. Researchers can then use estimated parameter values to determine which theory better fits the data.

Stata's new dsgenl command estimates the parameters of DSGEs that are nonlinear in both the parameters and variables by using a first-order approximation to the model's equations at the steady state.

### Multiple-group IRT models

Many researchers study cognitive abilities, personality traits, attitudes, quality of life, patient satisfaction, and other attributes that cannot be measured directly. To quantify these types of latent traits, researchers develop instruments–questionnaires or tests consisting of binary, ordinal, or categorical items–to determine individuals' levels of the trait.

Item response theory (IRT) models can be used to evaluate the relationships between a latent trait and items intended to measure the trait. With IRT models, we can determine which test items are more difficult and which ones are easier. We can determine which test items provide much information about the latent trait and which ones provide only a little.

Stata's existing IRT suite fits IRT models.

In Stata 16, we can now make comparisons across groups. This means we can evaluate whether an instrument measures a latent trait in the same way for different subpopulations.

### xtheckman

Heckman selection models adjust for bias when some outcomes are missing not at random. Imagine modeling income. The problem is that income is observed only for those who work. Missingness is not random.

Stata fits Heckman selection models and, new in Stata 16, Stata can fit them with panel (two-level) data.

You want to fit the model

yit=xitβ+αi+εit

where yit is sometimes missing. The equation that determines which yit are not missing is

yit=zitγ+vi+uit>0

In these equations, αi, εit, vi, and uit will not be estimated. Their correlations with each other, however, will be estimated along with β and γ.

The above model can be fit even though income is not observed for everyone and even if their employment status changes over time.

Why fit a selection model? Because it is possible that people who work and whose income is therefore observed systematically differ from those who do not, and those differences are for unobserved reasons.

For instance, if more productive people work, their income will be higher than those who do not work. Or, if the income of the less productive is lower, they might need to work more. Allowing for selection allows for either of the above alternatives and other alternatives too. After estimation, we can test whether selection matters.

### NLME models with lags, leads, and differences: Growth models, multiple-dose PK models, and more

Existing command menl has new features for fitting nonlinear mixed-effects models (NLMEMs) that may include lag, lead (forward), and difference operators. One important class of such models is the class of pharmacokinetic (PK) models and, specifically, multiple-dose PK models. menl's new features can also be used to fit other models, such as certain growth models and time-series nonlinear multilevel models.

### Heteroskedastic ordered probit models

### Point sizes for graphics

In Stata 16, you can now specify sizes of graph elements in printer points, inches, and centimetres. Simply add a unit suffix to the size: pt for printer points, in for inches, cm for centimetres, and rs for relative size.

### Numerical integration

Stata provides statistical solutions developed by StataCorp, and it provides programming tools for those who want to develop their own solutions. There are two Stata programming languages: ado, which is easy to use, and Mata, which performs numerical heavy lifting. And Stata is integrated with Python.

### Linear programming

Stata provides statistical solutions developed by StataCorp, and it provides programming tools for those who want to develop their own solutions. There are two Stata programming languages: ado, which is easy to use, and Mata, which performs numerical heavy lifting. And Stata is integrated with Python.

### New features in the Do-file Editor

Stata's Do-file Editor provided syntax highlighting for Stata. It still does. In Stata 16, it also provides syntax highlighting for Python and Markdown.

And Stata 16's Do-file Editor has autocompletion. The editor autocompletes words that already exist in the document, autocompletes Stata commands, and autocompletes quotes, parentheses, braces, and brackets.

Last but not least, you can now use spaces for indentation as well as tabs.

### Dark Mode and tabbed windows for Mac

### Stata in Korean

Read more about all the new features in Stata 16:

https://www.stata.com/new-in-stata/

## Systemkrav

**Systemkrav**

- Windows 10, 8, Windows Server 2019, 2016 og 2012 (64-bit only!)
- macOS 11.0 (Big Sur) eller nyhere for Mac med Apple Silicon og macOS 10.12 (Sierra) eller nyhere for Mac med 64-bit Intel processors
- Any 64-bit (Core i3 equivalent or better) running Linux
- RAM: 4 GB (MP) og 2 GB (SE og BE)
- Harddisk: 2 GB

## Lisenser

**Utgaver av Stata**

**Stata IC**

Standardutgaven av Stata (maks 2047 variabler, uendelig antall observasjoner).**Stata SE**

Stata for store datamengder (maks 32767 variabler, uendelig antall observasjoner).**Stata MP**

Raskere utgave som er lagd for å utnytte dagens maskiner med flerkjerneprosessorer og parallellkjøringer. Leveres etter antall kjerner som MP2, MP4, MP8, osv.

Lær mer om forskjellene mellom de forskjellige utgavene av Stata ved å klikke her!

**Lisensalternativer**

- Enkeltbruker
- Nettverkslisener
- Flytende (samtidig bruk) nettverkslisenser
- Volumlisenser

Leielisenser leveres for alle lisensalternativene.

Click here to learn more about the different Stata editions.

## Support

Vi tilbyr teknisk support til alle våre Stata kunder.

Vennligst beskriv ditt problem så detaljert som mulig når du kontakter oss. Husk alltid å informere om hvilken produktversjon du har og hvilket operativsystem du bruker (plattform og versjon).

Vi kan også anbefale følgende support- og ressurssider:

- Stata teknisk support (gratis til registrerte brukere)
- Stata FAQ
- Last ned de siste produktoppdateringene til Stata her!
- Stata ressurser på web
- Statas YouTube kanal med mange læringsvideoer
- Statalist (epost brukergruppe for Stata)
- Stata online nettkurs
- Stata News (gratis online Stata publikasjon)
- Stata Journal (Abonnement)