Posts
Poisson distribution
Poisson Distribution The general form of the pdf for the Poisson distribution is
$$ f(x; \lambda) = \mathbb{P}(X = x) = \frac{\lambda^x e^{-\lambda}}{x!} $$
And in this instance we say that the R.V \(X \sim P(\lambda)\).
PGF The Probability Generating function of a Poisson Distribution has the following form
$$ \begin{aligned} \mathcal{G}_{X}(z) &= \sum_{k = 1}^{\infty} z^k\frac{\lambda^k e^{-\lambda}}{k!} \\ &= e^{-\lambda}\sum_{k = 1}^{\infty} \frac{(\lambda z)^{k}}{k!} \\ &= e^{-\lambda}e^{\lambda z} \\ &= e^{\lambda(z - 1)} \end{aligned} $$
read morePosts
Honours Thesis
Honours Thesis This short post contains links to my honours thesis and honours presentation.
The topic of my thesis was to create a computational structure for a semi-parametric vector generalized linear model. This was based on the earlier work of my supervisor, who had built up the theoretical framework for this model over a series of papers with other collaborators.
Papers https://www.tandfonline.com/doi/abs/10.1080/01621459.2013.824892 R Package for Univariate Case Univariate model R package CRAN Link Relevant Links The following links contain some of my work on this topic.
read morePosts
Quadratic Equation
Introduction In this very short blog post I want to go through the derivation of the quadratic equation as a simple teaching exercise. As most of us are aware from high school, when solving for the solutions to the following equation $$ ax^2 + bx + c = 0,\qquad a \neq 0 $$ one can use the quadratic equation, which has the general form. $$ x_{1, 2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$
read morePosts
Beta Distribution
Beta Regression Today at work we had to deal with the problem of regressing on some fractional data, i.e, it lay in the interval \(x \in (0,1)\).
It was suggested that this should be modeled using a logistic regression model, however, I thought that this would be a good opportunity to use a Beta regression model due to the obvious efficiency advantage it would have in the case where the modeled data did indeed originate from a Beta distribution.
read morePosts
Normal Distribution
The Normal Distribution The normal or Gaussian distribution is perhaps the most common distribution occuring in nature. This is due to the relatively special properties it has for larger sample sizes. However, these properties will be the topic of another blog post. Instead, in this post we are simply going to outline the basic mathematical structure of the normal distribution.
Probability Density Function The probability density function of a $$ \mathcal{N}(\mu, \sigma^2) $$ normal distribution is
read morePosts
Bernoulli and Geometric Distribution PGF
In this post we are going to go over the derivation of probability generating function of the Bernoulli distribution.
Probability Generating Function The probability generating function often referred to as the PGF has the following definition
$$ \mathcal{G}_{X} (z) = \mathbb{E}_{X}[z^k] = \sum_{k = 0}^{\infty} P(x = k)z^k $$
Bernoulli As can be recalled from previous posts, the Bernoulli distribution has the PDF
$$ f(x) = {n\choose k} p^x (1- p)^x $$
read more