May 2011

Music file graphs with R

May 22, 2011 | infominer

Today we will use R to extract some interesting summary statistics regarding the music files stored in the computer. For all mp3 files I keep certain metadata in their ID3 tag. We will use this information to explore the distribution of music files with respect to the year of release. ... [Read more...]

Terry’s spiel

May 22, 2011 | xi'an

“We don’t need likelihood functions; we just need to know how to simulate from [them] (…) We don’t need models with sufficient statistics; we just need summary statistics (…) We don’t need to be Bayesian; we just need to be approximately so. We don’t need theory to tell ... [Read more...]

Slowing down matrix multiplication in R

May 21, 2011 | Radford Neal

After I realized that some aspects of R’s implementation are rather inefficient, one of the first things I looked at was matrix multiplication.  There I found a huge performance penalty for many matrix multiplies, a penalty which remains in the current version, 2.13.0.  As discussed below, eliminating this penalty speeds ... [Read more...]

The distribution of interestingness

May 21, 2011 | Ron Pearson (aka TheNoodleDoodler)

On April 22, David Landy posed a question about the distribution of interestingness values in response to my April 3rd post on “Interestingness Measures.”  He noted that the survey paper by Hilderman and Hamilton that I cited there makes the following comment: “Our belief is that a useful measure of interestingness ... [Read more...]

My programming journey

May 20, 2011 | Robin Wilson

When clearing out some of my old programming books the other day I realised how far I’d come with programming over the years, and the number of different technologies that I have used over time. I thought I’d do a little summary post going from first programming experience ... [Read more...]

Long XLU Short SPY Part 2 (More History)

May 20, 2011 | klr

THIS IS NOT INVESTMENT ADVICE.  YOU ARE RESPONSIBLE FOR YOUR OWN GAINS AND LOSSES. The Fed is on a roll adding BAC ML Bond Indicies and now complete history for the four primary Dow Jones Indexes, so I wanted to extend my first post Long XLU Shor...
[Read more...]

Hacking the Kinect with R

May 20, 2011 | David Smith

I was browsing through the draft abstract booklet for this year's worldwide R user conference useR! 2011, and noticed this abstract: KinectR – Kinect interface to R Landon Jensen Microsoft launched the Kinect for Xbox 360 in late 2010 and it quickly broke records as the fastest selling consumer electronics device in history (8 million ... [Read more...]

Long XLU Short SPY

May 20, 2011 | klr

THIS IS NOT INVESTMENT ADVICE.  YOU ARE RESPONSIBLE FOR YOUR OWN GAINS AND LOSSES. I spend my days and nights wondering what a bond manager should do if he/she doesn’t like bonds, but also cannot sit in 0% cash.  I generally dislike spreads...
[Read more...]

Spreads and Stress

May 20, 2011 | klr

Since we have the Gifts from BAC ML and the Federal Reserve, I thought I should look at another interesting element of bonds.  Bond spreads act as a very strong symbol of financial stability and confidence.  The St. Louis Fed Stress Index is ...
[Read more...]

Smaller or greater? – episode II

May 20, 2011 | infominer

In a previous post I introduced the following game: Suppose you play the following game: Someone holds a set of cards with the numbers {1,2,…,N} in random order, opens up the first card and asks if the next card is greater or smaller. Every time you predict correctly, you get ... [Read more...]

Great circles, raster, sp and lattice

May 20, 2011 | Oscar Perpiñán Lamigueiro

Recently I found a post at FlowingData with a detailed tutorial to map connections with great circles with R. The tutorial of FlowingData is excellent, but I feel more comfortable with the sp classes and methods, and with the lattice and latticeExtra packages. Besides, I want to use the free ... [Read more...]

10 reasons why you should learn R

May 20, 2011 | prasoonsharma

10. Can't crack that hard Sudoku problem?? Use R!9. Want to pick a skill that will give you an early adopter advantage?? Learn R! It is the leading open source statistical and data analysis programming language, and is heating up! 8. Need to ... [Read more...]

Syntax highlighting of R code at WordPress.com

May 20, 2011 | nsaunders

If your WordPress blog is hosted at WordPress.com (like this one), you may know that source code in posts is formatted and highlighted using a shortcode, as explained here. Until recently, R was not on the list of supported languages (neither was Perl), but I noticed today that both ... [Read more...]

[Project Euler] – Problem 57

May 19, 2011 | R on Guangchuang Yu

It is possible to show that the square root of two can be expressed as an infinite continued fraction. √ 2 = 1 + 1/(2 + 1/(2 + 1/(2 + … ))) = 1.414213… By expanding this for the first four iterations, we get: Read More: 547 Words Totally [Read more...]

Friday fun with: Google Trends

May 19, 2011 | nsaunders

Some years ago, Google discovered that when people are concerned about influenza, they search for flu-related information and that to some extent, search traffic is an indicator of flu activity. Google Flu Trends was born. Illness is sweeping through our department this week and I have succumbed. It’s not ... [Read more...]

More fun with boxplots

May 19, 2011 | Gregor

Here are a few more plotting options for boxplots: Let’s start plotting the full set plot(b$mod, b$x) Plot labels for a subset in full set plot (label all points x __ -1) text(subset(b$mod, b$x __ -1), subset(b$x, b$x __ -1), … Continue reading → [Read more...]
1 2 3 4 5 6 12

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)