| mandelhTest | R Documentation | 
The function calculates the consistency statistics h and corresponding p-values for each group (lab) according to Practice E 691 ASTM.
mandelhTest(x, ...)
## Default S3 method:
mandelhTest(x, g, ...)
## S3 method for class 'formula'
mandelhTest(formula, data, subset, na.action, ...)
| x | a numeric vector of data values, or a list of numeric data vectors. | 
| ... | further arguments to be passed to or from methods. | 
| g | a vector or factor object giving the group for the
corresponding elements of  | 
| formula | a formula of the form  | 
| data | an optional matrix or data frame (or similar: see
 | 
| subset | an optional vector specifying a subset of observations to be used. | 
| na.action | a function which indicates what should happen when
the data contain  | 
A list with class "mandel" containing the following components:
a character string indicating what type of test was performed.
a character string giving the name(s) of the data.
the p-value for the test.
the estimated quantiles of Mandel's statistic.
a character string describing the alternative hypothesis.
a character vector describing the levels of the groups.
the number of replicates for each group.
Practice E 691 (2005) Standard Practice for Conducting an Interlaboratory Study to Determine the Precision of a Test Method, ASTM International.
qmandelh pmandelh
data(Pentosan)
mandelhTest(value ~ lab, data=Pentosan, subset=(material == "A"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.