calc_x_posterior: Calculate the posterior probability for the mixed cumulative...

Description Usage Arguments Value Author(s)

View source: R/calc_x_posterior.R

Description

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.

Usage

1
calc_x_posterior(xcalc, y, theta_x, theta_y, hp)

Arguments

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

Value

A vector of posterior probabilities

Author(s)

Michael Holton Price <MichaelHoltonPrice@gmail.com>


eehh-stanford/yada documentation built on June 18, 2020, 8:05 p.m.