plot_mixed_cum_probit_posterior: Plot posterior for mixed cumulative probit model

Description Usage Arguments Value Author(s) See Also

View source: R/plot_mixed_cum_probit_posterior.R

Description

plot_mixed_cum_probit_posterior calculates and plots the posterior probability of an observation as a function of a vector xv, which is assumed to be uniformly sampled.

Usage

1
plot_mixed_cum_probit_posterior(theta_y_list, theta_x, xv, y, hp, knownX = NA)

Arguments

theta_y_list

theta_y as a list

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

knownX

Known x value [optional]

Value

The vector of posterior probabilities

Author(s)

Michael Holton Price <MichaelHoltonPrice@gmail.com>

See Also

simConstHaz, fitConstHaz, fitLinHaz


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