Solving problems with graphs

I saw this question on Quora: A teacher assigns each of her 18 students a different integer from 1 through 18. The teacher forms pairs of study partners by using the rule that the sum of the pair of numbers is a perfect square. Assuming the 9 pairs of students follow this rule, the student…

Continue Reading

Markov chain

A Markov chain is a mathematical system that undergoes transitions from one state to another on a state space in a stochastic (random) manner. Examples of Markov chains include the board game snakes and ladders, where each state represents the position of a player on the board and a player moves between states (different positions…

Continue Reading

Probability

The fundamental idea of inferential statistics is determining the probability of obtaining the observed data when we assume the null hypothesis is true. For example, if we roll a die 10 times and got 10 sixes, what is the probability of observing this result if we assume the null hypothesis that the die was fair?…

Continue Reading

Combinations and permutations in R

Time to get another concept under my belt, combinations and permutations. While I’m at it, I will examine combinations and permutations in R. As you may recall from school, a combination does not take into account the order, whereas a permutation does. Using the example from my favourite website as of late, mathsisfun.com: A fruit…

Continue Reading

Calculus

Calculus in Latin means pebble or small stone, such that we are working with small pieces. There are two main ideas in calculus, the first being differentiation or finding a derivative (finding a slope, which would equal the rate) and the second being integration, which is the joining (or integration) of the small pieces together…

Continue Reading

Set notation

I’ve just started the Mathematical Biostatistics Boot Camp 1 and to help me remember the set notations introduced in the first lecture, I’ll include them here: The sample space, $$\Omega$$ (upper case omega), is the collection of possible outcomes of an experiment, such as a die roll: $$!\Omega = \{1, 2, 3, 4, 5, 6\}$$…

Continue Reading

Using LaTeX with WordPress

Updated 2017 November 17th WordPress now supports LaTeX. To display LaTeX, just surround the code with “$latex” and “$”, without the quotations. In this post, I show some formulae from this tutorial on SVD. I’ve shown the code for each formula; you can also mouseover the formula to see the code.

Continue Reading