Stata

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

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.

Available Versions

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

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