Description Usage Arguments Value Author(s)
View source: R/calc_x_posterior.R
calc_x_posterior
calculates the posterior probability (x|y,theta_x,theta_y) for the mixed cumulative probit model at the points in xcalc given the input parameterization y. xcalc is assumed to be evenly spaced.
1 | calc_x_posterior(xcalc, y, theta_x, theta_y, hp)
|
xcalc |
A vector of ages at which to calculate the posterior probability |
y |
An observation of traits used for the posterior calculation |
theta_x |
Parameterization for prior on x |
theta_y |
Parameterization for likelihood |
hp |
Hyperparameters |
A vector of posterior probabilities
Michael Holton Price <MichaelHoltonPrice@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.