Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
MRCHART Statement

Constructing Charts for Medians and Ranges

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
Rirange 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)}.
\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
d2(n)expected value of the range of n independent normally distributed variables with unit standard deviation
d3(n)standard error of the range 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. Each point on a range chart indicates the value of a subgroup range (Ri). For example, the value plotted for the tenth subgroup is R10=19-12=7.

Central Lines

On a median chart, the value of the central line indicates an estimate for \mu, which is computed as


On the range chart, by default, the central line for the i th subgroup indicates an estimate for the expected value of Ri, which is computed as d_{2}(n_{i})\hat{\sigma},where \hat{\sigma} is an estimate of \sigma. If you specify a known value (\sigma_{0}) for \sigma, the central line indicates the value of d_{2}(n_{i})\sigma_{0}.The central line on the range chart varies with ni.

Control Limits

You can compute the limits


The following table provides the formulas for the limits:

Table 36.22: Limits for Median and Range Charts
Control Limits
  
Median ChartLCL = lower limit = \bar{M} - k\hat{\sigma}e_{M}(n_i)
 UCL = upper limit = \bar{M} + k\hat{\sigma}e_{M}(n_i)
Range ChartLCL = lower control limit = {max}(d_{2}(n_{i})\hat{\sigma}
 - kd_{3}(n_{i})\hat{\sigma},0)
 UCL = upper control limit = d_{2}(n_{i})\hat{\sigma}
 + kd_{3}(n_{i})\hat{\sigma}
Probability Limits
  
Median ChartLCL = lower limit = \bar{M} - Q_{\alpha/2}(n_i)\hat{\sigma}
 UCL = upper limit = \bar{M} + Q_{1-\alpha/2}(n_i)\hat{\sigma}
Range ChartLCL = lower limit = D_{\alpha/2}\hat{\sigma}
 UCL = upper limit = D_{1-\alpha/2}\hat{\sigma}

In Table 36.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. Note that the limits for both charts vary with ni and that the probability limits for Ri are asymmetric around the central line.

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.