One-way ANOVA with fixed and random effects from a Bayesian perspective
This blog post is derived from a computer practical session that I ran as part of my new course on Statistics for Big Data, previously discussed. This course covered a lot of material very quickly. In...
View ArticleCalling Scala code from R using jvmr
[Update: the jvmr package has been replaced by a new package called rscala. I have a new post which explains it.] Introduction In previous posts I have explained why I think that Scala is a good...
View ArticleInlining Scala Breeze code in R using jvmr and sbt
[Update: The CRAN package “jvmr” has been replaced by a new package “rscala”. Rather than completely re-write this post, I’ve just created a github gist containing a new function, breezeInterpreter(),...
View ArticleCalling R from Scala sbt projects
[Update: The jvmr package has been replaced by the rscala package. There is a new version of this post which replaces this one.] Overview In previous posts I’ve shown how the jvmr CRAN R package can be...
View ArticleScala for Machine Learning [book review]
Nicolas, Patrick R. (2014) Scala for Machine Learning, Packt Publishing: Birmingham, UK. Full disclosure: I received a free electronic version of this book from the publisher for the purposes of...
View ArticleIndex to first 50 posts
This is the 50th post to this blog. For my 25th post I provided a catalogue of my first 25 posts, and as promised then, I now provide a similar index for posts 25 to 50. 25. Catalogue of my first 25...
View ArticleCalling Scala code from R using rscala
Introduction In a previous post I looked at how to call Scala code from R using a CRAN package called jvmr. This package now seems to have been replaced by a new package called rscala. Like the old...
View ArticleCalling R from Scala sbt projects using rscala
Overview In the previous post I showed how the rscala package (which has replaced the jvmr package) can be used to call Scala code from within R. In this post I will show how to call R from Scala code....
View ArticleData frames and tables in Scala
Introduction To statisticians and data scientists used to working in R, the concept of a data frame is one of the most natural and basic starting points for statistical computing and data analysis. It...
View ArticleHOFs, closures, partial application and currying to solve the function...
Introduction Functional programming (FP) is a programming style that emphasises the use of referentially transparent pure functions and immutable data structures. Higher order functions (HOFs) tend to...
View ArticleFirst steps with monads in Scala
Introduction In the previous post I gave a quick introduction to some important concepts in functional programming, such as HOFs, closures, currying and partial application, and hopefully gave some...
View ArticleA scalable particle filter in Scala
Introduction Many modern algorithms in computational Bayesian statistics have at their heart a particle filter or some other sequential Monte Carlo (SMC) procedure. In this blog I’ve discussed particle...
View ArticleWorking with SBML using Scala
Introduction The Systems Biology Markup Language (SBML) is an XML-based format for representation and exchange of biochemical network models. SBML is supported by most systems biology modelling tools,...
View ArticleScala for Data Science [book review]
This post will review the book: Scala for Data Science, Bugnion, Packt, 2016. Disclaimer: This book review has not been solicited by the publisher (or anyone else) in any way. I purchased the review...
View ArticleBooks on Scala for statistical computing and data science
Introduction People regularly ask me about books and other resources for getting started with Scala for statistical computing and data science. This post will focus on books, but it’s worth briefly...
View ArticleA quick introduction to Apache Spark for statisticians
Introduction Apache Spark is a Scala library for analysing "big data". It can be used for analysing huge (internet-scale) datasets distributed across large clusters of machines. The analysis can be...
View ArticleMCMC as a Stream
Introduction This weekend I’ve been preparing some material for my upcoming Scala for statistical computing short course. As part of the course, I thought it would be useful to walk through how to...
View ArticleStatistical computing with Scala free on-line course
I’ve recently delivered a three-day intensive short-course on Scala for statistical computing and data science. The course seemed to go well, and the experience has convinced me that Scala should be...
View Articlescala-glm: Regression modelling in Scala
Introduction As discussed in the previous post, I’ve recently constructed and delivered a short course on statistical computing with Scala. Much of the course is concerned with writing statistical...
View ArticleComonads for scientific and statistical computing in Scala
Introduction In a previous post I’ve given a brief introduction to monads in Scala, aimed at people interested in scientific and statistical computing. Monads are a concept from category theory which...
View Article