free range statisticsI write about applications of data and analytical techniques like statistical modelling and simulation to real-world situations. I show how to access and use data, and provide examples of analytical products and the code that produced them.
http://freerangestats.info
Fifteen New Zealand government Shiny web appsI had a brief look around New Zealand government agency websites and found 15 high quality web apps written in the Shiny platform.Sun, 13 May 2018 00:00:00 +1200
http://freerangestats.info/blog/2018/05/13/nz-govt-shinyapps
http://freerangestats.info/blog/2018/05/13/nz-govt-shinyappsSurvey books, courses and toolsBooks, online courses and tools on surveys I've recently visited and liked.Sat, 05 May 2018 00:00:00 +1200
http://freerangestats.info/blog/2018/05/05/survey-books-and-courses
http://freerangestats.info/blog/2018/05/05/survey-books-and-coursesWeighted survey data with Power BI compared to dplyr, SQL or surveyI show a workaround to make it (relatively) easy to work with weighted survey data in Power BI, and ruminate on how this compares to other approaches of working with weighted data.Wed, 11 Apr 2018 00:00:00 +1200
http://freerangestats.info/blog/2018/04/11/weighted-survey-data-with-power-bi
http://freerangestats.info/blog/2018/04/11/weighted-survey-data-with-power-biDeaths per firearm violence eventA negative binomial model isn't adequate for modelling the number of people killed per firearm incident in the USA; the real data has more events of one death, and also more extreme values, than the model. But estimating the model was an interesting exercise in fitting a single negative binomial model to two truncated subsets of data.Sun, 01 Apr 2018 00:00:00 +1300
http://freerangestats.info/blog/2018/04/01/truncated-negbin-gun-violence
http://freerangestats.info/blog/2018/04/01/truncated-negbin-gun-violenceTruncated Poisson distributions in R and StanTwo ways of fitting a model to truncated data.Tue, 20 Mar 2018 00:00:00 +1300
http://freerangestats.info/blog/2018/03/20/truncated-poisson
http://freerangestats.info/blog/2018/03/20/truncated-poissonDo tweeps with more followers follow tweeps with more followers?I investigate a question about the Twitter network, and find that generally (until reaching a level of fame few of us aspire to), having more followers oneself is associated with following people who have less followers, not more.Sat, 24 Feb 2018 00:00:00 +1300
http://freerangestats.info/blog/2018/02/24/following-followers
http://freerangestats.info/blog/2018/02/24/following-followersBooks I liked in 2017I outline the stats- and data-related books I most enjoyed reading in 2017.Sat, 17 Feb 2018 00:00:00 +1300
http://freerangestats.info/blog/2018/02/17/books-2017
http://freerangestats.info/blog/2018/02/17/books-2017Visualising an ethnicity statistical classificationAn interactive network graph is a great way to understand a statistical classification standard.Sat, 10 Feb 2018 00:00:00 +1300
http://freerangestats.info/blog/2018/02/10/ethnicity
http://freerangestats.info/blog/2018/02/10/ethnicityAverage spend, activities and length of visit in the NZ International Visitor SurveyResolving an apparent conundrum where the mean spend and other value variables seems to be higher for nearly everywhere... an adventure in double counting (individuals contributing to multiple groups' averages).Sat, 03 Feb 2018 00:00:00 +1300
http://freerangestats.info/blog/2018/02/03/ivs
http://freerangestats.info/blog/2018/02/03/ivsHow to recruit data analysts for the public sectorReflections on recruiting data scientists for the public sector, which could maybe be used as practical guidance for someone.Tue, 23 Jan 2018 00:00:00 +1300
http://freerangestats.info/blog/2018/01/23/recruiting
http://freerangestats.info/blog/2018/01/23/recruiting