# QCD2

QCD2-func

## Description

This function returns a factor (Quality Control D2 Factor)

It estimates the standard deviation of a parent distribution (or population) from an average range when the sample size (or subgroup size) **n** is given.

The standard deviation of the parent distribution = average range/factor.

The returned factors assume sampling from a normal population.

## Syntax

double QCD2(int n)

## Parameter

**n**

- Sample size.

## Return

Returns Quality Control D2 Factor.

## Examples

QCD2(4) =; // returns 2.05875, the Quality Control D2 factor for a sample size of 4

## See Also

QCD3, QCD4