## Program for Mean Absolute Deviation

Given an array of size n, find mean absolute deviation. Prerequisite : Mean, Variance and Standard Deviation Examples: Input : arr[] = {10, 15, 15,… Read More »

Given an array of size n, find mean absolute deviation. Prerequisite : Mean, Variance and Standard Deviation Examples: Input : arr[] = {10, 15, 15,… 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 array. Find skewness of the data distribution. Skewness is a measure of the asymmetry of a data distribution. Skewness is asymmetry in… Read More »

Given an array of size n and the task is to find Coefficient of variation . Coefficient of variation is the ratio of standard deviation… Read More »

Given an n sized unsorted array, find median and mode using counting sort technique. Thia can be useful when array elements are in limited range.… Read More »

Prerequisite : Correlation Coefficinet Given two arrays X[] and Y[]. Find Spearman’s Rank Correlation. In Spearman rank correlation instead of working with the data values… Read More »

Given an array of N integers with duplicates allowed. All elements are ranked from 1 to N in ascending order if they are distinct. If… Read More »

Given two investment options A and B, we have tho find the less risky investment of the two. The two investments A and B are… Read More »

You are given an array of n-elements you have to find the mean of the array as mean of all consecutive m-elements of array for… Read More »

Normally mean of matrix is the average of all elements present in matrix. Consider a modified mean as floor of mean of row-wise minimum and… Read More »

Given two different series arr1[n] and arr2[m] of size n and m. The task is to find the mean and variance of combined series. Examples… Read More »

A median in an array with the length of n is an element which occupies position number (n+1)/2 after we sort the elements in the… Read More »

Given two array elements and we have to find the correlation coefficient between two array. Correlation coefficient is an equation that is used to determine… Read More »

There are given an array of natural numbers and another array with corresponding weight of the number. Then we have to calculate the weighted mean.… Read More »

Given an array of elements, find harmonic mean of numbers. Examples: Input : arr[] = {2.0, 1.0} Output : 1.3333 Harmonic mean = 2/(1/2.0 +… Read More »