Description Usage Arguments Value Author(s) See Also
View source: R/calc_mixed_cum_probit_posterior.R
calc_mixed_cum_probit_posterior calculates the posterior probability of an observation as a function of a vector xv, which is assumed to be uniformly sampled.
1  | calc_mixed_cum_probit_posterior(theta_y, theta_x, xv, y, hp, asLog = F)
 | 
theta_y | 
 theta_y as a list (single theta_y sample) or list of lists (multiple theta_y samples)  | 
theta_x | 
 Parameterization for distribution of x (exponential rate)  | 
xv | 
 A vector of ages at which to calculate posterior  | 
y | 
 A new observation  | 
hp | 
 Hyperparameters  | 
asLog | 
 A logical variable indicating whether to return the (unnormalized) log of the likelihood  | 
The vector of posterior probabilities
Michael Holton Price <MichaelHoltonPrice@gmail.com>
simConstHaz, fitConstHaz, fitLinHaz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.