Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
MCHART Statement

Constructing Median Charts

The following notation is used in this section:

\muprocess mean (expected value of the population of measurements)
\sigmaprocess standard deviation (standard deviation of the population of measurements)
\bar{X}_{i}mean of measurements in i th subgroup
nisample size of i th subgroup
Nthe number of subgroups
xijj th measurement in the i th subgroup, j = 1,2,3, ... , ni
xi(j)j th largest measurement in the i th subgroup. Then
x_{i(1)} \leq x_{i(2)} \leq  ...  \leq x_{i(n_{i})}
\overline{\overline{X}}weighted average of subgroup means
Mimedian of the measurements in the i th subgroup:
M_i =
 \{ x_{i((n_i + 1)/2)} & {if n_{i} is odd} \ (x_{i(n_i/2)} + x_{i((n_i/2)+1)})/2 & {if n_{i} is even}
 .
\bar{M}average of the subgroup medians:
\bar{M}=(n_1M_1+ ... +n_NM_N)/(n_1+ ... +n_N)
\tilde{M}median of the subgroup medians. Denote the j th largest median by M(j) so that M_{(1)} \leq M_{(2)}\leq  ...  \leq M_{(N)}. Then
\tilde{M} =
 \{ M_{((N+1)/2)} & {if N is odd} \ (M_{(N/2)} + M_{(N/2)+1})/2 & {if N is even}
 .
eM(n)standard error of the median of n independent, normally distributed variables with unit standard deviation (the value of eM(n) can be calculated with the STDMED function in a DATA step)
Qp(n)100p th percentile (0<p<1) of the distribution of the median of n independent observations from a normal population with unit standard deviation
zp100p th percentile of the standard normal distribution
Dp(n)100p th percentile of the distibution of the range of n independent observations from a normal population with unit standard deviation

Plotted Points

Each point on a median chart indicates the value of a subgroup median (Mi). For example, if the tenth subgroup contains the values 12, 15, 19, 16, and 14, the value plotted for this subgroup is M10 = 15.

Central Line

The value of the central line indicates an estimate for \mu, which is computed as


Control Limits

You can compute the limits


The following table provides the formulas for the limits:

Table 35.22: Limits for Median Charts
Control Limits
LCLM = lower limit = \bar{M} - k\hat{\sigma}e_{M}(n_i)
UCLM = upper limit = \bar{M} + k\hat{\sigma}e_{M}(n_i)

Probability Limits
LCLM = lower limit = \bar{M} - Q_{\alpha/2}(n_i)\hat{\sigma}
UCLM = upper limit = \bar{M} + Q_{1-\alpha/2}(n_i)\hat{\sigma}

Note that the limits vary with ni. In Table 35.22, replace \bar{M} with \overline{\overline{X}}if you specify MEDCENTRAL=AVGMEAN, and replace \bar{M} with \tilde{M}if you specify MEDCENTRAL=MEDMED. Replace \bar{M} with \mu_{0} if you specify \mu_{0} with the MU0= option, and replace \hat{\sigma} with \sigma_{0}if you specify \sigma_{0} with the SIGMA0= option. The formulas assume that the data are normally distributed.

You can specify parameters for the limits as follows:

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.