For the complete documentation index, see llms.txt. This page is also available as Markdown.

Stata Kernel for Jupyter

Install Stata kernel to allow Jupyter users to create and run Stata files in Jupyter Notebooks:

pip install stata_kernel
python -m stata_kernel.install

Ensure that the stata_kernel is installed correctly:

nano .stata_kernel.conf

Use CTRL+O then enter to overwrite the document and CTRL+X to exit.

Make sure stata_path is pointing to the correct executable. It can be different depending on your Stata version.

Copy the configuration file to system configuration for all users:

Last updated