This series of videos will serve as an introduction to the R statistics language, targeted at economists.
This video will cover how to calculate summary statistics of two variables, including correlations with cor(), cross-tabulations with table(), comparing the means of two variables with t.test(), and calculating summary statistics by group with aggregate().
Download the code from all my R videos at once at [ Ссылка ]
You can find links to every video in the series here: [ Ссылка ]
There are videos on: [BASIC] Getting Started, Getting Help, Objectives and Variables, Vectors and Matrices, Data Frames, Packages, Summary Statistics (of One and Two Variables), Plots and Graphs, and Linear Regression (OLS), [MODERATE] Regression Formulas, Robust or Clustered Standard Errors and Post-Regression Stats, Regression Plots, Instrumental Variables (IV Regression), Time Series, ARIMA and ARMA, Probit and Logit, Tobit and Heckman, Panel Data, and Missing Data, and [ADVANCED] Simulations, The Tidyverse, Reshape and Join/Merge, dplyr (Introduction, Piping, and Grouping), ggplot (Introduction, Geometries, Overlaid and Grouped Plots, and Titles and Labels), and vtable
![](https://i.ytimg.com/vi/L5WV8KiD8-A/maxresdefault.jpg)