Description Usage Arguments Value Author(s) References Examples
The functon is a implementation of the Slice sampling algorithm to conduct Bayesian inference of circular data.
1 | VONF_2D_DW_SLICE(Y, MCSamplerSize = 100, kappa_start = NULL)
|
Y: |
n X 3 matrix containing n directional data of dimension d. norm of each row of the matrix Y is 1. |
kappa_start: |
A positive number, starting value for the MCMC algorithm. If set NUll the Default procedure to get the initial value will be used. |
MCSamplerSize: |
Number of MCMC samples required to be generated. |
MCMC samples from for mode and concentration parameter of Vonmises distribution.
S. Pal, subhadip.pal@louisville.edu
[1] Damien, P., & Walker, S. (1999). A full Bayesian analysis of circular data using the von Mises distribution. The Canadian Journal of Statistics/La Revue Canadienne de Statistique, 291-298.
1 2 3 | library(Rfast)
data = rvmf(n =10, mu=c(1,0,0),k = 10)
lst_DW=VONF_2D_DW_SLICE(Y, MCSamplerSize=1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.