approx_conditional | R Documentation |
Approximate the mean of Y conditional on X
approx_conditional(means, covs, response, n)
means |
Vector of the mean of X and the mean of Y |
covs |
Matrix of covariances for X and Y |
response |
Character. If "binary" truncates means to interval [0, 1]. If "continuous" does not restrict. |
n |
Sample size |
A list of length 2 consisting of 2 functions that give the estimated conditional mean and conditional variance of Y as a function of X
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.