Description Usage Arguments Author(s)
Second step of the backwash procedure.
1 2 3 4 5 6 7 8 9 10 11 12 | backwash_second_step(
betahat_ols,
S_diag,
alpha_tilde,
tau2_seq,
lambda_seq,
pi_init_type = c("zero_conc", "uniform", "random"),
scale_var = TRUE,
sprop = 0,
var_inflate_pen = 0,
verbose = TRUE
)
|
betahat_ols |
A vector of numerics. The ordinary least squares estimates of the regression coefficients. |
S_diag |
A vector of positive numerics. The standard errors of
|
alpha_tilde |
A matrix of numerics. The estimated coefficients of the confounders. |
tau2_seq |
A vector of positive numerics. The known grid of prior mixing variances. |
lambda_seq |
A vector of penalties for the estimate of the mixing proportions. |
pi_init_type |
How should we initialize the mixing
proportions? By concentrating on zero ( |
scale_var |
A logical. Should we estimate a variance inflation
parameter ( |
sprop |
If b is an effect and s is an estimated
standard error, then we model b/s^{sprop} as
exchangeable. The default is 0. When |
var_inflate_pen |
The penalty to apply on the variance inflation parameter.
Defaults to 0, but should be something non-zero when |
verbose |
If |
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.