-
Notifications
You must be signed in to change notification settings - Fork 28
Meaning of ar.config.fiterrors
Errors of experimental data points may either be determined within the experiment or can be fitted simulataneously to the dynamic model. External/experimental errors are provided via the data-file (csv or xls) and are stored in ar.model.data.yExpStd. Errors according to the error model are calculated internally and stored in ar.model.data.ystdExpSimu (experimental time grid) and in ar.model.data.ystdFineSimu (fine time grid used for plotting).
ar.config.fiterrors
is used to control which errors are used by D2D.
By default, experimental errors are used where they are available. This means that this option is a mixed case. The error model is used but overwritten if an experimental error has been provided in the data file. Fitting of error parameters is only controlled via ar.qFit. If any error parameter is fitted (ar.qFit==1
), then the log-likelihood is calculated and stored in ar.model.data.chi2
. The standard least-squares chi2
is only calculated if no error parameters are fitted ( sum(ar.qFit(ar.qError==1)==1)==0
).
In this case, experimental errors are ignored and data uncertainties are exclusively used from the error model.
Again, fitting of error parameters is exclusively controlled via ar.qFit
.
In this case, only experimental errors are used and the error model is ignored. If no experimental error is available, the residual is NaN
. If error parameters are fitted (ar.qFit==1
), then they are not identifiable since they do not enter the objective function.
Residuals of the individual data sets are calculated in arCalcRes
. In this function, ar.config.fiterrors
is evaluated to decide which error residuals are added.
- Installation and system requirements
- Setting up models
- First steps
- Advanced events and pre-equilibration
- Computation of integration-based prediction bands
- How is the architecture of the code and the most important commands?
- What are the most important fields of the global variable ar?
- What are the most important functions?
- Optimization algorithms available in the d2d-framework
- Objective function, likelhood and chi-square in the d2d framework
- How to set up priors?
- How to set up steady state constraints?
- How do I restart the solver upon a step input?
- How to deal with integrator tolerances?
- How to implement a bolus injection?
- How to implement washing and an injection?
- How to implement a moment ODE model?
- How to run PLE calculations on a Cluster?