Skip to main content
Fig. 1 | Environmental Health

Fig. 1

From: Statistical software for analyzing the health effects of multiple concurrent exposures via Bayesian kernel machine regression

Fig. 1

Usage example showing R code to fit BKMR with a continuous outcome. Here ‘y’ denotes the response vector of length n (where n is the number of observations); ‘Z’ is the n-by-M exposure matrix, where M is the number of exposure variables included in the exposure-response function h; and ‘X’ is the n-by-P covariate matrix, where P is the number of covariates

Back to article page