COURSE ID: D-IN25-OL LANGUAGE:

Maximising the Potential of Stata’s new Python Capabilities

TStat’s “Maximising the Potential of Stata’s New Python Capabilities” course offers participants an excellent opportunity to acquire the introductory programming skills required to integrate Python’s capability into Stata 18. The course opens with an introductory session focusing on the Python programming basics required by users wishing to exploit the Stata – Python connectivity, before moving on to illustrate how to use Python in a Stata environment and the vice versa. In the closing session a series of practical applications will be discussed in order to highlight WHEN and HOW one should exploit the connectivity between Python and Stata for one’s research.

 

At the end of the course, participants are expected to be able, with the aid of the Stata routines implemented during the sessions, to independently implement the methodologies and techniques illustrated during the course by adopting the Stata routines to their own particular research needs.

 

In common with TStat’s training philosophy, each session is composed of both a theoretical component (in which the techniques and underlying principles behind them are explained) and an applied (hands-on) segment, during which participants have the opportunity to implement the techniques using real data under the watchful eye of the course tutor. Throughout the course, theoretical sessions are reinforced using applied case studies, in which the course tutor discusses and highlights potential pitfalls and the advantages of individual techniques.

This course is of particular interest to sociologists, mathematicians, economists, ethnologists, epidemiologists and political scientists wishing to acquire the basic tools necessary to use Python routines within Stata.

Participants should having a working knowledge of Stata. No prior knowledge of Python is necessary, although it will be an advantage.

  1. The potential of Stata/Python connectivity: an overview
  2. Python programming basics
  3. Alternative ways to implement Python in Stata: the PyStata Module
    • Calling Python from within Stata
    • Calling Stata from within Python
  4. Mata/Python integration
  5. Practical examples
    • Stata integration of Python Scikit-learn for Machine Learning
    • Least squares regression in Mata/Python
    • Stata/Python data visualization

We are currently adding the finishing touches to our 2024 training calendar. We therefore ask you to check our website regularly or contact us at training@tstat.eu should the dates for the course you are interested in not be published yet. You will then be contacted via email as soon as the dates are available.

Dr. Giovanni Cerulli
IRCrES-CNR
Research Institute on Sustainable Economic Growth
National Research Council of Italy – Rome

ONLINE COURSE

The course opens with an introductory session focusing on the Python programming basics required by users wishing to exploit the Stata – Python connectivity, before moving on to illustrate how to use Python in a Stata environment and the vice versa.