Stata is an open source programming language created in 1985 by William Gould.

#241on PLDB | 38Years Old | 8kRepos |

Stata is a general-purpose statistical software package created in 1985 by StataCorp. Most of its users work in research, especially in the fields of economics, sociology, political science, biomedicine and epidemiology. Stata's capabilities include data management, statistical analysis, graphics, simulations, regression, and custom programming. Read more on Wikipedia...

- Stata website
- Stata Wikipedia page
- Stata docs
- There are at least 8,344 Stata repos on GitHub
- Stata first developed in StataCorp
- file extensions for Stata include do, ado, doh, ihlp, mata, matah and sthlp
- Stata on Twitter
- The Google BigQuery Public Dataset GitHub snapshot shows 867 users using Stata in 1k repos on GitHub
- There are 16 Project Euler users using Stata
- Explore Stata snippets on Rosetta Code
- Stata appears in the TIOBE Index
- Pygments supports syntax highlighting for Stata
- GitHub supports syntax highlighting for Stata
- PLDB has 2 Jupyter Kernels for Stata: github.com, github.com
- There is a central package repository for Stata
- stata.com was registered in 1994
- See also: (4 related languages)C, Linux, ASCII, Microsoft Excel
- Read more about Stata on the web: 1.

Example from the Hello World Collection:

```
/* Hello world in Stata */
.program hello
1. display "Hello, World!"
2. end
.hello
```

Example from Linguist:

```
local MAXDIM 800
```

Example from Wikipedia:

```
program define fizzbuzz
args x
forvalues i = 1(1)`x' {
if mod(`i',15) == 0 {
display "fizzbuzz"
}
else if mod(`i',5) == 0 {
display "buzz"
}
else if mod(`i',3) == 0 {
display "fizz"
}
else {
display `i'
}
}
end
```

Feature | Supported | Token | Example |
---|---|---|---|

MultiLine Comments | âœ“ | /* */ | /* A comment */ |

Line Comments | âœ“ | // | // A comment |

Comments | âœ“ | ||

Semantic Indentation | X |