1.21
有时,数据集所记录的数值观察结果可能与其余的数据有着很大偏差。假设数据是呈正态分布的,可以使用一种称为格拉布斯检验的统计方法来确定其观察值是否是异常值。要执行双尾格拉布斯检验,首先计算离群值和均值之间的绝对差。然后,计算该差异与样本标准差之间的比率。这个数字被称为格拉布斯统计量“G”。当计算的 G…
Grubbs 检验法与 Dixon 的 Q 检验法 一样,是一种用于识别正态分布数据中离群值的统计检验方法。此处,观测值的数量应等于或超过七个。
对于给定的数据集,该检验需要计算格拉布斯统计量 G,即可疑值与均值之差的绝对值与样本标准差的比值。
然后将计算得到的G值与给定置信水平及观测次数对应的临界G值表进行比较。
如果计算得到的G值超过G的临界值,则该可疑观测值被视为数据中的异常值并予以剔除。
或者,如果计算得到的 G 值小于 G 的临界值,则数据保留可疑的观测值。
View the full transcript and gain access to JoVE Core videos
Q1: What is the Grubbs test used for in analytical chemistry?
The Grubbs test is a statistical method for identifying outliers in normally distributed data sets. It determines whether a questionable observation that greatly deviates from the rest of the data is truly an outlier or should be retained. This test requires a minimum of seven observations and compares a calculated statistic against a critical value to make the rejection decision.
Q2: How do you calculate the Grubbs statistic G?
The Grubbs statistic G is calculated as the ratio of the absolute difference between the questionable value and the mean to the standard deviation of the sample. First, subtract the mean from the suspected outlier and take the absolute value. Then divide this difference by the sample's standard deviation. This G value is then compared with the tabulated critical value to determine if rejection is warranted.
Q3: When should you reject an observation using the Grubbs test?
An observation is rejected as an outlier when the calculated G value exceeds the critical value of G for your specified confidence level and number of observations. Conversely, if the calculated G value is smaller than the critical G value, the questionable observation is retained in the data set. The critical value serves as the threshold for making this rejection decision.
Q4: What are the minimum requirements for applying the Grubbs test?
The Grubbs test requires that your data set contains at least seven observations and follows a normal distribution. The test assumes the data is normally distributed before you calculate the Grubbs statistic. Meeting these prerequisites ensures the statistical validity of your outlier detection and rejection analysis.
Q5: How does the Grubbs test differ from Dixon's Q-test?
Both the Grubbs test and Dixon's Q-test are statistical methods for identifying outliers in normally distributed data. While the transcript mentions they serve similar purposes, the Grubbs test specifically calculates a ratio of the absolute difference between the questionable value and mean to the standard deviation, then compares it against tabulated critical values for a given confidence level.
Q6: What role does confidence level play in the Grubbs test?
The confidence level determines which critical value of G you use for comparison with your calculated G statistic. Different confidence levels yield different critical values from statistical tables. Your choice of confidence level affects whether a questionable observation is rejected or retained, making it a crucial parameter in the outlier detection decision.
Q7: Why is the Grubbs test limited to normally distributed data?
The Grubbs test assumes data follows a normal distribution because the statistical theory underlying the test relies on this assumption. The calculation of the Grubbs statistic and the critical values in reference tables are derived based on normal distribution properties. Applying the test to non-normally distributed data would compromise the validity of your outlier detection results.