spark MLlib 概念 3: 卡方分布(chi-squared distribution)

本文介绍了卡方分布的基本概念及其数学定义。当多个独立的标准正态分布随机变量的平方和形成新的随机变量时,该变量服从特定的卡方分布。文中还提到了卡方分布的一个参数——自由度k,它决定了分布的形态。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

数学定义[编辑]

k个随机变量Z_1、……、Z_k是相互独立,符合标准正态分布随机变量数学期望为0、方差为1),则随机变量Z的平方和

X=\sum_{i=1}^k Z_i^2

被称为服从自由度为 k 的卡方分布,记作

X\ \sim\ \chi^2(k) \,
\ X\ \sim\ \chi^2_k

Definition[edit]

If Z1, ..., Zk are independentstandard normal random variables, then the sum of their squares,

Q\ = \sum_{i=1}^k Z_i^2 ,

is distributed according to the chi-squared distribution with k degrees of freedom. This is usually denoted as

Q\ \sim\ \chi^2(k)\ \ \text{or}\ \ Q\ \sim\ \chi^2_k .

The chi-squared distribution has one parameter: k — a positive integer that specifies the number of degrees of freedom (i.e. the number of Zi’s)


 (应用原理没搞懂)
 




posted on 2015-02-01 17:00 过雁 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/zwCHAN/p/4265752.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值