April 2011

ARMA Models for Trading, Part I

April 14, 2011 | The Average Investor

Lately I have been testing trading models based on methods from various fields: statistics, machine learning, wavelet analysis and others. And I have been doing all that in R! In this series, I will try to share some of these efforts starting with the well-known from statistics Autoregressive Moving Average ... [Read more...]

Graph Bisection in R

April 14, 2011 | CL

Recently I had to partition a set of SNPs into a training set and a test set. Making a random split would not do: both sets would likely contain very similar SNPs due to linkage disequilibrium (LD), making them non-independent. … Continue reading → [Read more...]

Computing Statistical Power

April 14, 2011 | Tony Cookson

Today's task is to compute a statistical power function in R. For a good definition of power, go here. Thinking about the power of a testing procedure is an often-overlooked aspect of hypothesis testing.I also explain what power (in a statistical sens...
[Read more...]

R 2.13.0 is released!

April 14, 2011 | Paolo Sonego

The new R 2.13.0 is out! Get the source code from here. Take a look at these posts for some miscellaneous advices to make the upgrade easier. Also this thread on stackoverflow and this post contributed by Tal Galili&nbs...
[Read more...]

Mixtures in Madrid (3)

April 14, 2011 | xi'an

For my second lecture today, I need to plot a likelihood surface for a basic two-component mixture with only the means unknown: here is the R code to speed up things llsurf=function(trumyn=2.,wayt=.3,var2=1.,ssiz=500){ # draws the log-likelihood surface and a random sample sd2=sqrt(var2) parti=(runif(... [Read more...]

R 2.13.0 released

April 13, 2011 | David Smith

The R Core Group has released the latest update to open-source R, R 2.13.0 is now available. You can download the new source distribution from the R Project website, and I see from the Download R tool at inside-R.org that binaries for Windows and Mac are already available at my ... [Read more...]

Le Monde puzzle #13

April 13, 2011 | xi'an

This week, Le Monde offers not one but three related puzzles: Is it possible to label the twelve edges of a cube by consecutive numbers such that the sum of the edge numbers at any of the eight nodes is constant? Is it possible to label the eight nodes of ... [Read more...]

compiler and runiregGibbs (bayesm)

April 13, 2011 | Numerator

So everyone's excited about the new R 2.13 release because of the compiler package.Apparently it is easy to get a 3x speed increase by simply compiling a function.Doing a lot of the MCMC stuff, I am particularly excited about speed in R. I just compile... [Read more...]

Block diagonal matrices in R

April 13, 2011 | CL

As far as I can tell, R doesn’t have a function for building block diagonal matrices so as I needed one, I’ve coded it myself. It might save someone some time. Example: Let m1 and m2 two square matrices. Selec … Continue reading → [Read more...]

Some comments peer-review and a year of blogging

April 13, 2011 | BioStatMatt

It's been a year since I began keeping a web log. This post presents some thoughts related to the experience. Blogging is Sharing Ideas Blogging is online self-publishing. There is no faster way to share your ideas so broadly. Last year at the useR! conference (in Gaithersburg, MD, just a ... [Read more...]

RProtoBuf 0.2.3

April 13, 2011 | Thinking inside the box

A maintenance release 0.2.3 of RProtoBuf is now on CRAN. RProtoBuf provides GNU R bindings for the Google Protobuf data encoding library used and released by Google. The NEWS file entry follows below: 0.2.3 2011-04-12 o Protect UINT64... [Read more...]

CoKriging with gstat – Videotutorial

April 13, 2011 | Fabio Veronesi

This is the last lesson of the R Videotutorial for spatial statistics.It is all about cokriging in gstat. For this lesson I used the meuse dataset, available within gstat, for the references to this dataset take a look at the script.The videotutorial i... [Read more...]

Journal of Statistical Software. Vol. 40

April 12, 2011 | David Smith

The latest edition of the Journal of Statistical Software is out, with plenty of interesting articles for R users. A must-read is Hadley Wickham's article on "The Split-Apply-Combine Strategy for Data Analysis", which makes a compelling argument for the use of the plyr package to partition datasets and apply sub-group ... [Read more...]

Using tikzDevice with Sweave in R 2.13

April 12, 2011 | cameron

R 2.13 introduces an option to specify a custom graphics device in an Sweave code chunk. This is really cool and allows you to use tikzDevice output like pgfSweave does. In an pinch, say when you dont have access to any non-core packages, you can use tikzDevice output with the regular ... [Read more...]
1 7 8 9 10 11 14

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)