Uni Jena
Wirtschaftswissenschaftliche Fakultät
Lehrstuhl für Empirische und Experimentelle Wirtschaftsforschung
[A picture of Oliver Kirchkamp]

Introduction to R

Topics
  • Introduction
  • Syntax
  • Control structures
  • Functions
  • Input and output of data
  • Graphs
  • Simple Regressions
Material
Handout
Software
For our practical examples (during the entire course) we will use the software environment R. I think that it is helpful to coordinate on one environment and R has the advantage of being free and rather powerful.
  • Documentation for R is provided via the build in help but also through the R Homepage. Useful are
    • The R Guide, Jason Owen (Easy to read, tries to explain R with the help of examples from basic statistics)
    • Simple R, John Verzani (Tries to explain R with the help of examples from basic statistics)
    • Einführung in R, Günther Sawitzki (In German. Rather compact introduction. The statistical part can be quite demanding)
    • Econometrics in R, Grant V. Farnsworth (The introduction to R is rather compact and pragmatic. The econometric models go beyond what we are doing in this lecture)
    • An Introduction to R, W. N. Venables und D. M. Smith (The focus is more on R as a programming language)
    • The R language definition (Concentrates only on R as a programming language. A must to read if you write your own functions)
  • A first entry into R eased through mice and menues is available through the R Commander.
  • In the lecture I use the versatile editor Emacs with the ESS interface (ESS also helps with Stata, SAS, Splus, BUGS, and others). Users of MacOS-X will prefer the Emacs-Clone aquamacs.