Stata® statistical software provides all the features you need for data science and inference–data manipulation, exploration, visualization, statistics, reporting, and reproducibility.
Stata has the following versions:
-
Basic Edition (BE)
-
Standard Edition (SE)
-
Multiprocessor Edition (MP)
Note
| To learn more about Stata, see Stata features, Stata benefits, and compare versions of Stata. |
To use a Stata workspace in Domino you must have a valid Stata license file. The license from Stata comes in a PDF file. You need the following data from this file:
-
Licensed software version (either
MP
,SE
, orBE
) -
Serial number (12-digit number)
-
Code (series of nine 4-character codes)
-
Authorization (4-character code)
-
Open the Stata Environment in Domino.
-
Right-click the background and go to applications > shells > bash.
-
Go to the Stata program directory:
cd /usr/local/stata
-
As superuser, run the Stata init program:
sudo ./stinit
-
Follow the prompts to enter the serial number, code, and authorization.
-
Follow the additional prompts to enter the organization name and location.
NoteThese values are not validated and can be your company name and headquarters location.
Completing this process generates the Stata license file stata.lic
in the stata
directory.
Copy the contents of this file to a safe location.
-
When you create a Domino workspace Environment for Stata, use the following custom base image:
quay.io/domino/stata:17
-
Update the Dockerfile instructions with the following Docker commands.
ENV STATA_VERSION="MP" RUN apply-license “<url_to_license_file>”
Ensure the
STATA_VERSION
matches the customers' licensed version. The version must beMP
,SE
, orBE
. -
Paste the following code into the Environments pluggable workspace properties.
stata: title: "Stata" iconUrl: "https://raw.githubusercontent.com/dominodatalab/partner-resources/main/assets/workspaces/stata/statamp.png" start: [ "/opt/domino/workspaces/stata/start" ] httpProxy: port: 8080 internalPath: "/{{ownerUsername}}/{{projectName}}/{{sessionPathComponent}}/{{runId}}/#/?username=domino&password=domino" rewrite: false
See the following for more resources: