slice_rcpp: A slice sampler for the latent lengths r

View source: R/RcppExports.R

slice_rcppR Documentation

A slice sampler for the latent lengths r

Description

A slice sampler for the latent lengths r

Usage

slice_rcpp(X1, X2, theta, beta1, beta2, n, r)

Arguments

X1

A model matrix for component I.

X2

A model matrix for component II.

theta

A vector with the circular dependent variable.

beta1

A matrix containing the coefficients of component I for the current iteration.

beta2

A matrix containing the coefficients of component II for the current iteration.

n

An integer indicating the sample size of the data.

r

A matrix with the estimates of r of the previous iteration.


joliencremers/bpnreg documentation built on Nov. 9, 2023, 4:55 a.m.