# Tag Archives: statistical-algorithms

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
Given three integers A, B and N the task is to find N Arithmetic means between A and B. We basically need to insert N… Read More
Given an array of size N-1 and the mean of N elements (one element is not given). We need to find the missing value X… Read More
Given a class interval and frequency of the class and the task is to find standard deviation of grouped data. Formula to find standard deviation   Standard… Read More
Standard error of mean (SEM) is used to estimate the sample mean dispersion from the population mean. The standard error along with sample mean is… Read More
The t test (also called Student’s T Test) compares two averages (means) and tells if they are different from each other. The t-test also tells… Read More
Given a class interval and frequency distribution and the task is to find Arithmetic mean. In case of frequency distribution the raw data is arranged… Read More
Given a two set of random variable, find Covariance. Covariance is a measure of how much two random variables vary together. It’s similar to variance,… Read More
Given an array of size n, find mean absolute deviation. Prerequisite : Mean, Variance and Standard DeviationExamples:   Input : arr[] = {10, 15, 15, 17, 18,… Read More
Simple Moving Average is the average obtained from the data for some t period of time . In normal mean, it’s value get changed with… Read More
Given data in an array. Find skewness of the data distribution. Skewness is a measure of the asymmetry of data distribution. Skewness is an asymmetry… Read More