Ongoing plan:
Keep working through the Grolemund tutorial (Hands-on programming with R) here.

If you complete it, go to the R for Data Science tutorial here.

Feel free to send us email to ask us questions at any point. No pressure. You don't have to have completed anything to ask us questions.

 
Third R workshop: Thursday Feb 22, 530-630 pm, Tobin 224.
We did an exercise. We want to know if this month’s “good performers” do well next month.

We first did the problem in Excel. We downloaded data from the links below (for 4 stocks) and calculated ranks, got subsequent returns.
Then we used R to do the problem for 4 stocks. We learned how to use the packages lubridate and dplyr.

"Learning to use dplyr" means understanding only two things: first, what does the "pipe" %>% do? It takes what is given to it and hands it on to the next function, or "verb". Using dplyr often just means picking which verb you want to use. Here is a list of common dplyr "verbs" to choose from.

Download returns of four large stocks here: https://pages.stern.nyu.edu/adesouza/rworkshop/outcsv/returns_of_4_large_stocks.csv
Download returns of a hundred large stocks here: https://pages.stern.nyu.edu/adesouza/rworkshop/outcsv/returns_of_100_large_stocks.csv

The video is here.
The Excel file we worked with is here
The R program we finally used is here, and the output after you run it is here. You can open the .R file in RStudio, and you can open both these files with a text editor, like Notepad.

Second R workshop: Monday Nov 20, 150-315 pm, Tobin 201.
Some of it was recorded here, but the audio is very poor quality
We discussed some data sources that you could look at to get finance and economics data into R. Here's that handout.
We worked through this tutorial (as much as we could get through, every person working by themselves.)
First session on Monday 11/6
Recording of session on Monday 11/6
Access the materials that Andre de Souza used for his presentation here
Access the materials that Ansel Schiavone used for his presentation here