postSij | R Documentation |
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.
postSij(yijs, pii, lambdai, S)
yijs |
Vector of observed values for s_ij. |
pii |
Probability parameter pi. |
lambdai |
Value of lambda_i. |
S |
Truncation level. |
A random draw from the posterior distribution of s_ij.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.