pwdis in the location where you want to work.
mydata_my_petfor setting data and references
predict_my_petfor specifying model predictions
pars_init_my_petfor initiating parameter values and fix/free them
run_my_petfor checking, setting estimation options and run estimation
my_petby the latin name of your species (genus and species in the name connected by an underscore), store them in your workspace and type
run_my_petin the active window. Make sure that the path to DEBtool_M and its subdirectories has been set.
Depending on option settings, results will be printed to screen and/or a .mat file and/or .html file.
This .mat file can be read with
You can start parameter estimation from an automized setting, the initial setting as specified in
pars_init_my_pet, or from the
results_my_pet.mat file, which was written after a previous run.
You can reduce or enhance the effect of particular data sets/points by changing weight coefficients in
is used in
predict files to compute compound parameter from primary parameters;
most DEBtool/animal functions work with scaled parameters.
first checks the consistency of the three user-defined functions with
assuming that they have no Matlab errors.
Then estimation-options are set, such as the maximum number of iterations, or no estimation at all.
Finally the estimation and automatized presentation of results are called;
the presentation of results can (optionally) be customized with function
Plots with the same labels and units can be combined into one plot, by assigning datasets to a group and setting a caption.
Once the parameters are known, function
statistics_st and be used to evaluate implied properties.
The general idea is that these properties can be checked for realism, and if some seem unrealistic, realistic values can be added to the mydata and predict-files and parameters re-estimated.
A detailed account of the method is presented in the add_my_pet manual
estim_parsis a macro around regression function
petregr_f(with filters or
petregrwithout; model-specific filters prevent the estimation process to sample outside the allowed parameter space); options can be set with
estim_options. Fix or release settings of parameters and chemical parameters are always taken from
pars_init_my_pet; the parameters values might be set by
estim_options('pars_init_method', 0)(and parameters are free, not fixed) or are set by
estim_options('pars_init_method', 1). The function
matisinitcan be used to check if the values in
results_my_pet.matequal those in
pars_init_my_pet. If so, the
.matfile was not produced via
estim_parsand method-option 0 was used in combination with output-option 1 or 2.
filter_std, while warnings are specified by e.g.
warning_std. Filter holds are reported by
estim_pars. Customized filters can be build into the predict-file, directly after unpacking of inputs, by conditionally emptying output
info = 0and
setweights. Relative errors are computed by
mre_st; These means are about the absolute values of the relative errrors.
addpseudodata, removed by
rmpseudodataand predicted by
get_pars, which is a macro around
get_pars_2 till 9. Specific density of biomass is set by
get_d_Von the basis of taxonomic relationship.
result_petsdoes the same with