denBoth: denBoth

Description Usage Arguments Author(s) Examples

Description

Example of using two different logDensity functions: comparison of combining denSparse and denRich into one function.

Usage

1
2
3
4
denBoth(theta, twTwoDenEx, weights = c(1, 1, 1), theta0 = twTwoDenEx$thetaTrue, 
    thetaPrior = NULL, invCovarTheta = NULL, modTwoDenExCache = NULL, 
    sdSparse = twTwoDenEx$sdObs$y1, sdRich = twTwoDenEx$sdObs$y2, 
    ...)

Arguments

theta
twTwoDenEx
weights
theta0
thetaPrior

the prior estimate of the parameters

invCovarTheta

the inverse of the Covariance of the prior parameter estimates

modTwoDenExCache

environment to cache results of model prediction for given theta

sdSparse

standard deviation of sparse observations

sdRich

standard deviation of rich observations

...

Author(s)

Thomas Wutzler

Examples

1
2
3
data(twTwoDenEx1)
denBoth(twTwoDenEx1$thetaTrue, twTwoDenEx1)
denBoth(twTwoDenEx1$thetaTrue, twTwoDenEx1, thresholdCovar = 0.3)


Search within the twDEMC package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.