Installing Stata-MP on Ubuntu
Just a set of terminal commands for installing:
#The following lines were provided in the installation guide
sudo -s
mkdir /tmp/statafiles
cd /tmp/statafiles
tar -zxf /home/you/Downloads/Stata18Linux64.tar.gz
mkdir /usr/local/stata18
cd /usr/local/stata18
/tmp/statafiles/install
#Activating the license
./stinit
#The following line is just because stata-mp wasn't working on my system
# due to a missing library despite having the license
sudo apt install libncurses5
Why Stata :
At this stage it is just an experimentation - Python is not as strong with statistics commands as R, I am looking at a way to not to have to move to R for statistical tasks and just connect to stata from python - I KNOW IT WOULD BE BETTER TO TRY AND FIGURE OUT HOW TO USE R FROM WITHIN PYTHON. However I have been working at a hospital where most people work with and are comfortable with stata - making it easier to share code for reproducibility and quality checks.
Comments
Post a Comment