Stata
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using Stata.
This programming language may be used to instruct a computer to perform a task.
Official website 

See Also: 


Your Help Needed
If you know Stata, please write code for some of the tasks not implemented in Stata.
Stata is a statistical software package created in 1985 and developed by StataCorp, located in College Station, Texas. Stata includes a commandbased macro language (informally called "Ado") and a matrix language called Mata. A large part of Stata is itself written in Ado and Mata, with source code available.
If you know Stata, please write code for some of the tasks not implemented in Stata.
Stata has also APIs to call C and Java plugins, and since Stata version 16, can embed Python code within Ado programs.
Pages in category "Stata"
The following 216 pages are in this category, out of 216 total.
A
 Ackermann function
 Address of a variable
 AKS test for primes
 Anagrams
 Apply a callback to an array
 Arbitraryprecision integers (included)
 Archimedean spiral
 Arithmeticgeometric mean
 Arithmetic/Complex
 Array concatenation
 Array length
 Arrays
 Assertions
 Associative array/Creation
 Associative array/Iteration
 Averages/Arithmetic mean
 Averages/Mean angle
 Averages/Median
 Averages/Pythagorean means
 Averages/Root mean square
C
 Caesar cipher
 Call a foreignlanguage function
 Cartesian product of two or more lists
 Casesensitivity of identifiers
 Catalan numbers
 Character codes
 Check that file exists
 Cholesky decomposition
 Circles of given radius through two points
 Combinations
 Combinations and permutations
 Combinations with repetitions
 Comments
 Compound data type
 Conditional structures
 Count occurrences of a substring
 Create a file
 Create a twodimensional array at runtime
 Create an HTML table
 CSV data manipulation
D
E
F
G
L
 Last Friday of each month
 Leap year
 Linear congruential generator
 List comprehensions
 Literals/Floating point
 Literals/Integer
 Logical operations
 Loop over multiple arrays simultaneously
 Loops/Break
 Loops/Continue
 Loops/Dowhile
 Loops/Downward for
 Loops/For
 Loops/For with a specified step
 Loops/Foreach
 Loops/Infinite
 Loops/N plus one half
 Loops/Nested
 Loops/While
 LU decomposition
M
P
R
 Random number generator (included)
 Random numbers
 Read a specific line from a file
 Read entire file
 Real constants and functions
 Regular expressions
 Remove duplicate elements
 Remove lines from a file
 Rename a file
 Repeat
 Repeat a string
 Reverse a string
 Roots of a quadratic function
 Roots of unity
 Rosetta Code/Rank languages by number of users
 Rosetta Code/Rank languages by popularity
 Rot13
 RungeKutta method
S
 Semordnilap
 Shortcircuit evaluation
 Show the epoch
 Sieve of Eratosthenes
 Singlylinked list/Element definition
 Singlylinked list/Element insertion
 Singlylinked list/Traversal
 Sleep
 Smith numbers
 Sort an integer array
 Sort stability
 Sorting algorithms/Bubble sort
 Sorting algorithms/Heapsort
 Sorting algorithms/Insertion sort
 Sorting algorithms/Selection sort
 Soundex
 Spiral matrix
 Stack
 Statistics/Basic
 Statistics/Normal distribution
 Stemandleaf plot
 String append
 String case
 String concatenation
 String interpolation (included)
 String length
 String prepend
 Strip whitespace from a string/Top and tail
 Substring
 Sudoku
 Sum and product of an array
 Sum digits of an integer
 Sum multiples of 3 and 5
 Sum of a series
 Sum of squares
 Superellipse
 System time