Metropolis-Hasting involves designing a Markov process by constructing Transition Probabilities, which has a unique stationary distribution π(x)\pi(x)π(x) if it fulfills two conditions:

  1. Existitence of Stationary Distribution:
    Reason----Detailed Balance:
    π(x)P(x′∣x)=π(x′)P(x∣x′)\pi(x) P(x' | x) = \pi(x')P(x|x')π(x)P(x′∣x)=π(x′)P(x∣x′)
  2. Uniqueness of Stationary Distribution:
    Reason – Ergodicity: every states satisfies
    1 Aperiodic: the system does not return to the same state at fixed intervals----
    2 Be positive recurrent - the expected number of steps for returning to the same state is finite.

The derivation of the algorithm starts with the condition of detailed balance.
P(x′∣x)P(x)=P(x′,x)=P(x∣x′)P(x′)P(x'|x)P(x) = P(x', x)=P(x|x')P(x')P(x′∣x)P(x)=P(x′,x)=P(x∣x′)P(x′)
P(x′∣x)=g(x′∣x)A(x′,x)P(x'|x) = g(x'|x)A(x', x)P(x′∣x)=g(x′∣x)A(x′,x), where A(x’, x) is the acceptance ratio, the probability to accept the proposed state x’.

A(x′,x)A(x,x′)=P(x′)g(x∣x′)P(x)g(x′∣x)\frac{A(x', x)}{A(x, x')} = \frac{P(x')g(x|x')}{P(x)g(x'|x)}A(x,x′)A(x′,x)​=P(x)g(x′∣x)P(x′)g(x∣x′)​
The next step in the derivation is to choose an acceptance ratio that fulfils the condition above. One common choice is the Metropolis choice:
r=A(x′,x)=min(1,P(x′)P(x)g(x∣x′)g(x′∣x))r=A(x', x) = min(1, \frac{P(x')}{P(x)} \frac{g(x|x')}{g(x'|x)})r=A(x′,x)=min(1,P(x)P(x′)​g(x′∣x)g(x∣x′)​)

reference
https://en.wikipedia.org/wiki/Metropolis–Hastings_algorithm

Metropolis Method Condition Derivation相关推荐

  1. Supervised Descent Method and its Applications to Face Alignment

    广播说明: 进入深度学习时代,如下的方法已经失去可比性,且我们的代码实现地很粗糙,如果坚持要用,推荐如下代码 https://github.com/wanglin193/SupervisedDesce ...

  2. scala 构造_Scala咖喱和自动类型依赖的封闭构造

    scala 构造 Scala Currying is the process of transforming a function that takes multiple arguments into ...

  3. 斯蒂芬·沃尔夫勒姆 | 圣塔菲研究所的初创故事

    来源:集智俱乐部  作者:斯蒂芬·沃尔夫勒姆  数学家.物理学家.计算机科学家 导语:圣塔菲研究所被誉为复杂性科学的圣地,被称为"没有围墙的研究所",那么它是如何创建发展起来的呢? ...

  4. SpringBoot API增加version版本号

    SpringBoot 增加 API Version 基于restful风格上,增加version版本号 例如: get /api/v1/users/ 一.增加ApiVersion自定义注解 作用于Co ...

  5. Python标准库threading模块Condition原理浅析

    Python标准库threading模块Condition原理浅析 本文环境python3.5.2 threading模块Condition的实现思路 在Python的多线程实现过程中,在Linux平 ...

  6. bean ref的bean可以做判断吗_Spring Boot @Condition 注解,组合条件你知道吗

    写在前面 当我们构建一个 Spring 应用的时候,有时我们想在满足指定条件的时候才将某个 bean 加载到应用上下文中, 在Spring 4.0 时代,我们可以通过 @Conditional 注解来 ...

  7. SAP Batch Derivation功能初探之二

    SAP Batch Derivation功能初探之二 关于Batch Derivation功能,需要在SAP后台配置里做一些设置,这样才能让这个功能被使用并去满足业务的需求. 1,第一个主要配置就是B ...

  8. SAP Batch Derivation功能初探之一

    SAP Batch Derivation功能初探之一 在很多行业里,存在这样的业务场景:生产部门的生产,主要分2大块.第一块是生产出半成品,第二块是将半成品包装成成品用于销售给客户.在一些行业里,成品 ...

  9. Operation condition And timing analysis

    Operation condition 主要指芯片运行的环境的不同,在这里加上Interconnect net 模型. Operating condition Description Process ...

最新文章

  1. 1.1.1 概念、组成、功能和分类
  2. 湖南省计算机二级程序题库,湖南省计算机二级单选题题库(直接打印)
  3. Leaflet中使用Leaflet.contextmenu插件实现地图上添加鼠标右键菜单
  4. ubuntu添加dvd光盘源
  5. 遥感方法研究张掖市1999-2010年土地利用变化
  6. linux c之perror和exit使用总结
  7. iOS7 - NSURLSession
  8. MATLAB工具箱下载地址总汇
  9. win10计算器_喜欢 Win10 计算器?现在各个平台都能拥有!
  10. Win10使用以前的图片查看器
  11. Android仿人人客户端(v5.7.1)——项目框架新做的调整描述(项目中基类java源码)
  12. java string 深拷贝_探讨java深拷贝
  13. 11_4 PTB数据预处理
  14. MacBook Air(2012)维修笔记
  15. 为什么要做业务全场景的梳理?
  16. 能定位的不仅GPS,还有它!
  17. # CSS 背景设置
  18. 服务器无备份位置可用,云服务器备份区域和可用区
  19. GSMA RCS标准的演变
  20. nRF52832学习记录(十一、TWI总线的应用 SHT21程序移植)

热门文章

  1. 快来试试用 Python 将你的照片转化为“速写”
  2. 深度学习为图片人物换装【python代码教程】 1
  3. 连接到linux桌面,widows 远程连接到linux 桌面!
  4. CVPR2022 | 重新审视池化:你的感受野不是最理想的
  5. 三十岁,真的是人生的分水岭吗
  6. 基于JAVA高校多媒体设备运维管理系统服务端计算机毕业设计源码+数据库+lw文档+系统+部署
  7. 用Python绘制当前日期
  8. Java-Python对垒之质数计算
  9. BK7256,上海博通Wi-Fi6SOC芯片,高度集成-支持100w像素,详细资料
  10. 大数据发展和就业前景好吗大数据人才缺口有多大?