Learn R Programming

braidrm (version 1.0.3)

kappaPrior: Braid kappa Bayesian Prior

Description

Generates a Bayesian prior object on the BRAID parameter kappa to stabilize parameter fitting

Usage

kappaPrior(spread, strength = "moderate")

Value

An object of class kappaPrior containing two numeric elements, spread, and strength. Used in BRAID fitting functions to stabilize the parameter kappa

Arguments

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".

Examples

Run this code
prior <- kappaPrior(0.05,"mild")

bfit <- braidrm(measure ~ concA + concB, incompleteExample,
                prior=prior, getCIs=FALSE)
summary(bfit)

Run the code above in your browser using DataLab