Calculate Mean of the nondecision distribution.
getTer(res, dat)
An object of class D*M.
The data object used to create res
.
A vector containing estimates for the mean of the nondecision densities.
The object res
can either be output from estDstarM
or output from estND
.
If the former is supplied it is also necessary to supply the data used for the estimation.
The mean will then be estimated by substracting the mean of the model densities from the mean of the data density.
If the latter is supplied than this is not required; the mean will be calculated by
integrating the nondecision distribution.