Alvaro Soto on Installing PostgreSQL 9.6 usin… Alvaro Soto on Installing PostgreSQL 9.6 usin… iangow on Getting SEC filing index … George Mount on Getting SEC filing index … vahid on RStudio Server on Mac OS …
Tag Archives: R
I just updated R remotely. I wanted to avoid the hassle of logging in via VNC (“Screen Sharing”), so I did this: Now, to get RStudio from the command-line: Advertisements
The paper by Loughran and McDonald (2011) develops lists of words that are intended to reflect “tone” in financial text. The following code retrieves these lists and applies them to a large body of text (over a billion words) from … Continue reading
Here is code for 5.2.5 Extended Example: A Salary Study from “The Art of R Programming“. The primary addition to the code in the book is the addition of code to get the data from the Department of Labor’s website.
As a follow-up to an earlier post, I was pleasantly surprised to discover that the code to handle two-way cluster-robust standard errors in R that I blogged about earlier worked out of the box with the IV regression routine available … Continue reading
Here is some R code to download SEC index files and put them into a database. This is an alternative to Perl code provided by Andrew Leone here. First, a function to download the zipped index file from the SEC … Continue reading
Here’s a cute picture. I was looking to sample 10-K filings and wondered whether I could assume they were well distributed over days of the month. This picture required surprisingly little code to produce:
Ugly, but it works.