kappaCDFLookupTable.mat
收藏资源简介:
Contains the look-up table of the cumulative distribution function of the likelihood P(\kappa | \hat{\kappa}, n) as described in Johnston and Painter, "Modelling collective navigation via nonlocal communication," 2021. Contains the CDF ("kappaCDF") which has three dimensions (\kappa, n, \hat{\kappa}) for the observed \hat{\kappa} values defined in kappaInput on 0 < \hat{\kappa} < 25. Sample from this CDF according to an observed \hat{\kappa} and n by finding rand < kappaCDF(:, n-1, kappaLocation) where kappaLocation is the location of the closest value in kappaInput to \hat{\kappa}. Implementation is given circ_kappa_script.m in the GitHub repository.
本数据集包含似然P(kappa | hat{kappa}, n)的累积分布函数查找表,该似然的定义源自Johnston与Painter于2021年发表的《基于非局部通信的集体导航建模(Modelling collective navigation via nonlocal communication)》一文。该数据集包含三维累积分布函数(Cumulative Distribution Function,简称CDF)"kappaCDF",其维度为(kappa, n, hat{kappa}),对应于kappaInput中定义的观测值hat{kappa},取值范围为0 < hat{kappa} < 25。可根据给定的观测值hat{kappa}与参数n,通过查找满足rand < kappaCDF(:, n-1, kappaLocation)的条件对该CDF进行采样,其中kappaLocation为kappaInput中与hat{kappa}最接近的值的索引位置。该数据集的实现代码可在GitHub仓库的circ_kappa_script.m文件中获取。



