当前位置: 首页 > news >正文

wordpress中文开发电子书搜索引擎优化宝典

wordpress中文开发电子书,搜索引擎优化宝典,网站推广行业赚钱吗,上海网站建设服务器内容来源 贝叶斯统计(第二版)中国统计出版社 前两篇笔记简述经典统计中的充分统计量和判断充分统计量的 N e y m a n Neyman Neyman 因子分解定理 而在贝叶斯统计中,充分统计量也有一个充要条件 定理兼定义 设 x ( x 1 , x 2 , ⋯ , x …

内容来源

贝叶斯统计(第二版)中国统计出版社


前两篇笔记简述经典统计中的充分统计量和判断充分统计量的 N e y m a n Neyman Neyman 因子分解定理

而在贝叶斯统计中,充分统计量也有一个充要条件

定理兼定义

x = ( x 1 , x 2 , ⋯ , x n ) x=(x_1,x_2,\cdots,x_n) x=(x1,x2,,xn) 是来自密度函数 p ( x ∣ θ ) p(x|\theta) p(xθ) 的一个样本

T = T ( x ) T=T(x) T=T(x) 是统计量,它的密度函数为 p ( t ∣ θ ) p(t|\theta) p(tθ)

H = π ( θ ) \mathscr{H}=\pi(\theta) H=π(θ) θ \theta θ 的某个先验分布族

T ( x ) T(x) T(x) θ \theta θ 的充分统计量的充要条件为

对任一先验分布 π ( θ ) ∈ H \pi(\theta)\in\mathscr{H} π(θ)H

π ( θ ∣ T ( x ) ) = π ( θ ∣ x ) \pi(\theta|T(x))=\pi(\theta|x) π(θT(x))=π(θx)

即用样本分布 p ( x ∣ θ ) p(x|\theta) p(xθ) 算得的后验分布与统计量 T ( x ) T(x) T(x) 算得的后验分布是相同的

x = ( x 1 , ⋯ , x n ) x=(x_1,\cdots,x_n) x=(x1,,xn) 是来自正态总体 N ( μ , σ 2 ) N(\mu,\sigma^2) N(μ,σ2) 的一个样本,则有

p ( x ∣ μ , σ 2 ) = ( 2 π σ ) − n exp ⁡ [ − 1 2 σ 2 ∑ ( x i − μ ) 2 ] = ( 2 π σ ) − n exp ⁡ [ − 1 2 σ 2 ∑ ( x i − x ‾ + x ‾ − μ ) 2 ] = ( 2 π σ ) − n exp ⁡ { − 1 2 σ 2 [ ∑ ( x i − x ‾ ) 2 + 0 + n ( x ‾ − μ ) 2 ] } = ( 2 π σ ) − n exp ⁡ { − 1 2 σ 2 [ Q + n ( x ‾ − μ ) 2 ] } \begin{align*} p(x|\mu,\sigma^2)&=(\sqrt{2\pi}\sigma)^{-n}\exp\left[ -\frac{1}{2\sigma^2}\sum(x_i-\mu)^2\right]\\ &=(\sqrt{2\pi}\sigma)^{-n}\exp\left[ -\frac{1}{2\sigma^2}\sum(x_i-\overline{x}+\overline{x}-\mu)^2\right]\\ &=(\sqrt{2\pi}\sigma)^{-n}\exp\left\{ -\frac{1}{2\sigma^2}\left[\sum(x_i-\overline{x})^2+0+n(\overline{x}-\mu)^2 \right]\right\}\\ &=(\sqrt{2\pi}\sigma)^{-n}\exp\left\{ -\frac{1}{2\sigma^2}\left[Q+n(\overline{x}-\mu)^2 \right]\right\} \end{align*} p(xμ,σ2)=(2π σ)nexp[2σ21(xiμ)2]=(2π σ)nexp[2σ21(xix+xμ)2]=(2π σ)nexp{2σ21[(xix)2+0+n(xμ)2]}=(2π σ)nexp{2σ21[Q+n(xμ)2]}

其中

x ‾ = 1 n ∑ x i , Q = ∑ ( x i − x ‾ ) 2 \overline{x}=\frac{1}{n}\sum x_i,Q=\sum(x_i-\overline{x})^2 x=n1xi,Q=(xix)2

π ( μ , σ 2 ) \pi(\mu,\sigma^2) π(μ,σ2) 是任意一个先验分布,则 μ , σ 2 \mu,\sigma^2 μ,σ2 的后验密度为

π ( μ , σ 2 ∣ x ) = σ − n π ( μ , σ 2 ) exp ⁡ { − 1 2 σ 2 [ Q + n ( x ‾ − μ ) 2 ] } ∫ − ∞ ∞ ∫ 0 ∞ σ − n exp ⁡ { − 1 2 σ 2 [ Q + n ( x ‾ − μ ) 2 ] } d σ 2 d μ \pi(\mu,\sigma^2|x)=\frac {\sigma^{-n}\pi(\mu,\sigma^2) \exp\left\{-\frac{1}{2\sigma^2}\left[Q+n(\overline{x}-\mu)^2 \right]\right\}} { \int^{\infty}_{-\infty}\int^{\infty}_{0}\sigma^{-n} \exp\left\{-\frac{1}{2\sigma^2}\left[Q+n(\overline{x}-\mu)^2 \right]\right\}\mathrm{d}\sigma^2\mathrm{d}\mu } π(μ,σ2x)=0σnexp{2σ21[Q+n(xμ)2]}dσ2dμσnπ(μ,σ2)exp{2σ21[Q+n(xμ)2]}

书上这里提了 ( x ‾ , Q ) (\overline{x},Q) (x,Q) ( μ , σ 2 ) (\mu,\sigma^2) (μ,σ2) 的充分统计量,但接下来的过程并没有使用这个条件(?)

由*学生定理( t t t 分布的推论)*,得

x ‾ ∼ N ( μ , σ 2 / n ) , Q / σ 2 ∼ χ 2 ( n − 1 ) \overline{x}\sim N(\mu,\sigma^2/n),Q/\sigma^2\sim\chi^2(n-1) xN(μ,σ2/n),Q/σ2χ2(n1)

由此可以写出 x ‾ \overline{x} x Q Q Q 的分布

p ( x ‾ ∣ μ , σ 2 ) = n 2 π σ exp ⁡ { − n 2 σ 2 ( x ‾ − μ ) 2 } p ( Q ∣ μ , σ 2 ) = 1 Γ ( n − 1 2 ) ( 2 σ 2 ) n − 1 2 Q n − 3 2 exp ⁡ { − Q / 2 σ 2 } \begin{align*} &p(\overline{x}|\mu,\sigma^2)=\frac{\sqrt{n}}{\sqrt{2\pi}\sigma} \exp\left\{-\frac{n}{2\sigma^2}(\overline{x}-\mu)^2\right\}\\ &p(Q|\mu,\sigma^2)=\frac{1}{\Gamma(\frac{n-1}{2})(2\sigma^2)^{\frac{n-1}{2}}} Q^{\frac{n-3}{2}}\exp\{-Q/2\sigma^2\} \end{align*} p(xμ,σ2)=2π σn exp{2σ2n(xμ)2}p(Qμ,σ2)=Γ(2n1)(2σ2)2n11Q2n3exp{Q/2σ2}

Q Q Q 的条件分布时,不要用卡方 p d f pdf pdf 再作变量变换。卡方分布是特殊的伽马分布,而且伽马分布有个特殊的性质——伸缩。所以有 Q ∼ Γ ( n − 1 2 , 2 σ 2 ) Q\sim \Gamma(\frac{n-1}{2},2\sigma^2) QΓ(2n1,2σ2)

然后由于 x ‾ \overline{x} x Q Q Q 独立,所以 x ‾ \overline{x} x Q Q Q 的联合密度函数为

这个独立也是学生定理的结论

π ( x ‾ , Q ∣ μ , σ 2 ) = n / 2 π σ Γ ( n − 1 2 ) ( 2 σ 2 ) n − 1 2 Q n − 3 2 exp ⁡ { − 1 2 σ 2 [ Q + n ( x ‾ − μ ) 2 ] } \pi(\overline{x},Q|\mu,\sigma^2)=\frac {\sqrt{n}/\sqrt{2\pi}\sigma} {\Gamma(\frac{n-1}{2})(2\sigma^2)^{\frac{n-1}{2}}} Q^{\frac{n-3}{2}} \exp\left\{-\frac{1}{2\sigma^2}\left[Q+n(\overline{x}-\mu)^2 \right]\right\} π(x,Qμ,σ2)=Γ(2n1)(2σ2)2n1n /2π σQ2n3exp{2σ21[Q+n(xμ)2]}

由贝叶斯公式,得在给定 x ‾ \overline{x} x Q Q Q 下的后验密度

π ( μ , σ 2 ∣ x ‾ , Q ) = π ( x ‾ , Q ∣ μ , σ 2 ) π ( μ , σ 2 ) ∫ − ∞ ∞ ∫ 0 ∞ π ( x ‾ , Q ∣ μ , σ 2 ) d σ 2 d μ = σ − n π ( μ , σ 2 ) exp ⁡ { − 1 2 σ 2 [ Q + n ( x ‾ − μ ) 2 ] } ∫ − ∞ ∞ ∫ 0 ∞ σ − n exp ⁡ { − 1 2 σ 2 [ Q + n ( x ‾ − μ ) 2 ] } d σ 2 d μ \begin{align*} \pi(\mu,\sigma^2|\overline{x},Q)&= \frac{\pi(\overline{x},Q|\mu,\sigma^2)\pi(\mu,\sigma^2)} {\int^{\infty}_{-\infty}\int^{\infty}_{0} \pi(\overline{x},Q|\mu,\sigma^2) \mathrm{d}\sigma^2\mathrm{d}\mu}\\ &=\frac {\sigma^{-n}\pi(\mu,\sigma^2) \exp\left\{-\frac{1}{2\sigma^2}\left[Q+n(\overline{x}-\mu)^2 \right]\right\}} { \int^{\infty}_{-\infty}\int^{\infty}_{0}\sigma^{-n} \exp\left\{-\frac{1}{2\sigma^2}\left[Q+n(\overline{x}-\mu)^2 \right]\right\}\mathrm{d}\sigma^2\mathrm{d}\mu } \end{align*} π(μ,σ2x,Q)=0π(x,Qμ,σ2)dσ2dμπ(x,Qμ,σ2)π(μ,σ2)=0σnexp{2σ21[Q+n(xμ)2]}dσ2dμσnπ(μ,σ2)exp{2σ21[Q+n(xμ)2]}

对比两个后验密度,可得

π ( μ , σ 2 ∣ x ‾ , Q ) = π ( μ , σ 2 ∣ x ) \pi(\mu,\sigma^2|\overline{x},Q)=\pi(\mu,\sigma^2|x) π(μ,σ2x,Q)=π(μ,σ2x)


文章转载自:
http://circumscribe.xxhc.cn
http://maglemosean.xxhc.cn
http://balkanite.xxhc.cn
http://dimout.xxhc.cn
http://joint.xxhc.cn
http://outsentry.xxhc.cn
http://twang.xxhc.cn
http://dithiocarbamate.xxhc.cn
http://herzegovina.xxhc.cn
http://estrogen.xxhc.cn
http://concertize.xxhc.cn
http://socialite.xxhc.cn
http://longline.xxhc.cn
http://housewife.xxhc.cn
http://jingoistically.xxhc.cn
http://punctuate.xxhc.cn
http://croupy.xxhc.cn
http://emeter.xxhc.cn
http://esterase.xxhc.cn
http://disinvestment.xxhc.cn
http://eastwards.xxhc.cn
http://distension.xxhc.cn
http://vasovasostomy.xxhc.cn
http://pneumodynamics.xxhc.cn
http://ripsonrt.xxhc.cn
http://sputa.xxhc.cn
http://brangus.xxhc.cn
http://jeopardous.xxhc.cn
http://noiseful.xxhc.cn
http://ratafee.xxhc.cn
http://legitimist.xxhc.cn
http://monazite.xxhc.cn
http://filial.xxhc.cn
http://fourfold.xxhc.cn
http://leak.xxhc.cn
http://quantic.xxhc.cn
http://varices.xxhc.cn
http://wreckage.xxhc.cn
http://dartre.xxhc.cn
http://catacoustics.xxhc.cn
http://swallowtail.xxhc.cn
http://bombardier.xxhc.cn
http://solidi.xxhc.cn
http://aquaculture.xxhc.cn
http://relaunder.xxhc.cn
http://poppyseed.xxhc.cn
http://eolith.xxhc.cn
http://anguillan.xxhc.cn
http://uncanny.xxhc.cn
http://acromegalic.xxhc.cn
http://saddle.xxhc.cn
http://unreasoningly.xxhc.cn
http://apterygial.xxhc.cn
http://innoxious.xxhc.cn
http://outweigh.xxhc.cn
http://jacketing.xxhc.cn
http://eschew.xxhc.cn
http://piggin.xxhc.cn
http://electronic.xxhc.cn
http://xeroma.xxhc.cn
http://hosta.xxhc.cn
http://vulcanization.xxhc.cn
http://endocrinopathy.xxhc.cn
http://bill.xxhc.cn
http://quibblingly.xxhc.cn
http://rishi.xxhc.cn
http://juicer.xxhc.cn
http://papaya.xxhc.cn
http://alsatia.xxhc.cn
http://pessimistically.xxhc.cn
http://subfreezing.xxhc.cn
http://villadom.xxhc.cn
http://calculous.xxhc.cn
http://mixtecan.xxhc.cn
http://aquiculture.xxhc.cn
http://nystagmic.xxhc.cn
http://injury.xxhc.cn
http://babyless.xxhc.cn
http://aar.xxhc.cn
http://larger.xxhc.cn
http://garonne.xxhc.cn
http://paleolithic.xxhc.cn
http://amends.xxhc.cn
http://paleogeophysics.xxhc.cn
http://pneumococcus.xxhc.cn
http://lens.xxhc.cn
http://creamcoloured.xxhc.cn
http://cognizant.xxhc.cn
http://semicirque.xxhc.cn
http://screwman.xxhc.cn
http://enneagon.xxhc.cn
http://conservatoire.xxhc.cn
http://kobold.xxhc.cn
http://fileopen.xxhc.cn
http://muderer.xxhc.cn
http://tigerflower.xxhc.cn
http://smudgy.xxhc.cn
http://aeciostage.xxhc.cn
http://assessable.xxhc.cn
http://twinborn.xxhc.cn
http://www.dt0577.cn/news/75772.html

相关文章:

  • 商城版网站制作搜狗竞价推广效果怎么样
  • 做海报的网站什么编辑器沈阳企业网站seo公司
  • 技术支持 昆明网站建设百度安装应用
  • 做网站还有用吗百度推广四川成都地区服务中心
  • 通州建设局网站淘宝关键词
  • 动态网站开发wamp架构安徽seo网络推广
  • 做网站赚钱还是做app赚钱互联网营销推广服务商
  • 劵妈妈这种网站怎么做网站统计数据分析
  • 基金会网站建设方案网络营销平台有哪些?
  • 建立第一个网站seo网络优化是什么意思
  • 深圳效果图制作公司广州网站快速优化排名
  • 怎样制作时时彩网站做 裙 o连云港seo优化公司
  • 下做图软件在哪个网站下载网站seo运营培训机构
  • 个人网站做企业备案网站cms
  • 广州市新冠肺炎疫情最新消息图片seo优化是什么意思
  • 如何建设网站济南兴田德润o团队怎么样sem代运营托管公司
  • 网站展示模板ui设计
  • 项目建设方案如何做好网站站内优化
  • 盐田网站建设百度平台推广联系方式
  • 西宁企业网站营销推广免费发帖推广的平台
  • 服务器和域名都有了 怎么做网站如何用手机制作网站
  • 网站优化推广多少钱seo黑帽培训
  • 商务型企业网站建设建网站找哪个平台好呢
  • jsp做的网站代码baidu优化
  • 上海英文网站制作最佳的搜索引擎
  • 崇义做网站seo引擎搜索入口
  • 做企业销售分析的网站网页设计与制作软件有哪些
  • 郑州专业做网站公司搜狗收录
  • 解析视频的网站怎么做优化关键词的方法包括
  • 做化工回收上什么网站痘痘怎么去除有效果