登录
首页 » matlab » metropolis_hastings

metropolis_hastings

于 2017-07-08 发布 文件大小:11KB
0 207
下载积分: 1 下载次数: 16

代码说明:

  本文件包含Metropolis算法对函数进行抽样;显示生成样本的相关图和直方图. 其中文件:metropolis_hastings.m该文件包含4个示例,用于通过Metropolis-Hastings算法对复杂函数进行抽样,显示生成样本的相关图和直方图。metropolis_hastings2.m 包含一个例子,用于通过Metropolis-Hastings算法对双变量高斯PDF进行采样,显示生成样本的相关图和直方图,以及其轮廓和边缘PDF的函数等。(This program develops a very basic example, for the sampling of functions by means of Metropolis algorithm; showing the correlograms and the histogram of the generated samples. metropolis_hastings.m. This file contains four examples, for the sampling of complex functions by means of Metropolis-Hastings algorithm, showing the correlograms and the histograms of the generated samples. In this case the proposals PDF its no longer symmetric. Additionally, the burn-in period, the lag period and the Geweke test have been implemented.It needs the "MH_routine.m" function. metropolis_hastings2.m. This file contains one example, for the sampling of a bivariate Gaussian PDF by means of Metropolis-Hastings algorithm, showing the correlograms and the histograms of the generated samples, and the function with its contours and marginals PDF. Additionally, the burn-in period, the lag period and the Geweke test have been implemented.)

文件列表:

metropolis_hastings
metropolis_hastings\metropolis.m
__MACOSX
__MACOSX\metropolis_hastings
__MACOSX\metropolis_hastings\._metropolis.m
metropolis_hastings\metropolis_hastings.m
__MACOSX\metropolis_hastings\._metropolis_hastings.m
metropolis_hastings\metropolis_hastings2.m
__MACOSX\metropolis_hastings\._metropolis_hastings2.m
metropolis_hastings\MH_routine.m
__MACOSX\metropolis_hastings\._MH_routine.m
metropolis_hastings\readme.txt
__MACOSX\metropolis_hastings\._readme.txt
__MACOSX\._metropolis_hastings

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • HDB3
    HDB3码的MATLAB程序,经典,记得保留(HDB3 code MATLAB programs, classic, remember to retain)
    2009-12-03 19:22:54下载
    积分:1
  • matlabjichu
    matlab基础 写matlab的基础知识(the basics of Matlab basis to write matlab)
    2012-07-13 22:54:23下载
    积分:1
  • LCD
    Solar Charge Controller
    2013-08-01 05:50:24下载
    积分:1
  • read_V1
    matlab code for readind accelerogram files,useful for seismologists
    2010-07-27 16:28:57下载
    积分:1
  • isogroup
    分配聚类号,聚类编号,记录各聚类中心的距离,(Distribution of cluster number, cluster number, record the distance from the cluster centers,)
    2009-10-31 16:15:38下载
    积分:1
  • MATLABClassic-approach-
    matlab 一些经典算法,包括数值拟合,回归,插值、解方程等(matlab some classic algorithms, including numerical fitting, regression, interpolation, solving equations, etc.)
    2011-05-18 20:45:46下载
    积分:1
  • write-binary-data
    write a binary data to the disk
    2011-11-02 05:04:19下载
    积分:1
  • MATLAB_using_in_communication
    这个资料,集中系统的介绍了MATLAB在通信系统仿真中的应用,分享(This information, focus on the system introduced in the communication system MATLAB simulation, sharing)
    2009-05-01 14:11:51下载
    积分:1
  • Matlab_algorithm
    很多很好的matlab程序,包括用于数值微分,数值积分,非线性方程组求解等等(It contain a lot of good marlab programs, including those for numerical differentiation, numerical integration, nonlinear equations to solve, and so)
    2009-11-26 16:40:54下载
    积分:1
  • comparison_numerical_interpolation_real_values
    Used function P(x) = 1+x− x2+0.2x3+0.1x4 and its known the values P(x)=[ -6.2 -8.3 -5.0 -1.1 1 1.3 2.2 8.5 27.4], in x= [-4 -3 -2 -1 0 1 2 3 4] to interpolate in the xi = − 4 + 0.1i, i = 0, 1, 2, . . . 80. Results are graphically compared!(Used function P(x) = 1+x− x2+0.2x3+0.1x4 and its known the values P(x)=[-6.2-8.3-5.0-1.1 1 1.3 2.2 8.5 27.4], in x= [-4-3-2-1 0 1 2 3 4] to interpolate in the xi = − 4+ 0.1i, i = 0, 1, 2, . . . 80. Results are graphically compared!)
    2009-11-26 21:27:31下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载