Six example 3D surface and contour plots using @MATLAB
It's been quite a while since I updated this tutorial series- better late than never? Introduction First, we determine the distribution our data comes from, or the likelihood, and any prior information is described using the prior distribution. Then we use Markov chain Monte Carlo to explore this posterior. Then we determine if we need… Continue reading Bayesian statistics part 4 – R tutorial
The two most popular Markov chain Monte Carlo sampling algorithms are Gibbs sampling and Metropolis Hastings. These algorithms produce Markov chains. Numbers inside a Markov chain are dependent on only the previous number. In the context of sampling, we check the probability of the proposed value based on only the probability of the current value,… Continue reading Introduction to Bayesian Statistics, Part 3
As mentioned in Part 1, in Bayesian statistics you summarize a priori knowledge in the prior, and your data in the likelihood. The prior distribution is often chosen based on analytical convenience, while the likelihood is chosen based on the underlying sampling distribution (read about some appropriate distributions here). Multiplying these together produces the posterior distribution. Probability… Continue reading Introduction to Bayesian statistics, Part 2
Example code can be found on my github.
Here is powerpoint for teaching programming for mathematical biology. Referenced files are available on my github.
Programming elements that are used to perform basic mathematical calculations include: Arrays Matrices Equations or Simple functions Math functions See my previous post about the first two here. This post will deal with the latter two. Equations or Simple functions The simplest problem to be solved via programming would be the solution to a single… Continue reading Basic Mathematical Biology Programming Part II
Programming elements that are used to perform basic mathematical calculations include: Arrays Matrices Equations or Simple functions Math functions This post will deal with the first two. Arrays Sets are common in mathematical biology : response values, independent values, time units, gene or protein names. These sets can be expressed as arrays. The two most… Continue reading Basic Mathematical Biology Programming Part I