ESL作业笔记2.3:均匀分布情况下最近邻距离的中值

2 篇文章 0 订阅

本文章基本是对https://stats.stackexchange.com/questions/130998/explanation-of-formula-for-median-closest-point-to-origin-of-n-samples-from-unit 的翻译。
解决问题为Element of Statistical Learning (ESL, https://web.stanford.edu/~hastie/ElemStatLearn/)课后习题2.3.


题目简介

Consider N data points uniformly distributed in a p-dimensional unit ball centered at the origin. Suppose we consider a nearest-neighbor estimate at the origin. The median distance from the origin to the closest data point is given by the expression

d(p,N)=(1121/N)1/p

简单翻译一下,p维空间有N个样本点,均匀分布。求离原点最近的点(/最近邻)到原点的距离的中值。

解答

先求最近邻距离为 k 的概率,任意一个样本点距离原点距离大于k的概率为 rp(kr)prp=1kr ,那么全部样本点距离均大于 k 的概率为(1kp)N
对于连续变量,中值的意思是概率为 1/2 的点,所以解 (1kp)N=1/2 即可得到公式:

d(p,N)=(1121/N)1/p

另注:中值与期望不同,这里为了解题方便,使用中值近似整个数据集的性质。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值