Mode

Mode is the value which occurs most frequently in a set of observations. For example, {6, 3, 9, 6, 6, 5, 9, 3} the Mode… Read More »

Mean

Mean is average of a given set of data. Let us consider below example 2, 4, 4, 4, 5, 5, 7, 9 the mean (average)… Read More »

Arithmetic Mean

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 »

Maximize the median of an array

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 »

Median of two sorted arrays of different sizes | Set 1 (Linear)

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 »

Sampling Theory

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 »

Median of two sorted arrays with different sizes in O(log(min(n, m)))

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 »

Variance and standard-deviation of a matrix

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

Find N Arithmetic Means between A and B

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 »

Find the missing integer in an array if mean is given

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 »

Program to implement standard deviation of grouped data

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… Read More »

Program to implement standard error of mean

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 »

Program to implement t-test

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 »

Program for class interval arithmetic mean

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 »

Program to find covariance

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 »