Description Usage Arguments Details Value
succotash_summaries
will return useful posterior summaries
used in estimation and testing/FDR control.
1 | succotash_summaries(Y, Z, pi_vals, alpha, sig_diag, tau_seq, scale_val = 1)
|
Y |
A matrix of dimension |
Z |
A matrix of dimension |
pi_vals |
A vector of length |
alpha |
A matrix. This is of dimension |
sig_diag |
A vector of length |
tau_seq |
A vector of length |
scale_val |
A positive numeric. The amount to scale the variances by |
The posterior distribution is just a mixture of normals. This function will the posterior means as a point estimate. It will also return local false sign and discovery rates. These are useful for controlling for multiple testing.
lfdr
(local false discovery rate) A vector of length
p
. The posterior probability that β_j = 0.
lfsr
(local false sign rate) A vector of length
p
. The posterior probability of making a sign error.
betahat
A vector of length p
. The posterior
estimates of β.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.