View source: R/theory_functs.R
compute_theoretical_conditional_means | R Documentation |
Computes the conditional means of the GLM-EIV model given the ground truth.
compute_theoretical_conditional_means(
intercept,
perturbation_coef,
fam,
covariate_matrix = NULL,
covariate_coefs = NULL,
offset = NULL
)
intercept |
intercept term |
perturbation_coef |
coefficient corresponding to perturbation |
fam |
family object describing response distribution |
covariate_matrix |
(optional) matrix of technical covariates |
covariate_coefs |
(optional) coefficients corresponding to technical covariates |
offset |
(optional) vector of offsets |
the scalar (or vector, if covariate_matrix is supplied) of conditional means
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.