CODICE CORSO: D-IN25-OL LINGUA:

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. 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

Al momento non sono inserite date 2026 per questo corso. L’offerta formativa è comunque in continua evoluzione; suggeriamo pertanto di contattare la segreteria organizzativa formazione@tstat.it per segnalare il vostro interesse ed essere ricontattati non appena sarà inserita una data in calendario.

CORSO ONLINE

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.

 

TStat Training’s live online training courses are offered interactively via Zoom with a qualified trainer in real-time. All materials (slides, datasets and Stata routines specifically developed for the course) are made available for download before the start of the course.