Articles by free range statistics - R

The UN’s proposed Multidimensional Vulnerability Index by @ellis2013nz

September 29, 2023 |

The United Nations President of the General Assembly’s High-Level Panel on the development of a Multidimensional Vulnerability Index have (September 2023) released an Advanced Unedited Version of their Final Report, and along with it the scores on that... [Read more...]

Finding a circle in a chart by @ellis2013nz

September 22, 2023 |

So this tweet came across my feed. To save you going there it is about a selection exercise for a job for (I think) an IT start up, described proudly by its author as “insanely hard”; and the job is to find the radius of the brown circle in this ... [Read more...]

Model life tables by @ellis2013nz

August 5, 2023 |

I am working to improve my knowledge of demography. This is something I've only had a relatively superficial engagement with but it's an important part of the responsibilities of the team where I work. A key tool in demography is a "life table", wh... [Read more...]

Log transforms, geometric means and estimating population totals by @ellis2013nz

July 29, 2023 |

Motivation I usually talk about statistical inference as having one of three purposes: estimating some finite and defined population parameter, like the mean income of mechanical apprentices in 1890s London or the number of 5-9 year olds living in... [Read more...]

Weighted versus unweighted percentiles by @ellis2013nz

June 23, 2023 |

This interesting paper came out recently: A test of the predictive validity of relative versus absolute income for self-reported health and well-being in the United States, by David Brady, Michaela Curran and Richard Carpiano. It uses a large sample of... [Read more...]

Simpler drawing of Pacific choropleth maps by @ellis2013nz

June 16, 2023 |

Simple use of the draw_pac_map() function Last year I blogged about making a choropleth map of the Pacific, dealing with a few technical details like getting the map centred on the Pacific, using exclusive economic zones (EEZs) to colour things in for... [Read more...]

Simulating confounders, colliders and mediators by @ellis2013nz

June 3, 2023 |

Motivation and key points So this tweet came across my feed. It refers to this article, Statistical Control Requires Causal Justification by Wysocki, Lawson and Rhemtulla, published in June last year (2022) in Advances in Methods and Practices in Psyc... [Read more...]

Covid-19 vaccination rates in the Pacific by @ellis2013nz

May 27, 2023 |

During the Covid-19 global health crisis, the organisation where I work - the Pacific Community, or SPC - compiled and published weekly updates on Covid-19 incidence, mortality and vaccination rates. This only recently stopped with the WHO determining ... [Read more...]

Showing women proportion of Parliamentarians on a map by @ellis2013nz

May 25, 2023 |

In a workshop session on data visualization earlier this week, Christophe Bontemps of the Statistical Institute for Asia and Pacific (SIAP) used as an example a range of infographics attempting to show, on a map of Asia and the Pacific, the proportion ... [Read more...]

Transformations for compositional data by @ellis2013nz

February 24, 2023 |

Motivation In engaging with this Twitter thread four months ago, I discovered that there was a whole set of statistical methods that I knew nothing about - transforming data that is in the form of a simplex. Common examples of this sort of data would ... [Read more...]

Pacific island choropleth map by @ellis2013nz

October 12, 2022 |

I wanted to draw my own nice, clean map of the Pacific Island countries and territories that I work with in my day job; and a workflow I could use for producing statistical graphics with it, particularly choropleth maps. I am going to build this into m... [Read more...]

Pacific island population pyramids by @ellis2013nz

August 13, 2022 |

New job! I started an exciting new job just over a month ago. I am the Director of the Statistics for Development Division at the Pacific Community, which is commonly known by its now-old acronym the SPC (this used to stand for the South Pacific Commi... [Read more...]

Smoothing charts of Supreme Court Justice nomination results by @ellis2013nz

March 25, 2022 |

Sad about Twitter pile-ons So this is a blog post about smoothing data that has been generated over time, and a bit about Twitter being mean. To cut to the chase, here’s my own version of the data in question. This is the Senate vote for nominations ... [Read more...]

Principal components and penguins by @ellis2013nz

June 13, 2021 |

A short post today to get me back in the swing of it, after a four month break - my longest since starting the blog. But a short post with a warning - this is something that nearly caught me out and has potentially catastrophic but silent (ie unnoticed... [Read more...]

Making a database of security prices and volumes by @ellis2013nz

February 13, 2021 |

Motivation So, there’s been a recent flurry of attention to the stock market. It prompted last week’s post. But it also reminded me to bubble up to higher in my priority list a project to create a database of daily security prices and short positions... [Read more...]

Visualising stock prices and volume by @ellis2013nz

February 4, 2021 |

Like many people around the world I have been watching the rise and fall of share prices in the US retail chain GameStop with interest. There is plenty of narrative and interpretation of what happened around and time will provide many details that are ... [Read more...]

Shiny in production for commercial clients by @ellis2013nz

December 20, 2020 |

One of the more interesting projects I worked on in 2019 could be loosely described as building a Shiny app for the Royal Melbourne University of Technology (RMIT). But this wasn’t just any Shiny app. It was the front end for a big analytical data buil... [Read more...]

Animated map of World War I UK ship positions by @ellis2013nz

December 4, 2020 |

The other day while looking for something else altogether, I stumbled across naval-history.net, a website aiming to preserve historical naval documents and make them more available. I’m not sure if it’s still being actively worked on; the creator and k... [Read more...]

Reproduce analysis of a political attitudes experiment by @ellis2013nz

November 13, 2020 |

Terence Wood, Chris Hoy and Jonathan Pryke recently published this paper on The Effect of Geostrategic Competition on Public Attitudes to Aid. I was interested a) because of my past professional engagement with public attitudes to aid (my very first re... [Read more...]

Hamlet, data models, interaction graphs and other cool stuff by @ellis2013nz

October 10, 2020 |

You should all go watch Branagh’s Hamlet (1996) Earlier this year I watched Kenneth Branagh’s Hamlet (1996) and wow, I cannot recommend this movie enough. Not only is it by far the best Hamlet I have ever seen (on stage or screen), it has a fair claim... [Read more...]
1 2 3 6