Description Usage Arguments Author(s)
View source: R/mouthwash_uniform_em.R
This returns the negative log-likelihood for use in SQUAREM.
1 2 3 4 5 6 7 8 9 10 11 | uniform_mix_llike_wrapper(
pizxi_vec,
betahat_ols,
S_diag,
alpha_tilde,
a_seq,
b_seq,
lambda_seq,
degrees_freedom,
scale_var = TRUE
)
|
pizxi_vec |
A vector of numerics. The first M of which are
|
betahat_ols |
A vector of numerics. The OLS regression coefficients. |
S_diag |
A vector of positive numerics. The standard errors. |
alpha_tilde |
A matrix of numerics. The estimates of the coefficients of the confounders. |
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. |
lambda_seq |
A vector of numerics greater than 1. The penalties on the mixing proportions. |
degrees_freedom |
A positive scalar or a vector of positive
scalars the length of |
scale_var |
A logical. Should we update the variance inflation
parameter ( |
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.