BrownForsytheTest[data]
检验 data 的方差是否为1.
BrownForsytheTest[{data1,data2,…}]
检验 data1 和 data2 的方差是否相等.
BrownForsytheTest[dspec,
]
检验一个离散量数和
的关系.
BrownForsytheTest[dspec,
,"property"]
返回 "property" 的值.
BrownForsytheTest
BrownForsytheTest[data]
检验 data 的方差是否为1.
BrownForsytheTest[{data1,data2,…}]
检验 data1 和 data2 的方差是否相等.
BrownForsytheTest[dspec,
]
检验一个离散量数和
的关系.
BrownForsytheTest[dspec,
,"property"]
返回 "property" 的值.
更多信息和选项
- BrownForsytheTest 检验零假设
与备择假设
: -


data 

{data1,data2} 

{data1,data2,…} 
不全相等 - 其中 σi2 为 datai 的总体方差.
- 默认情况下,返回一个概率值或者
值. - 一个较小的
值表明
不可能为真. - 在 dspec 中,data 必须是单变量 {x1,x2,…}.
- 参数
可以是任意正实数.
在未指定的情况下为1,在 dspec 中组数大于 2 的情况下则被忽略. - BrownForsytheTest 假设数据服从正态分布.
- BrownForsytheTest 比起 LeveneTest 对正态性假设较不敏感.
- BrownForsytheTest[data,
,"HypothesisTestData"] 返回一个 HypothesisTestData 对象 htd , 可以使用 htd["property"] 的形式提取额外检验结果和属性. - BrownForsytheTest[data,
,"property"] 可用于直接给出 "property" 的值. - 与检验结果报告相关的属性包括:
-
"DegreesOfFreedom" 检验中所用的自由度 "PValue"
值列表"PValueTable"
值组成的格式化表格"ShortTestConclusion" 检验结论的简短描述 "TestConclusion" 检验结论的描述 "TestData" 检验统计量和
值对组成的列表"TestDataTable"
值和检验统计量组成的格式化表格"TestStatistic" 检验统计量组成的列表 "TestStatisticTable" 检验统计量的格式化的表格 - 当样本数
给定,BrownForsytheTest 等价于 FisherRatioTest. - 对于
-样本的情况,BrownForsytheTest 是 LeveneTest 的修正,用函数
替代 Abs[dataij-Mean[dataij]] 中的 Mean. 函数 fn 通常为选定为 Median,但如果数据为重尾型,则使用TrimmedMean[#,1/10]&. - 可以使用下列选项:
-
AlternativeHypothesis "Unequal" 备择假设的不等性 SignificanceLevel 0.05 用于诊断和报告的分界点 VerifyTestAssumptions Automatic 设置要运行哪个诊断检验 - 对于 BrownForsytheTest,选择一个临界值
,使得只有当
时,拒绝
. 用于 "TestConclusion" 和 "ShortTestConclusion" 属性的
值由 SignificanceLevel 选项控制. 值
也用于包含正态性和对称性的假设诊断检验. 默认情况下,
设为 0.05. - 在 BrownForsytheTest 中 VerifyTestAssumptions 的已命名设置包括:
-
"Normality" 验证所有数据是否服从正态分布
范例
打开所有单元 关闭所有单元基本范例 (2)
范围 (10)
检验 (8)
创建一个 HypothesisTestData 对象,以进行重复属性提取:
从一个 HypothesisTestData 提取某些属性:
选项 (8)
AlternativeHypothesis (3)
SignificanceLevel (2)
应用 (1)
使用 Brown–Forsythe 检验判断对于等均值
-检验是否需要近似的自由度:
如果两个样本具有相等的方差,则可以使用下列自由度;否则,需要一个 Satterthwaite 近似:
TTest 自动使用 Satterthwaite 近似:
属性和关系 (8)
当给定单个数据集时,Brown-Forsythe 检验等价于 FisherRatioTest:
给定长度为
的单个数据集,在
下,检验统计量服从 ChiSquareDistribution[n-1]:
给定长度为
和
的两个数据集,在
下,检验统计量服从 FRatioDistribution[1,n+m-2]:
给定两个数据集,Brown–Forsythe 检验比起 FisherRatioTest 对正态性假设较为不敏感:
Fisher-Ratio 检验倾向于低估
值,因而产生更多的第一类错误:
通常,Median 作为标准化函数使用:
对重尾数据,使用 10% TrimmedMean:
LeveneTest 是等价的,但是总是使用 Mean 来标准化:
Brown–Forsythe 检验仅当输入为 TimeSeries 时适用于值:
当输入为 TemporalData 时,Brown–Forsythe 检验适用于所有值在一起:
可能存在的问题 (3)
Brown–Forsythe 检验假定数据从 NormalDistribution 中抽取:
对非正态数据,使用 ConoverTest 或者 SiegelTukeyTest:
在组数大于 2 时,Brown–Forsythe 检验忽略参数
:
当有两组以上数据时,Brown–Forsythe 检验仅允许对备择假设的双边检验:
相关指南
-
▪
- 假设检验
文本
Wolfram Research (2010),BrownForsytheTest,Wolfram 语言函数,https://reference.wolfram.com/language/ref/BrownForsytheTest.html (更新于 2017 年).
CMS
Wolfram 语言. 2010. "BrownForsytheTest." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2017. https://reference.wolfram.com/language/ref/BrownForsytheTest.html.
APA
Wolfram 语言. (2010). BrownForsytheTest. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/BrownForsytheTest.html 年
BibTeX
@misc{reference.wolfram_2025_brownforsythetest, author="Wolfram Research", title="{BrownForsytheTest}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/BrownForsytheTest.html}", note=[Accessed: 04-December-2025]}
BibLaTeX
@online{reference.wolfram_2025_brownforsythetest, organization={Wolfram Research}, title={BrownForsytheTest}, year={2017}, url={https://reference.wolfram.com/language/ref/BrownForsytheTest.html}, note=[Accessed: 04-December-2025]}