calc_cond_gauss_int_inputs: Calculate the inputs to the conditional Gaussian integral

Description Usage Arguments Value

View source: R/multivariate_models.R

Description

For a single observation, calculate the inputs to the conditional Gaussian integral, which are mean_vect, coMat, lo, and hi. These are returned as a list.

Usage

1
calc_cond_gauss_int_inputs(th_y, x, y, mapping)

Arguments

th_y

The parameter vector

x

The independent variable (a scalar)

y

The response variables (a vector)

mapping

The mapping for fast extraction of indices (see [get_var_index_multivariate_mapping])

Value

A list with the mean vector (mean_vect), covariance matrix (cov_mat), low limit of integration (lo), high limit of integration (hi), and given/conditioned response variables (y_giv).


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