generate the X-bar chart - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Statistics : ProcessControl Package : ProcessControl/XBarChart

ProcessControl[XBarChart] - generate the X-bar chart

Calling Sequence

XBarChart(X, n, options, plotoptions)







(optional) sample size



(optional) equation(s) of the form option=value where option is one of color, confidencelevel, controllimits, ignore, mu, sigma, or speclimits; specify options for generating the X-bar chart



(optional) parameters to pass to the plot command



The XBarChart command generates control chart for the average mean level (X-bar chart) for the observations. The chart also contains the upper control limit (UCL), the lower control limit (LCL), and the mean value (represented by the center line) of the underlying quality characteristic. Unless explicitly given, the mean, the standard deviation and the control limits are computed based on the data.


The first parameter X is either a single data sample - given as a Vector or list - or a list of data samples. Each value represents an individual observation. Note, that the individual samples can be of variable size.


If X is a single data sample, the second parameter n is used to specify the size of individual samples.



All computations involving data are performed in floating-point; therefore, all data provided must have type realcons and all returned solutions are floating-point, even if the problem is specified with exact values.


For more information about computation in the ProcessControl package, see the ProcessControl help page.



The options argument can contain one or more of the following options.


color=list -- This option specifies colors of the various components of the X-bar chart. The value of this option must be a list containing the color of the control limits, center line, data to be plotted, and the specification limits.


confidencelevel=realcons -- This option specifies the required confidence level. The default value is 0.9973, corresponding to a 3 sigma confidence level.


controllimits=deduce or [realcons, realcons] -- This option specifies the values for the control limits. The first element is the value of the lower control limit. The second element is the value of the upper control limit. For data with variable sample size, the value of this option must be a list of control limits for each sample. If this option is set to deduce (the default value), the control limits are computed based on the data.


ignore=truefalse -- This option controls how missing values are handled by the XBarChart command. Missing values are represented by undefined or Float(undefined). So, if ignore=false and X contains missing data, the XBarChart command returns undefined. If ignore=true, all missing items in X are ignored. The default value is true.


mu=deduce or realcons -- This option specifies the mean of the underlying quality characteristic.


sigma=deduce, sbar, or rbar -- This option specifies how standard deviation of the underlying quality characteristic should be computed. It can be estimated either using the ranges or using the standard deviations of the individual samples. By default, the ranges are used for samples sizes less than 10. The range option cannot be uses for sample sizes larger than 25.


speclimits=none, [realcons, realcons] -- This option specifies the values for the specification limits. The first element is the value of the lower specification limit. The second element is the value of the upper specification limit. The default value is none.







Sample Size:              constant
Estimated Control Limits: [73.9877711281404, 74.0145808718596]


Sample Size:              variable


Sample Size:              constant




Sample Size:              constant




Estimated Control Limits: [73.9924183113334, 74.0099336886665]


Sample Size:              variable




See Also

infolevel, ProcessControl, ProcessControl[RChart], ProcessControl[SChart], ProcessControl[XBarControlLimits], Statistics



Montgomery, Douglas C. Introduction to Statistical Quality Control. 2nd ed. New York: John Wiley & Sons, 1991.

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam