March 2012

Review of “The Origin of Financial Crises” by George Cooper

March 19, 2012 | Pat

The subtitle is “Central banks, credit bubbles and the efficient market fallacy”. Executive summary This is much too important of a book to remain as obscure as it is.  Besides, it is quite a fun read. It talks about two subjects: Why markets for goods and services tend toward equilibrium ... [Read more...]

Visualizing left-right government positions

March 19, 2012 | Dimiter Toshkov

How does the political landscape of Europe change over time? One way to approach this question is to map the socio-economic left-right positions of the governments in power. So let’s plot the changing ideological  positions of the governments using data … Continue reading → [Read more...]

Backtesting Asset Allocation portfolios

March 18, 2012 | systematicinvestor

In the last post, Portfolio Optimization: Specify constraints with GNU MathProg language, Paolo and MC raised a question: “How would you construct an equal risk contribution portfolio?” Unfortunately, this problem cannot be expressed as a Linear or Quadratic Programming problem. The outline for this post: I will show how Equal ... [Read more...]

A graphical overview of your MySQL database

March 18, 2012 | CL

If you use MySQL, there’s a default schema called ‘information_schema‘ which contains lots of information about your schemas and tables among other things. Recently I wanted to know whether a table I use for storing the results of a large … Continue reading → [Read more...]

Liking of apples – more than juiciness

March 18, 2012 | Wingfeet

In a previous blog it was shown using literature data that liking of apples was related to juiciness. However, there were some questionsIs the relation linear or slightly curved? The variation in liking around CJuiciness is large. Are more explana...
[Read more...]

Useful R snippets

March 18, 2012 | markheckmann

In this post we collect several R one- or few-liners that we consider useful. As our minds tend to forget these little fragments we jot them down here so we will find them again. Indexing in nested loops Every once in a while I run a nested loop like the ... [Read more...]

Predicting Marketing Campaign with R

March 17, 2012 | Arun Gaikwad

In my last blog I created a mechanism to fetch data from Salesforce using rJava and SOQL. In this blog I am going to use that mechanism to fetch ad campaign data from salesforce and predict future ad campaign sales using R Let us assume that Salesforce has campaign data ... [Read more...]

Logistic map: Feigenbaum diagram

March 17, 2012 | Markus Gesmann

The other day I found some old basic code I had written about 15 years ago on a Mac Classic II to plot the Feigenbaum diagram for the logistic map. I remember, it took the little computer the whole night to produce the chart.With today's computers even...
[Read more...]

Solving easy problems the hard way

March 17, 2012 | JD Long

There’s a charming little brain teaser that’s going around the Interwebs. It’s got various forms, but they all look something like this: This problem can be solved by pre-school children in 5-10 minutes, by programer – in 1 hour, by people with higher education … well, check it yourself!  8809=6 7111=0 2172=0 6666=4 1111=0 3213=0 7662=2 9313=1 0000=4 2222=0 3333=0 5555=0 8193=3 8096=5 7777=0 9999=4 7756=1 6855=3 9881=5 5531=0 2581=? SPOILER ... [Read more...]

Savitzky-Golay filters in R

March 17, 2012 | jrcuesta

Derivatives are a good way to extract information to our spectra. As we know NIR contents overlapping bands, and spectra must be treated with math operations in order to extract as much information as possible and to correlate it with the constituent &...
[Read more...]

Cooling Stations

March 17, 2012 | Steven Mosher

Over the course of the past few years I have taking a look at cooling stations a few times but never in much depth. A few other people have looked at them, but usually without much rigor. The standard approach is to find some cooling stations and then conclude that ... [Read more...]

Dates and times in R

March 16, 2012 | Ari F.

Nothing looks funnier than a patchy simian. That's why we sighed a great sigh of relief when we spotted this article on the lubridate package in R. It saves a great deal of hair pulling.http://www.r-statistics.com/2012/03/do-more-with-dates-and-times... [Read more...]

simulated annealing for Sudokus [2]

March 16, 2012 | xi'an

On Tuesday, Eric Chi and Kenneth Lange arXived a paper on a comparison of numerical techniques for solving sudokus. (The very Kenneth Lange who wrote this fantastic book on numerical analysis.) One of these techniques is the simulated annealing approach I had played with a long while ago.  They seem ... [Read more...]

Simplify working with times and dates in R

March 16, 2012 | David Smith

R has some very powerful built-in features for working with dates, times, and time-zones. But power and flexibility rarely correlate with ease-of-use, and this is no exception. The lubridate package comes to the rescue, make things a bit easier when working with chronological data in R. The paper Dates and ... [Read more...]

Montreal R Workshop: Likelihood Methods and Model Selection

March 16, 2012 | Corey Chivers

Monday, March 19, 2012  14h-16h, Stewart Biology N4/17 Corey Chivers, McGill University Department of Biology This workshop will introduce participants to the likelihood principal and its utility in statistical inference.  By learning how to formalize models through their likelihood function, participants will learn how to confront these models with data in ... [Read more...]

Download and Parse DJ/UBS Commodities Indexes

March 16, 2012 | Peter Carl

Here is another data downloading and parsing script, this one for the Dow Jones/UBS Commodities Indexes. Compared to the last post, this parser deals with multiple sheets and multiple columns in each sheet. It also constructs monthly series from the daily data, and stores it using a different symbol. ... [Read more...]
1 5 6 7 8 9 16

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)