VONF_2D_DW_SLICE: The functon is a implementation of the Slice sampling...

Description Usage Arguments Value Author(s) References Examples

View source: R/Slice_DW.R

Description

The functon is a implementation of the Slice sampling algorithm to conduct Bayesian inference of circular data.

Usage

1
VONF_2D_DW_SLICE(Y, MCSamplerSize = 100, kappa_start = NULL)

Arguments

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.

Value

MCMC samples from for mode and concentration parameter of Vonmises distribution.

Author(s)

S. Pal, subhadip.pal@louisville.edu

References

Examples

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)

subhadippal2019/BVNF documentation built on March 12, 2021, 10:05 p.m.