StatisticFormula.Anova(Double, String) 方法
定义
执行 ANOVA 检验以确定在两组或更多组数据的平均值之间是否存在统计方面的重大差异。Performs an ANOVA test to determine whether there is a statistically significant difference between the mean values of two or more groups of data.
public:
System::Windows::Forms::DataVisualization::Charting::AnovaResult ^ Anova(double probability, System::String ^ inputSeriesNames);
public System.Windows.Forms.DataVisualization.Charting.AnovaResult Anova (double probability, string inputSeriesNames);
member this.Anova : double * string -> System.Windows.Forms.DataVisualization.Charting.AnovaResult
Public Function Anova (probability As Double, inputSeriesNames As String) As AnovaResult
参数
- probability
- Double
alpha 值,其表示假设被否定的概率。The alpha value, which is the probability that the hypothesis is rejected. 允许的范围是 0 到 1。The allowable range is 0-1.
- inputSeriesNames
- String
以逗号分隔的输入序列名列表。A comma-delimited list of input series names.
返回
一个 AnovaResult 对象。An AnovaResult object.
注解
方差测试用于测试两个或更多组数据的平均值之间的差异。An ANOVA test is used to test the difference between the means of two or more groups of data.
必须指定两个或更多系列数据组,并且每个序列必须具有相同数量的数据点;否则,将引发异常。Two or more groups of series data must be specified, and each series must have the same number of data points; otherwise, an exception will be raised.
如果在调用方法时中不存在指定的输入序列 SeriesCollection ,将引发异常。If a specified input series does not exist in the SeriesCollection at the time of the method call, an exception will be thrown.