five

Supplement 1. R code to implement the Metropolis-Hastings algorithm.

收藏
NIAID Data Ecosystem2026-03-09 收录
下载链接:
https://figshare.com/articles/dataset/Supplement_1_R_code_to_implement_the_Metropolis-Hastings_algorithm_/3544556
下载链接
链接失效反馈
官方服务:
资源简介:
File List carlson_etal_ecology_supplement_Rscript.txt Description This is a text file containing annotated R code to fit the Bayesian model for the survival function based on the pre-winter and post-winter inverse Gaussian length distributions. The code implements the Metropolis-Hastings algorithm to sample from the posterior distribution of the three parameters of the model. In particular, the output includes posterior samples for parameters “mu” and “phi” (the mean and shape parameter, respectively, of the pre-winter length distribution) and for "alpha" (the parameter of the survival function). These posterior samples can be used, as described in the paper, to plot point and interval estimates for the survival function and for the pre-winter and post-winter length densities.
创建时间:
2016-08-05
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作