Principal component analysis is a commonly used technique in multi-variate statistics and pattern recognition literature. In this post I try to merge ideas of Geometric and Algebraic interpretation of data as vectors in a vector space and its relationship with PCA. The 3 major sources used in this blog are:  Thomas D. Wickens (1995). The … Continue reading Pattern Recognition using PCA: Variables and their Geometric Relationships
Plausible reasoning requires constructing rational arguments by use of syllogisms, and their analysis by deductive and inductive logic. Using this method of reasoning and expressing our beliefs, in a scientific hypothesis, in a numerical manner using probability theory is one of my interest. I try to condense the material from the first 4 chapters of … Continue reading Plausible Reasoning for Scientific Problems: Belief Driven by Priors and Data.
I wrote a post a while back about Mixture Distributions and Model Comparisons. This post continues on that theme and tries to model multiple data generating processes into a single model. The code for this post is available at the github repository. There were many useful resources that helped me understand this model, and some … Continue reading Regression & Finite Mixture Models
Regression is a popular approach to modelling where a response variable is modelled as a function of certain predictors - to understand the relations between variables. I used a linear model in a previous post, using the bread and peace model - and various ways to solve the equation. In this post, I want to fit … Continue reading Hierarchical Linear Regression – 2 Level Random Effects Model
This is another post in the series of model checking posts. Previously we looked at which aspects of the data and model are compatible, using posterior predictive checks. Once we have selected a model or a set of models for the data, we would like to score and compare them. One aspect of comparison using … Continue reading Model Checking: Scoring and Comparing Models
Once a model is fit and parameters estimated, we would look at how well the model explains the data and what aspects of the data generation process in nature are not captured by the model. Most of the material covered in this post follows the examples from:  Gelman, A., Carlin, J. B., Stern, H. S., … Continue reading Model Checking: Posterior Predictive Checks
In statistical or mathematical models our aim is to look at the data and estimate the parameters and uncertainty of those estimations. Generally speaking, looking at a data set, we wish to choose a likelihood/noise/sampling distribution, that fits the data. A distribution requires some parameters, Θ, e.g. a normal distribution (which is a very common error/noise … Continue reading Parameter Estimation