dodControl | R Documentation |
Specify control setting when fitting the the Thurstonian
Degree-of-Difference (DOD) model using dod
and
dod_fit
.
dodControl(grad.tol = 1e-4,
integer.tol = 1e-8,
get.vcov = TRUE,
get.grad = TRUE,
test.args = TRUE,
do.warn=TRUE,
optCtrl=list())
grad.tol |
tolerance for the maximum absolute gradient of the parameters are convergence. |
integer.tol |
tolerance for when to give a warning about non-integer counts in data. |
get.vcov |
compute the variance-covariance matrix of the parameters (and the standard error of d-prime)? |
get.grad |
compute the gradient of the parameters? |
test.args |
test admissibility of arguments to |
do.warn |
if |
optCtrl |
control parameters passed on to the
|
An list of class dodControl
with the appropriate control
settings for dod
and dod_fit
.
Rune Haubo B Christensen
dod
, dod_fit
,
dodSim
,
dodPwr
, optimal_tau
,
## DOD example data:
same.pairs <- c(25, 22, 33, 20)
diff.pairs <- c(18, 22, 30, 30)
## Fit Thurstonian dod-model and perform difference test:
dod(same=same.pairs, diff=diff.pairs)
## Display the fitting process using the trace argument to nlminb:
ctrl <- dodControl(optCtrl=list(trace=TRUE))
dod(same=same.pairs, diff=diff.pairs, control=ctrl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.