Monthly Archives: September 2012

The future of Artificial Intelligence – as imagined in 1989

September 6, 2012
By
The future of Artificial Intelligence – as imagined in 1989

This image comes from the cover of Preliminary Papers of the Second International Workshop on Artificial Intelligence and Statistics (1989). Someone abandoned it in the lobby of my building at school. Whatever for, I’ll never know. I just love the idea of machine learning/AI/Statistics evoking a robot hand drawing a best fit line through some

Read more »

Export R plot to Illustrator or Inkscape

September 6, 2012
By
Export R plot to Illustrator or Inkscape

Have you ever exported an R plot as a PDF and tried to edit it further by importing the PDF into a vector graphics program like Adobe Illustrator or Inkscape? What typically happens is the points on the plot get...

Read more »

BaselR meetup

September 6, 2012
By

Mango Solutions host BaselR, a free, open and informal R user group for those using or interested in using R. There will be a few short R related presentations and an opportunity to meet and chat with other R users over a drink. Date: Thursday 13th September at 6.30pm. Venue : transBarent, Viaduktstrasse 3, Basel (by the train station)...

Read more »

Inference and autoregressive processes

September 6, 2012
By
Inference and autoregressive processes

Consider a (stationary) autoregressive process, say of order 2, for some white noise with variance . Here is a code to generate such a process, > phi1=.5 > phi2=-.4 > sigma=1.5 > set.seed(1) > n=240 > WN=rnorm(n,sd=sigma) > ...

Read more »

Visually weighted/ Watercolor Plots, new variants: Please vote!

September 6, 2012
By
Visually weighted/ Watercolor Plots, new variants: Please vote!

Update Oct-23: Added a new parameter add to the function. Now multiple groups can be plotted in a single plot (see example in my comment) As a follow-up on my R implementation of Solomon’s watercolor plots, I made some improvements to the function. I fine-tuned the graphical parameters (the median smoother line now diminishes faster

Read more »

Comparing Stan to JAGS for Bayesian Inference (Part 1?)

September 5, 2012
By
Comparing Stan to JAGS for Bayesian Inference (Part 1?)

Stan is a new, open source, Bayesian inference tool. Stan is based on the the No-U-Turn sampler, a variant of Hamiltonian Monte Carlo. In order to compare Stan with JAGS, a gibbs sampler approach to Bayesian inference, I used the classic WinBUGS rats example. The rats example uses a hierarchical model to look at...

Read more »

Suicide statistics and the Christchurch earthquake

September 5, 2012
By
Suicide statistics and the Christchurch earthquake

Suicide is a tragic and complex problem. This week New Zealand’s Chief Coroner released its annual statistics on suicide, which come with several tables and figures. One of those figures refers to monthly suicides in the Christchurch region (where I … Continue reading →

Read more »

K-means in images and R

K-means in images and R

In an image each pixel is a color and that color hava a RGB representation, this means each color is represented by a triplet. For example the red in this representation is (250, 0, 0), black is (0,0,0) and white is (250, 250, 250) (see here more ...

Read more »

Graphically Comparing Confidence Intervals From Different Models

September 5, 2012
By

(This article was first published on Christopher Gandrud (간드루드 크리스토파), and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Christopher Gandrud (간드루드 크리스토파). R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL,...

Read more »

A Return to Reliable R

September 5, 2012
By
A Return to Reliable R

The saga with Statistica continues: Statistica kept crashing on me while doing my data processing.  One of the big problems was a wonderful bug that occurred when some of my text data variables were coded (unsurprisingly) as text!  Under this … Continue reading →

Read more »