Description Usage Arguments Author(s)
View source: R/mouthwash_uniform_em.R
Gradient wrt z2 of intermediate function in EM.
1 2 3 4 5 6 7 8 9 10 11 | unif_int_grad(
z2,
xi,
betahat_ols,
alpha_tilde,
S_diag,
a_seq,
b_seq,
qvals,
degrees_freedom
)
|
z2 |
A vector of numerics. The current values of the unobserved confounders. |
xi |
A positive numeric. The current value of the variance inflation factor. |
betahat_ols |
A vector of numerics. The OLS regression coefficients. |
alpha_tilde |
A matrix of numerics. The estimates of the coefficients of the confounders. |
S_diag |
A vector of positive numerics. The standard errors. |
a_seq |
A vector of numerics (usually non-positive). The lower bounds of the uniform mixing densities. |
b_seq |
A vector of numerics (usually non-negative). The upper bounds of the uniform mixing densities. |
qvals |
A matrix of non-negative numerics whose rows sum to one. The E-step proportions. |
degrees_freedom |
A positive scalar or a vector of positive
scalars the length of |
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.