VONF_3D_GEO_DA_POSTERIOR: Fits a Data Augmentation algorithm for Vonmises Distribution...

Description Usage Arguments Value Examples

View source: R/VONF_3D_GEO_DA_POSTERIOR_V1.5.R

Description

Fits a Data Augmentation algorithm for Vonmises Distribution in 3 dimensions. Generates MCMC samples from Posterior of mode and concentration parameter.

Usage

1
VONF_3D_GEO_DA_POSTERIOR(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 Posterior of mode and concentration parameter of Vonmises distribution.

Examples

1
2
3
4
library(Rfast)
library(benchmarkme)
data = rvmf(n =10, mu=c(1,0,0),k = 10)
MC_OBject = VONF_pD_MPG_INVCDF_DA_POSTERIOR( Y=data, MCSamplerSize=50 )

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