Description Usage Arguments Value Author(s) References See Also Examples
Given a value or vector of thresholds and sampling standard deviations (sd equals 1 for Cauchy prior), find the mixing weight for which this is(these are) the threshold(s) of the posterior median estimator. If a vector of threshold values is provided, the vector of corresponding weights is returned.
1  wfromt(tt, s = 1, prior = "laplace", a = 0.5)

tt 
Threshold value or vector of values. 
s 
A single value or a vector of standard deviations if the
Laplace prior is used. If a vector, must have the same length as

prior 
Specification of prior to be used; can be

a 
Scale factor if Laplace prior is used. Ignored if Cauchy prior is used. 
The numerical value or vector of values of the corresponding weight is returned.
Bernard Silverman
See ebayesthresh
and
http://www.bernardsilverman.com
1 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.