calc_joint: Calculate the joint density probability p(x,y|th_x,th_y)

Description Usage Arguments Value

View source: R/multivariate_models.R

Description

Calculate the joint density probability p(x,y|th_x,th_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, th_x, th_y, mod_spec)

Arguments

xcalc

A vector of ages at which to calculate the posterior probability

y

The response vector for a single observation

th_x

Parameterization for prior on x

th_y

Parameterization for likelihood (conditional on x)

mod_spec

The model specification

Value

A vector of joint probabilities


MichaelHoltonPrice/yada documentation built on Sept. 19, 2021, 11:27 p.m.