Monthly Archives: November 2013

getSymbols Extra

November 25, 2013
By
getSymbols Extra

The getSymbols function from the quantmod package is an easy and convenient way to bring historical stock prices into your R environment. You need to specify the list of tickers, the source of historical prices and dates. For example following commands will download historical stock prices from yahoo finance for ‘RWX’, ‘VNQ’, ‘VGSIX’ symbols: Now,

Read more »

Try out R online with R-Fiddle

November 25, 2013
By
Try out R online with R-Fiddle

It's pretty easy (and free!) to download R and install it on your own PC, Mac or Linux machine, but if you don't have one of those or simply aren't ready to commit to installing it, you can now try it out online. R-Fiddle (from DataMind) provides an easy-to-use interactive R console that you can run from your browser....

Read more »

Getting Started with Mixed Effect Models in R

November 25, 2013
By

Getting Started with Multilevel Modeling in R Getting Started with Multilevel Modeling in R Jared E. Knowles Introduction Analysts dealing with grouped data and complex hierarchical structures in their data ranging from measurements nested within participants, to counties nested within states or students nested within classrooms often find themselves...

Read more »

Generating Ticker Symbols with Markov Chains

November 25, 2013
By
Generating Ticker Symbols with Markov Chains

Stock ticker symbols are short character string codes (AAPL for Apple, WMT for Walmart) that uniquely identify stock listings. They originate from the days when stock quotes were transmitted via telegraph. These symbols are often used as tools for branding and companies choose them to be memorable and easily recognized. As a fun and simple...

Read more »

Mapping Foodborne Chicago Reports

November 25, 2013
By
Mapping Foodborne Chicago Reports

I help out with a project called Foodborne Chicago, where we search twitter for people in Chicago mentioning "food poisoning" and @reply to them with a link where they can file a report with the city of Chicago's Department of Public Health. The applic...

Read more »

Ranked Choice Voting

November 25, 2013
By
Ranked Choice Voting

The city of Minneapolis recently elected a new mayor. This is not newsworthy in and of itself, however the method they used was—ranked choice voting. Ranked choice voting is a method of voting allowing voters to rank multiple candidates in order of preference. In … Continue reading →

Read more »

R now has its own shelf in Dillons

November 24, 2013
By
R now has its own shelf in Dillons

I was in Dillons, the one opposite University College London, at the start of the week and what did I spy there? There is now a bookshelf devoted to R (right, second from top) in the programming languages section. The shelf would be a lot fuller if O’Reilly did not have a complete section devoted

Read more »

Buffon needled R exams

November 24, 2013
By
Buffon needled R exams

Here are two exercises I wrote for my R mid-term exam in Paris-Dauphine around Buffon’s needle problem. In the end, the problems sounded too long and too hard for my 3rd year students so I opted for softer questions. So recycle those if you wish (but do not ask for solutions!) Filed under: Books, Kids,

Read more »

From area under the curve to the fundamental theorem of calculus

November 24, 2013
By
From area under the curve to the fundamental theorem of calculus

This is a lecture post for my students in the CUNY MS Data Analytics program. In this series of lectures …Continue reading »

Read more »

Website and blog updated

November 24, 2013
By

Earlier this year the blog had its tenth anniversary. I had meant to celebrate the occassion by revamping the site and blog a little. Having set up the updated R/Finance site, the Rcpp Gallery and Rcpp sites as well as the much-needed overhaul of th...

Read more »