Approximate the covariance of one response with an arbitrary product of responses.
Approximate the covariance of one response with an arbitrary product of responses.
approx_response_cov_recursive( ids, r_covs, r_means, n, responses, response, verbose = FALSE )
ids |
Column ids of responses to use. First is taken alone while 2nd to last are to be multiplied |
r_covs |
Response covariance matrix |
r_means |
Response means (vector) |
n |
Sample size |
responses |
List of lists with elements of class predictor |
response |
Character, Either "binary" or "continuous" |
verbose |
logical |
A vector with the approximated covariance, and approximated mean and variance of the product
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.