Monthly Archives: March 2014

Which states are the most concerned by gun crime?

March 24, 2014
By
Which states are the most concerned by gun crime?

I recently discovered the Capitol Words API and have had some fun playing around with it. One of the categories in the API allows you to search for the words spoken by the senators of each state in the USA, and I was interested in finding out the number of times the words “gun” were recorded on a

Read more »

WrightMap Tutorial – Part 2

March 24, 2014
By
WrightMap Tutorial – Part 2

Plotting Multidimensional & Polytomous Models Remember: you can find the other parts of the tutorial here: Part 1: Plotting Unidimensional Dichotomous Models Part 3: Using Conquest Output & Making Thresholds Multidimensional models In Part 1, we reviewed how to install the package from GitHub and how to customize unidimensional and dichotomous models. Now in Part 2, we’ll look at graphing some...

Read more »

Free eBook on Big Data and Data Science

March 24, 2014
By

The fine folks behind the Big Data Journal have just published a new e-book Big Data: Harnessing the Power of Big Data Through Education and Data-Driven Decision Making. (Note: Adobe Flash is required to view the e-book.) In the eBook, you'll find the following technical papers on the topics of Big Data, Data Science, and R: Data Science and...

Read more »

Hack, a template for improving code reliability

March 24, 2014
By

My sole prediction for 2014 has come true, Facebook have announced the Hack language (if you don’t know that HHVM is the Hip Hop Virtual Machine you are obviously not a trendy developer). This language does not follow the usual trend in that it looks useful, rather than being fashion fluff for corporate developers to

Read more »

Image CGI with R

March 24, 2014
By

I received an email recently with a question about using R in the common gateway interface (CGI) framework to create and pass image data to the web browser. I posted to stackoverflow about this some time ago, but had forgotten the details. The trouble is that R's graphics devices only write image data to file,

Read more »

R jobs (March 24th)

March 24, 2014
By

Earlier this month I have announced the launch of R-users.com, a new R jobs website. My intention is to post around twice a month on new R jobs posted on the website. You are invited to use this link, to post new R jobs. Registration is less than 10 seconds. Here are the new R jobs:   Full-Time Data...

Read more »

Experimenting With R – Point to Point Mapping With Great Circles

March 24, 2014
By
Experimenting With R – Point to Point Mapping With Great Circles

I’ve started doodling again… This time, around maps, looking for recipes that make life easier plotting lines to connect points on maps. The most attractive maps seem to use great circles to connect one point with another, these providing the shortest path between two points when you consider the Earth as a sphere. Here’s one

Read more »

Estimating Variance as a Function of Treatment Rank Class

March 24, 2014
By

Imagine that we have a treatment that we give to five different groups of individuals.  Each individual has a variable response which as a unique mean and variance based on the treatment.  We do not know how the means will change but we belie...

Read more »

Reminder: Abstract submission for the 2014 ‘R in Insurance’ conference will close this Friday

March 24, 2014
By
Reminder: Abstract submission for the 2014 ‘R in Insurance’ conference will close this Friday

Don't forget, this is the final week you can submit an abstract for the second R in Insurance conference. For more details see http://www.rininsurance.com and perhaps for inspiration review last year's programme.

Read more »

MCMC on zero measure sets

March 23, 2014
By
MCMC on zero measure sets

Simulating a bivariate normal under the constraint (or conditional to the fact) that x²-y²=1 (a non-linear zero measure curve in the 2-dimensional Euclidean space) is not that easy: if running a random walk along that curve (by running a random walk on y and deducing x as x²=y²+1 and accepting with a Metropolis-Hastings ratio based

Read more »