April 2010

Anecdotal Evidence that Facebook Stores all Clicks?

April 11, 2010 | Ryan

This is not really news. A few months ago, news broke that Facebook recorded each user’s clicks and profile views in a database. Of course, I am not at all surprised. I would be more surprised if they didn’t store every single click. By now, most people have ... [Read more...]

Significant Figures in R and Info Zeros

April 11, 2010 | Neil Gunther

The other day, I stumbled upon the signif function in R, so I thought I'd take a look at what it does and compare it with some results discussed in Chap. 3 "Damaging Digits in Capacity Calculations" of my GCaP book, viz., Example 3.5 on page 31. The m...
[Read more...]

R frustration of the day

April 11, 2010 | Tal Galili

Whenever you take a 1 column slice of a matrix, that gets automatically converted into a vector. But if you take a slice of several columns, it remains a matrix. The problem is you don’t always know in advance how big the slice will be, so if you do this: ... [Read more...]

Poor man’s pairs trading…

April 11, 2010 | M. Parzakonis

There is a central notion in Time Series Econometrics, cointegration. Loosely it refers to finding the long run equilibrium of two non-stationary series. As the most know non-stationary series examples comes from finance, cointegration is nowadays a tool for traders (not a common one though!). They use it as the ... [Read more...]

Summarising data using histograms

April 11, 2010 | Ralph

The histogram is a standard type of graphic used to summarise univariate data where the range of values in the data set is divided into regions and a bar (usually vertical) is plotted in each of these regions with height proportional to the frequency of observations in that region. In ... [Read more...]

Compiling 64-bit R 2.10.1 with MKL in Linux

April 10, 2010 | Michael

The rationale for compiling R using the Intel Math Kernel LibraryRecently, there has been a surge in the use of Intel's Math Kernel Library (MKL; http://software.intel.com/en-us/intel-mkl/) among data analysis packages. MKL is a highly optimized set of... [Read more...]

Where do you sit? Author position and the h-index

April 10, 2010 | Brandon Whitcher

I was recently introduced to the concept of the h-index and was compelled to find out my own h-index via Scopus.  Numbers don't matter, but discussion with my colleagues turned to the issue of author position.  We quickly decided that there are three important "positions" in the list of authors ... [Read more...]

Because it’s Friday: Pixels invade New York

April 9, 2010 | David Smith

Posted for no other reason than it warms my gamer-geek heart to see NYC taken over by 8-bit video game characters. The Tetris sequence is particularly cool. Update: The original video was deleted from YouTube, I'm guessing because of copyright issues with the music. This version has no music. (Thanks ... [Read more...]

REvolution R Community 3.2 now available

April 9, 2010 | David Smith

REvolution R Community, REvolution's free distribution based on R from the R Project, has been updated to version 3.2 and is now available for download for Windows and MacOS. Some features of this release include: Upgraded R engine. This release is based on R 2.10.1, the latest release (as of this writing). ... [Read more...]

The Future of Math is Statistics

April 9, 2010 | JD Long

The future of math is statistics… and the language of that future is R: I’ve often thought there was way too little “statistical intuition” in the workplace. I think Author Benjamin would agree. [Read more...]

Maximum Probability of Profit

April 9, 2010 | Joshua Ulrich

To continue with the LSPM examples, this post shows how to optimize a Leverage Space Portfolio for the maximum probability of profit. The data and example are again taken from The Leverage Space Trading Model by Ralph Vince. These optimizaitons take ...
[Read more...]

GLMM using DPpackage

April 9, 2010 | Shige

I was able to fit a semi-parametric Bayesian GLMM model using DPpackage. It took me many hours to sample from the posterior distribution (DPM prior):MCMC scan 1000 of 5000 (CPU time: 18950.080 s)MCMC scan 2000 of 5000 (CPU time: 22510.100 s)M...
[Read more...]

Gravity Game in R

April 8, 2010 | Lee

So why should R only be used for ’serious’ stuff? No longer! I’ve written the following code in R which executes a little gravitational physics game. The goal of the game is simple. You supply a velocity and direction to a spaceship with the goal of getting the ship ... [Read more...]

R: heatmaps with gplots

April 8, 2010 | Stewart MacArthur

I use heatmaps quite a lot for visualizing data, microarrays of course but also DNA motif enrichment, base composition and other things. I particular like the heatmap.2 function of the gplots package. It has a couple of defaults that are a little ugly ... [Read more...]

New R User Group in Dallas

April 8, 2010 | David Smith

Wow, it's a big week for new R User Groups. Larry D'Agostino has started up a new R user group based in Dallas, Texas (USA). It's just getting started, and Larry posted the following request on the r-help mailing list: I would like to know if there is anyone like ... [Read more...]

R: another nifty graph

April 8, 2010 | Tal Galili

Make sure to click on the image to see the large version. Code for this graph: moxbuller = function(n) { u = runif(n) v = runif(n) x = cos(2*pi*u)*sqrt(-2*log(v)) y = sin(2*pi*v)*sqrt(-2*log(u)) r = list(x=x, y=y) return(r) } r = ... [Read more...]
1 4 5 6 7 8

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)