Description Usage Arguments Value
Calculate conditional mean and covariance for multivariate Gaussian distributions. Consider partitioning into A and B. This function returns parameters for the distribution of B given A, which is itself another Gaussian distribution.
1 2 3 4 5 6 | mean_conditional(mu_B, mu_A, x_A, sigma_AA, sigma_AB)
sigma_conditional(sigma_BB, sigma_AB, sigma_AA)
dmvnorm_conditional(x_A, x_B, mu_A, mu_B, sigma_AA, sigma_AB, sigma_BB,
log = TRUE)
|
mu_B |
The mean vector for B. |
mu_A |
The mean vector for A. |
x_A, x_B |
A dataframe or matrix |
sigma_AA, sigma_BB |
The covariance matrix for batches A and B. |
sigma_AB |
The cross-covariance matrix for A and B. |
log |
Logical switch for log-likelihood. |
The relevant mean parameter for the distribution of B given A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.