View source: R/conditional_probability_functions.R
conditional_mean | R Documentation |
See e.g. Chapter 8.1.2 in The Matrix Cookbook.
conditional_mean(x_a, mu_a, mu_b, Sigma)
x_a |
(Observed) first part of normally distributed vector. |
mu_a |
Mean of second part of normally distributed vector. |
mu_b |
Mean of first part of normally distributed vector. |
Sigma |
covariance matrix of test statistic vector c(Z_TP1, Z_TP2, Z_TC1, Z_TC2). |
numeric vector with the conditional mean
Petersen, K. B., & Pedersen, M. S. (2008). The matrix cookbook. Technical University of Denmark, 7(15), 510.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.