Internal function. Finds the sample mean of the n-vector y for use in specifying the prior mean {\boldsymbolμ}_0; see Section 2 of the referenced article for further details.
1 | priormeanobs(YI, tobs)
|
YI |
The N times (n-1) matrix with rows being the values of y_i, i=1…, n-1 for the N subjects |
tobs |
Row vector of n observation times (in increasing order, same for each subject). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.