COURSE ID: D-IN19-OL LANGUAGE:

A GENTLE INTRODUCTION TO MATA

Mata, Stata’s relatively “low level” built-in matrix compiled language, is similar in many ways to R, Matlab or GAUSS. As such, it cannot be considered a replacement for Stata, nor is it intended to be a stand-alone statistical package in itself. Rather it is a programming tool which is best used as a supplement to Stata, in order to execute those tasks, which Stata does not do very well on its own. One of the main drawbacks in learning Mata however, is that the Mata Reference Manual, whilst extremely detailed, offers little advice on how Mata can be actively implemented. In this course therefore, we seek to bridge this gap, offering participants a gentle, but extensive introduction into Mata’s programming capabilities. To this end, the opening sessions focus on more general considerations, such as when the use of Mata is either justified or warranted and offers participants an overview of Mata’s syntax and its principle commands. The program then moves on to illustrate both Mata’s functions and built-in libraries and how Mata’s operators (such as functions, pointers and structures) and code can be effectively integrated in both user written do and ado-files.

At the end of the course, it is expected that participants will be able to independently implement the techniques learnt during the course of the workshop in order be able to use Mata to work more effectively in Stata.

This course is, by its nature, to be considered very much a “hands-on/applied training course”. Each session is composed of both a theoretical component (in which the techniques are explained), and an applied (hands-on) segment, during which participants have the opportunity to implement the techniques under the watchful eye of the course tutor. Throughout the course, theoretical sessions are reinforced by practical examples, in which the course tutor discusses and highlights potential pitfalls and the advantages of individual programming techniques.

Researchers in any field interested in learning Stata’s programming matrix language. Ph.D. students and researchers interested in extending their existing knowledge of Mata.

A good knowledge of do files programming and a basic knowledge of ado files programming is required. The knowledge of alternative “low-level” and matrix programming languages may greatly enhance the understanding of more advanced topics like pointers, structures and classes.

SESSION I

A Mata taxonomy
Obtaining help in Stata
Using Mata interactively
Mata syntax and operators
Subscripting
Customizing graphs
Functions: types, declarations and arguments
Compile and use a function
Flow of control: loops and branching
Built-in Mata functions
Mata libraries
Using Mata with do-files

 

SESSION II

Functions of functions
Pointers and structures
Classes
Optimization: optimize and moptimize
Using Mata with ado-files

 

COURSE REFERENCES

An Introduction to Stata Programming, Christopher F. Baum, Second Edition, Stata Press 2016
The Mata Book: A Book for Serious Programmers and Those Who Want to Be, William Gould, Stata Press 2018

Due to the current COVID-19 situation, the 2020 edition of this Training Course will now be offered ONLINE, on a part-time basis from the 22nd to the 25th September 2020. To this end, this year’s programme has been transformed into a series of module based on 4 sessions scheduled Tuesday to Friday from 10.00 am to 1.30 pm Central European Summer Time (CEST).

 

 

 

Full-Time Students*: € 640.00
Academic: € 890.00
Commercial: € 1190.00

**To be eligible for student prices, participants must provide proof of their full-time student status for the current academic year.

Fees are subject to VAT (applied at the current Italian rate of 22%). Under current EU fiscal regulations, VAT will not however applied to companies, Institutions or Universities providing a valid tax registration number.

The number of participants is limited to 8. Places will be allocated on a first come, first serve basis. The course will be officially confirmed, when at least 5 individuals are enrolled.

Course fees cover: teaching materials (handouts, Stata do-files, program templates and datasets to use during the course) and a temporary course licence of Stata valid for 30 days from the beginning of the course.

Individuals interested in attending this course must return their completed registration forms by e-mail (training@tstat.eu) to TStat by the 17th September 2020.


NAME

EMAIL

OBJECT

ADDITIONAL COMMENTS

[recaptcha]
I authorise the use of my personal data pursuant to Article 13 of L. Decree no 196 / 2003

ONLINE FORMAT

Mata, Stata’s relatively “low level” built-in matrix compiled language, is similar in many ways to R, Matlab or GAUSS. As such, it cannot be considered a replacement for Stata, nor is it intended to be a stand-alone statistical package in itself. Rather it is a programming tool which is best used as a supplement to Stata, in order to execute those tasks, which Stata does not do very well on its own. One of the main drawbacks in learning Mata however, is that the Mata Reference Manual, whilst extremely detailed, offers little advice on how Mata can be actively implemented. In this course therefore, we seek to bridge this gap, offering participants a gentle, but extensive introduction into Mata’s programming capabilities.

 

Due to the current COVID-19 situation, the 2020 edition of this Training Course will now be offered ONLINE, on a part-time basis from the 22nd to the 25th September 2020.