Given an array A[] consisting of positive integers, the task is to calculate the minimum possible deviation of the given arrayA[] after performing the following… Read More

# Tag Archives: statistical-algorithms

Kruskal Wallis Test: It is a nonparametric test. It is sometimes referred to as One-Way ANOVA on ranks. It is a nonparametric alternative to One-Way… Read More

What is correlation test? The strength of the association between two variables is known as the correlation test. For instance, if we are interested to… Read More

Binomial distribution is a probability distribution that summarises the likelihood that a variable will take one of two independent values under a given set of… Read More

Z score is an important concept in statistics. Z score is also called standard score. This score helps to understand if a data value is… Read More

Survival analysis deals with the prediction of events at a specified time. It deals with the occurrence of an interested event within a specified time… Read More

In Descriptive statistics, we are describing our data with the help of various representative methods like by using charts, graphs, tables, excel files etc. In… Read More

Arithmetic mean, also called the average or average value, is the quantity obtained by summing two or more numbers or variables and then dividing by… Read More

Given an array of n elements. The task is to print the array in a form such that the median of that array is maximum.… Read More

This is an extension of the median of two sorted arrays of equal size problem. Here we handle arrays of unequal size also. Examples: Input:… Read More

In the world of Statistics, the very first thing to be done before any estimation is to create a Sample set from the entire Population… Read More

Given two sorted arrays, a[] and b[], task is to find the median of these sorted arrays, in O(log(min(n, m)), when n is the number… Read More

Prerequisite – Mean, Variance and Standard Deviation, Variance and Standard Deviation of an arrayGiven a matrix of size n*n. We have to calculate variance and… Read More