ebayes
and eBayes
and are not intended to be called directly by users.
tmixture.vector(tstat, stdev.unscaled, df, proportion, v0.lim = NULL)
tmixture.matrix(tstat, stdev.unscaled, df, proportion, v0.lim = NULL)
tmixture.vector
assumes a vector while tmixture.matrix
assumes a matrix.tstat
, containing the unscaled standard deviations of the coefficients used to compute the t-statistics.tstat
.tstat
, containing estimated v0
values.
tstat
are assumed to follow a mixture of an ordinary t-distribution, with mixing proportion 1-proportion
, and (v0+v1)/v1
times a t-distribution, with mixing proportion proportion
.
Here v1
is stdev.unscaled^2
and v0
is the value to be estimated.
eBayes