Description Usage Arguments Details Value See Also
Calibrate a function using dream
, a specified
likelihood function lik.fun
and observed values obs
1 | dreamCalibrate(FUN, pars, obs, lik.fun=calc.rmse,lik.control=NULL,FUN.pars = list(), ...)
|
FUN |
model function with first argument a vector of parameter values of length ndim. |
pars |
a list of variable ranges. Any names will be propagated to output. |
obs |
a numeric vector of observed values, corresponding to the output of |
lik.fun |
A function that returns the log likelihood of model predictions
matching observed values. |
lik.control |
A list of any extra arguments to be passed to |
FUN.pars |
A list of any extra arguments to be passed to |
... |
Extra arguments to be passed to dream, e.g. |
There are S3 methods for:
predict
,
coef
.
Log likelihood functions included are:
calc.rmse
,
calc.weighted.rmse
,
calc.loglik
An object inheriting from dream
, i.e. with the same elements and:
FUN |
The function calibrated |
FUN.pars |
The extra arguments originally passed to that function |
lik.fun |
A convenience function f(pars) that returns the log likelihood for a parameter set, as would be calculated using the given calibration dataset and chosen likelihood function. |
See dream
for details on the calibration method,
visualisation of its results and diagnostics.
See snow.chains
for parallelised calibration of external
models (expert users only).
demo(FME.nonlinear.model)
Calibrating the non-linear model shown
in the FME vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.