This is an update of the RATS Programming Manual written in 2003 by Walter Enders. That was, and this is, a free "e-book" designed to help you learn better how to use the more advanced features of RATS. Much has changed with RATS over the intervening years. It has new data types, more flexible graphics and report-building capabilities, many new and improved procedures, countless new example files. And the practice of econometrics has changed as well. It's much more common (and almost expected) to use more "computational intensive" methods, such as simulations and bootstrapping, sample stability analysis, etc. These techniques will often require use of programming beyond the "pre-packaged" instructions and procedures, and that's what this e-book is here to explain. The econometrics used in the illustrations is drawn from Enders (2014), but there is no direct connection between the content of this e-book and the textbook. If you have questions about the underlying statistical methods, that book would be your best reference. Because the goal is to help you understand how to put together usable programs, we've included the full text of each example in this book. And the running examples are also available as separate files.
RATS Programming Manual, 2nd Edition
Examples, data files
The idea for the RATS Programming Manual was born when I was invited to give an intensive two-day workshop on RATS at the Federal Reserve Bank of St. Louis. Workshop participants all had advanced degrees in economics or statistics and most were comfortable with the standard features of RATS. Shortly after, I was invited to present a similar two-week mini-course at the Catholic University in Brasilia.
The RATS Programming Manual is intended for those who are already familiar with RATS. The level is geared to the applied econometrician conducting the type of research that is suitable for the professional journals. As such, the manual emphasizes the instructions and options that enable you to simplify repetitive tasks, write your own advanced programs and procedures, and work with vectors and matrices.