postSij {skipTrack} | R Documentation |
Compute random draw from full conditional posterior for s_ij in Li algorithm.
Description
This function calculates a random draw from the full conditional posterior distribution for s_ij in the Li algorithm, given the observed values yijs, the parameter pi, the lambda_i value, and the truncation level S.
Usage
postSij(yijs, pii, lambdai, S)
Arguments
yijs |
Vector of observed values for s_ij. |
pii |
Probability parameter pi. |
lambdai |
Value of lambda_i. |
S |
Truncation level. |
Value
A random draw from the posterior distribution of s_ij.
[Package skipTrack version 0.1.0 Index]