Skip to content

Tag Archives: statistical-algorithms

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 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 CoefficientGiven two arrays X[] and Y[]. Find Spearman’s Rank Correlation. In Spearman rank correlation instead of working with the data values themselves… 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