kappaPrior | R Documentation |
Generates a Bayesian prior object on the BRAID parameter kappa to stabilize parameter fitting
kappaPrior(spread, strength = "moderate")
spread |
Rough estimate of the standard deviation of measurement noise or errors expected in a given data set. Commonly used values are standard deviation of negative/positive controls or root mean squared error of a preliminary surface fit. |
strength |
String indicating the influence of the BRAID prior on the resulting fit. Must be one of "mild", "moderate" (the default), "high", or "none". |
An object of class kappaPrior
containing two numeric elements,
spread
, and strength
. Used in BRAID fitting functions to stabilize
the parameter kappa
prior <- kappaPrior(0.05,"mild")
bfit <- braidrm(measure ~ concA + concB, incompleteExample,
prior=prior, getCIs=FALSE)
summary(bfit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.