Beschreibung:
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.
Read data from various types of text files and Stata data sets
Installing and Updating R.- Running R.- Help and Documentation.- Programming Language Basics.- Data Acquisition.- Selecting Variables.- Selecting Observations.- Selecting Variables and Observations.- Data Management.- Enhancing Your Output.- Generating Data.- Managing Your Files and Workspace.- Graphics Overview.- Traditional Graphics.- Graphics with ggplot2.- Statistics.- Conclusion.