Introduction to R

R is a statistical software that is used for estimating econometrics models. For more information, please check the Official R website.

In this Introduction to R video, you will learn about how to use the R software to read data sets, do basic statistical analysis, and get familiar with the program so that we can use it for more sophisticated econometric models. You will also learn about R studio, a user-friendly interface to use with R.

R Programs and Data

Introduction to R: Topics

  • R website and downloading R

  • R studio – R user interface

  • Advantages and disadvantages of R

  • Programs – R program file (.R)

  • R Console – where commands are listed and results are shown

  • Data files – csv files

  • Importing data – read, attach

  • Summarizing and analyzing data – summary, sort, table, cor

  • Statistical analysis (t test, anova, regressions) – t.test, anova, olsreg

  • Install and use packages

  • Using help