Skip to main content
  • Book
  • © 2010

R for Stata Users

  • Read data from various types of text files and Stata data sets
  • Manage your data through transformations, recodes, and combining data sets from both the add-cases and add-variables approaches and restructuring data from wide to long formats and vice versa
  • Create publication quality graphs
  • Perform the basic types of analyses to measure strength of association and group differences and be able to know where to turn to cover much more complex methods
  • Includes supplementary material: sn.pub/extras

Part of the book series: Statistics and Computing (SCO)

Buy it now

Buying options

eBook USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book USD 249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (18 chapters)

  1. Front Matter

    Pages i-xxiv
  2. Introduction

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 1-7
  3. Installing and Updating R

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 9-18
  4. Running R

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 19-35
  5. Help and Documentation

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 37-44
  6. Programming Language Basics

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 45-90
  7. Data Acquisition

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 91-117
  8. Selecting Variables

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 119-138
  9. Selecting Observations

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 139-156
  10. Selecting Variables and Observations

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 157-166
  11. Data Management

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 167-251
  12. Enhancing Your Output

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 253-276
  13. Generating Data

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 277-290
  14. Managing Your Files and Workspace

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 291-310
  15. Graphics Overview

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 311-318
  16. Traditional Graphics

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 319-384
  17. Graphics with ggplot2

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 385-452
  18. Statistics

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 453-496
  19. Conclusion

    • Robert A. Muenchen, Joseph M. Hilbe
    Pages 497-497
  20. Back Matter

    Pages 499-529

About this book

Stata is the most flexible and extensible data analysis package available from a commercial vendor. R is a similarly flexible free and open source package for data analysis, with over 3,000 add-on packages available. This book shows you how to extend the power of Stata through the use of R. It 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, 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

From the reviews:

“The goal of the authors ‘is to help you translate what you know about Stata into a working knowledge of R as quickly and easily as possible’ … . the book is apparently aimed at someone who wishes to switch from Stata to R. … many chapters include Stata code and R code to do exactly the same thing (particularly in the data manipulation chapters) and these are helpful.” (Richard Goldstein, Technometrics, Vol. 53 (4), November, 2011)

Authors and Affiliations

  • Office of Information Technology Statistical Consulting Center, Stokeley Management Center, University of Tennessee, Knoxville, USA

    Robert A. Muenchen

  • Florence, USA

    Joseph M. Hilbe

Bibliographic Information

  • Book Title: R for Stata Users

  • Authors: Robert A. Muenchen, Joseph M. Hilbe

  • Series Title: Statistics and Computing

  • DOI: https://doi.org/10.1007/978-1-4419-1318-0

  • Publisher: Springer New York, NY

  • eBook Packages: Mathematics and Statistics, Mathematics and Statistics (R0)

  • Copyright Information: Springer Science+Business Media, LLC 2010

  • Hardcover ISBN: 978-1-4419-1317-3Published: 07 May 2010

  • Softcover ISBN: 978-1-4614-2596-0Published: 01 July 2012

  • eBook ISBN: 978-1-4419-1318-0Published: 26 April 2010

  • Series ISSN: 1431-8784

  • Series E-ISSN: 2197-1706

  • Edition Number: 1

  • Number of Pages: XXIV, 530

  • Topics: Statistics and Computing/Statistics Programs

Buy it now

Buying options

eBook USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book USD 249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access