跳到主要内容

· 阅读需 3 分钟

一个家族在某天突然迎来了一个外人。这个外人自称是这个家族的。那么,如何验证呢?

假设:外人确实是这个家族的。

备择假设:外人不是这个家族的。

已知这个家族的成员去本家族祠所需的时间呈正态分布,平均所需时间是Z小时。

标准:如果外人去这个家族本家族祠所需的时间 t 与 T 接近,就认同他为族人。

族人说,我们的 Significance Level (显著性水平) 是0.05,也就是 5%。因为是和均值Z作比较,所以从均值向左、向右共95%概率的区间都符合我们的标准。算了一下,这个区间是 [-t_0.025, t_0.025] 。如果 t 在这个区间之外了,就证明你的值太离谱了。我们的正态分布只有5%可能会出现落在这个区间以外的情况。但是你却撞到这个情况了,所以我们觉得你可能不遵守我们的正态分布。

$$ \ t_0.025 $$

所以我们拒绝这个“外人确实是这个家族的”假设。因为只有两个假设,所以我们接受备择假设:外人不是这个家族的。这就是Z检验和T检验的基本原理。

除了通过 [-t_0.025, t_0.025] 区间进行比较,也可以通过正态分布的概率相关函数或直接查表得知落在 [-t_0.025, t_0.025] 之外的概率,用这个概率和 Significance Level (显著性水平) 作比较,也是差不多的。

END

· 阅读需 1 分钟

Docusaurus blogging features are powered by the blog plugin.

Simply add Markdown files (or folders) to the blog directory.

Regular blog authors can be added to authors.yml.

The blog post date can be extracted from filenames, such as:

  • 2019-05-30-welcome.md
  • 2019-05-30-welcome/index.md

A blog post folder can be convenient to co-locate blog post images:

Docusaurus Plushie

The blog supports tags as well!

And if you don't want a blog: just delete this directory, and use blog: false in your Docusaurus config.

· 阅读需 1 分钟

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet