# Tag Archives: statistical-algorithms

## Z score for Outlier Detection – Python

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 in R

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 »

## Descriptive Statistic

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 »

## 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 »