slice_rcpp {bpnreg} | R 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. |
[Package bpnreg version 2.0.3 Index]