Surrogate models

At StanCon 2018 Helsinki, a couple of us gathered together for this thing Breck organised – birds of a feather, to discuss topics of interest with each other. I think there were about 8 of us interested in surrogate models and these are some of the notes from that meeting. So what is a surrogate…

Selection function in STAN

I’m currently working on a problem where I need to sample from a very specific custom pdf. It has taken me a lot of time to get this pdf written down but now that I finally have it, I’m just missing one key ingredient… the selection function! This is when you have some underlying data…

Problems with binning data

I learned early on in my PhD that binning is not a good idea. The loss of information from binning will lead to biased results. Here I demonstrate this with a simple linear regression toy model. #generate toy data x = runif(nc, 13,15) y = 22+1.5*x+rnorm(nc, 0,0.5) #bin in y variable nbin = 10 ybins…

#DarkMatterDay

31.10.2017 The first ever dark matter day… Why the particle physicists decided to it should coincide with halloween I have no clue. Clearly the trending tags will be dominated by the later occasion right? Anyway I made a video about dark matter. I hope you enjoy it!