calc_joint: Calculate the joint probability for the mixed cumulative...

Description Usage Arguments Value Author(s)

View source: R/calc_joint.R

Description

calc_joint calculates the joint density probability p(x,y|theta_x,theta_y) for the mixed cumulative probit model at the points in xcalc. xcalc is assumed to be evenly spaced.

Usage

1
calc_joint(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 joint probabilities

Author(s)

Michael Holton Price <MichaelHoltonPrice@gmail.com>


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