R for Stata Users introduces R using Stata terminology with which you are already familiar. It steps through more than 30 programs written in both languages, comparing and contrasting the two packages’ different approaches. When finished, you will be able to use R in conjunction with Stata, or separately. You will be able to import data, manage and transform it, create publication quality graphics and perform basic statistical analyses.
A glossary defines over 50 R terms using Stata jargon, and again using more formal R terminology. The table of contents and index allow you to find equivalent R functions by looking up Stata commands and vice versa. The example programs and practice datasets for both R and Stata are available for download.
Reviews and Comments from Readers
“My first foray into R programming was infuriatingly unproductive. I needed something that could lay out an introduction into R that would build upon my existing knowledge of statistical programming, namely Stata. This book does just that – it identifies commands and structures that are direct parallels and directs attention towards the portions of R that are fundamentally different from Stata. The authors provide excellent examples and full example files. Since I have been using this book my experiences with R have been much more productive and far less frustrating.”
-Peter Goff, Vanderbilt University
6 thoughts on “R for Stata Users”
Where can we get your book ?
Just click on the “Books” menu at the top. You’ll see there’s one for SAS/SPSS users and another for Stata users. Clicking on the image will pop you over to Amazon.com. Under “Free Version” is the free early edition of “R for SAS and SPSS Users”. It’s short and somewhat out of date but it’s still downloaded quite a bit.
Where can I download datasets and example programs?
Choose “Downloads” then follow the directions.
Dear Dr. Muenchen: thank you for having this useful website. I was just wondering if you will be releasing a second edition of the R for Stata Users book. It is a useful book, but it has been 10 years since it was released. Many packages and versions of R and Stata have been released since then.
I’m collecting ideas for a new edition, but with the projects I’m working on now, it’s probably at least a year away.