Modelling on Batı Şengül
http://www.batisengul.co.uk/tags/modelling/
Recent content in Modelling on Batı ŞengülHugo -- gohugo.iobatisengul@gmail.combatisengul@gmail.comMon, 02 Apr 2018 00:00:00 +0000Bayesian analysis of Premier League football
http://www.batisengul.co.uk/post/bayesian-analysis-of-premier-league-football/
Mon, 02 Apr 2018 00:00:00 +0000batisengul@gmail.comhttp://www.batisengul.co.uk/post/bayesian-analysis-of-premier-league-football/In this post we are going to look at some football statistics. In particular, we will examine English football, the Premier League, using Bayesian statistics with Stan. If you have no idea what Bayesian statistics is, you can read my introductory post on it. Otherwise this post shouldn’t be a difficult read.
All right, let’s get to it. First, we need some data. I will use all the matches from the Premier League seasons 16/17 and 17/18 (which is still ongoing at the time of the writing).Causal impact and Bayesian structural time series
http://www.batisengul.co.uk/post/causal-impact-and-bayesian-structural-time-series/
Sat, 03 Feb 2018 00:00:00 +0000batisengul@gmail.comhttp://www.batisengul.co.uk/post/causal-impact-and-bayesian-structural-time-series/Causal impact is a tool for estimating the impact of a one time action. As an example (which we will actually look at the data) consider the BP oil spill in 2010. Let’s say you want to evaluate the impact that this had on BP stocks. Typically with questions like this, we would like to be able to collect multiple samples from a control group and a test group. As this is not possible we would have to try something else.Bayes of our lives: a gentle introduction to Bayesian statistics
http://www.batisengul.co.uk/post/bayes-of-our-lives-a-gentle-introduction-to-bayesian-statistics/
Tue, 07 Nov 2017 00:00:00 +0000batisengul@gmail.comhttp://www.batisengul.co.uk/post/bayes-of-our-lives-a-gentle-introduction-to-bayesian-statistics/Bayesian statistics is an interpretation of statistics. It is used to help explain the frequentist methods and can give much more information. Even if you have never really learnt about Bayesian statistics, I guarantee you have encountered it in some way.
Bayes, it’s everywhere
In this post, we will only consider a linear model: \(y = \beta x + \epsilon\) where \(\epsilon\) is a standard normal. Suppose we have gathered some data \((Y=\{y_i\}_{i=1}^n, X=\{\{x_{k,i}\}_{k=1}^p\}_{i=1}^n)\), which consist of \(p\) predictors and \(n\) observations, and we wish to fit a linear model.Analysis of calving of JH Dorrington Farm Part II
http://www.batisengul.co.uk/post/analysis-of-calving-of-jh-dorrington-farm-part-ii/
Fri, 22 Sep 2017 00:00:00 +0000batisengul@gmail.comhttp://www.batisengul.co.uk/post/analysis-of-calving-of-jh-dorrington-farm-part-ii/This is the second part of the analysis for the data from JH Dorrington Farm. You might want to read the first part before reading this one.
Before we put on our science hats, let us make an outline for what we will do. Previously we split the data into training and test sets 80/20. We will fit all of our models and calibrate them on the training set. Decisions about keeping/dropping predictors, transforming predictors and which model to chose will be left to the test set.Analysis of calving of JH Dorrington Farm Part I
http://www.batisengul.co.uk/post/analysis-of-calving-of-jh-dorrington-farm-part-i/
Tue, 19 Sep 2017 00:00:00 +0000batisengul@gmail.comhttp://www.batisengul.co.uk/post/analysis-of-calving-of-jh-dorrington-farm-part-i/Here I will analyse a real life problem. My friend Chris at JH Dorrington Farm has kindly provided me with the data and allowed me to make this post. This will be several parts as I explore the data and try to fit various models.
I’m going to stop milking this introduction and get right to it.
My friend Chris has been collecting various forms of data about his cows.