In a previous post, I showed how to determine the best starting lineup to draft in an auction draft using an optimizer tool. In this post, I use a Shiny app in R to determine the best possible players to pick in a fantasy...
In a previous post, I showed how to determine the best starting lineup to draft in an auction draft using an optimizer tool. In this post, I use a Shiny app in R to determine the best possible players to pick in a fantasy...
StarCluster is a utility for creating and managingdistributed computing clusters hosted on Amazon's Elastic ComputeCloud (EC2). StarCluster utilizes Amazon´s EC2 web service to createand destroy clusters of Linux virtual machines on demand. Justin Riley http://star.mit.edu/cluster/docs/latest/index.html StarCluster documentation StarCluster provides a convenient way to quickly set up a cluster of machines to run some data parallel jobs using a distributed memory framework. Install StarCluster...
With this post, I want to introduce the new ‘propagate’ package on CRAN. It has one single purpose: propagation of uncertainties (“error propagation”). There is already one package on CRAN available for this task, named ‘metRology’ (http://cran.r-project.org/web/packages/metRology/index.html). ‘propagate’ has some additional functionality that some may find useful. The most important functions are: * propagate: A
Today, I take my first shots at ranking Major League Baseball (MLB) teams. I see my efforts at prediction and ranking an ongoing process so that my models improve, the data I incorporate are more meaningful, and ultimately my predictions are largely accurate. For the first attempt, let’s rank MLB teams using the Bradley-Terry (BT) model. Before we discuss the rankings, we need some...
A useful property of mixed effects and Bayesian hierarchical models is that lower level estimates are shrunk towards the more stable estimates further up the hierarchy. To use a time honoured example you might be modelling the effect of a new teaching method on performance at the classroom level. Classes of 30 or so students … Continue reading »
Summary: Put a plaintext file named CITATION in the root directory of your code, and put information in it about how to cite your software. Go on, do it now – it’ll only take two minutes! Software is very important in science – but good software takes time and effort that could be used to do
Some of my fellow scientists have it easy. They use predefined methods like linear regression and ANOVA to test simple hypotheses; they live in the innocent world of bivariate plots and lm(). Sometimes they notice that the data have odd histograms and they use glm(). The more educated ones use … Continue reading →
Exegetic Analytics extols the wonders of foreach package for iterative operations that go beyond the standard "for" loop in R. For example, here's a neat (if not optimally efficient) construct using filters to calculate the primes less than 100: foreach(n = 1:100, .combine = c) %:% when (isPrime(n)) %do% n The open-source team at Revolution Analytics created the foreach...