April 2015

Dynamic analysis on outliers

April 24, 2015 | Pablo C.

Treating outliers Introduction Outliers are the extreme values that a variable has, depending on the model or requirement, it could be necessary to treat them, either transforming or deleting. Variable “Income” distribution This is going to be our main variable in this example, which represents customer's income in $. We can ... [Read more...]

Dashboards in R with Shiny & Plotly

April 24, 2015 | chelsea

Shiny is an R application that allows users to build interactive web applications easily in R! Shiny apps involve two main components: a ui (user interface) script and a server script. The ui script controls the layout of the app and the server script controls what the app does. In ... [Read more...]

Blue period: Analyzing the color of paintings with R

April 24, 2015 | David Smith

While movies have been getting more orange with time, painting have been going the other direction. Paintings today are generally more blue than they were a few hundred years ago. The image above shows the color spectrum of almost 100,000 paintings created since 1800. Martin Bellander used R to create the image, ... [Read more...]

Data Mining the California Solar Statistics with R: Part I

April 24, 2015 | John

Data Mining the California Solar Statistics with R: Part I Intro Today I’m taking a look at the data set available from California Solar Statistics availalbe from https://www.californiasolarstatistics.ca.gov/. This data set lists all the applications for state incentives for both residential and commercial systems, it ...
[Read more...]

scale acceleration

April 23, 2015 | xi'an

Kate Lee pointed me to a rather surprising inefficiency in matlab, exploited in Sylvia Früwirth-Schnatter’s bayesf package: running a gamma simulation by rgamma(n,a,b) takes longer and sometimes much longer than rgamma(n,a,1)/b, the latter taking advantage of the scale nature of b. I ...
[Read more...]

Course Profiles in ggplot2

April 23, 2015 | Jeffrey Horner

Over on my other blog, Droppin’ The Hammer… where I journal my ultra running experience, I featured a novel ggplot2 plot for highlight elevation gain and loss on running race course profiles. If you’ve never run a particular race you...
[Read more...]

The new science journalism and open science

April 23, 2015 | Joseph Rickert

by Joseph Rickert The New York Times is quietly changing the practice of science journalism. The Tuesday April 21, 2015 article: Ebola Lying in Wait, reports on "A growing body of scientific clues - some ambiguous, other substantive" that the Ebola virus may have lain dormant in West African rain forest for ... [Read more...]

pandoc, markdown and pander

April 23, 2015 | January

Pandoc + markdown seem to be a great way of documenting my work. Markdown syntax is very simple and allows to add basic formatting and figures to an otherwise simple text document, without obfuscating the actual text. Then I simply compile the document using the pandoc command: There are some more ... [Read more...]

Comrades Marathon Finish Predictions

April 23, 2015 | andrew

* If you see a bunch of [Math Processing Error] errors, you might want to try opening the page in a different browser. I have had some trouble with MathJax and Windows Explorer. There are various approaches to predicting Comrades Marathon finishing times. Lindsey Parry, for example, suggests that you use ... [Read more...]

Parallel Simulation of Heckman Selection Model

April 22, 2015 | Jacob Simmering

Parallel Simulation of Heckman Selection Model One of the, if not the, fundamental problems in observational data analysis is the estimation of the value of the unobserved choice. If the (i^{text{th}}) unit chooses the value of (t) on the basis of some factors (mathbf{x_i}), which may ... [Read more...]

A plot of co-authorships in my little corner of science

April 22, 2015 | Luke Miller

  Here’s a mostly useless visualization of the collection of journal articles that sits in my reference database in Endnote. I deal mostly in marine biology, physiology, biomechanics, and climate change papers, with a few molecular/genetics papers thrown in here and there. The database has 3325 entries, 2 of which have ... [Read more...]

Introducing the htmlTable-package

April 22, 2015 | Max Gordon

My htmlTable-function has perhaps been one of my most successful projects. I developed it in order to get tables matching those available in top medical journals. As the function has grown I've decided to separate it from my Gmisc-package into a separate package, and at the time of writing this ... [Read more...]

A simple explanation of rejection sampling in R

April 22, 2015 | Florian Hartig

The central quantity in Bayesian inference, the posterior, can usually not be calculated analytically, but needs to be estimated by numerical integration, which is typically done with a Monte-Carlo algorithm. The three main algorithm classes for doing so are Rejection sampling Markov-Chain Monte Carlo (MCMC) sampling Sequential Monte Carlo (SMC) ... [Read more...]
1 2 3 4 5 11

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)