Stata 17

Stata is a complete, integrated statistical software package that provides everything you need for data analysis, data management, and graphics.

Accessing Stata 17

To load the module for Stata 17 please use this command on the BEAR systems (BlueBEAR, BEARCloud VMs, and CaStLeS VMs):

module load Stata/17

BEAR Apps Version


Common Problems

Stata not executing final command

If you find that Stata is not executing the final command in your .do file, then try adding a newline at the end of the file.

I/O error writing .dta file

When running a Stata job in BlueBEAR you may get this error:

I/O error writing .dta file - Usually such I/O errors are caused by the disk or file system being full.

In that case the following should fix it, added before you execute stata-mp (or stata, or stata-se):

export STATATMP="/scratch/${SLURM_JOBID}"; mkdir ${STATATMP}

This tells stata to write its temporary files into a new, job-specific folder in the /scratch filestore - instead of into /tmp

More Information

For more information visit the Stata website.

Other Versions

These versions of Stata are available on the BEAR systems (BlueBEAR, BEARCloud VMs, and CaStLeS VMs). These will be retained in accordance with our Applications Support and Retention Policy.

Version BEAR Apps Version
16 2019a
16 2020a
15 2018b
17.rev2023-01-10 2022a

Last modified on 11th June 2021