Whys and Hows of Apply Family of Functions in R

Introduction to Looping system Imagine you were to perform a simple task, let’s say calculating sum of columns for 3X3 matrix, what do you think is the best way? Calculating it directly using traditional methods such as calculator or even pen and paper doesn’t sound...
Steps to Perform Survival Analysis in R

Steps to Perform Survival Analysis in R

Another way of analysis? When there are so many tools and techniques of prediction modelling, why do we have another field known as survival analysis? As one of the most popular branch of statistics, Survival analysis is a way of prediction at various points in time....
Discriminant Analysis: Statistics All The Way

Discriminant Analysis: Statistics All The Way

Discriminant analysis is used when the variable to be predicted is categorical in nature. This analysis requires that the way to define data points to the respective categories is known which makes it different from cluster analysis where the classification criteria...
Exploratory Factor Analysis in R

Exploratory Factor Analysis in R

Changing Your Viewpoint for Factors In real life, data tends to follow some patterns but the reasons are not apparent right from the start of the data analysis. Taking a common example of a demographics based survey, many people will answer questions in a particular...
Anomaly Detection in R

Anomaly Detection in R

The World of Anomalies Imagine you are a credit card selling company and you know about a particular customer who makes a purchase of 25$ every week. You guessed this purchase is his fixed weekly rations but one day, this customer makes a different purchase of 700$....