samediff | R Documentation |
Computation of tau and dprime and their uncertainties for the same different test using maximum likelihood.
samediff(nsamesame, ndiffsame, nsamediff, ndiffdiff, VCOV = TRUE)
nsamesame |
The number of same-answers on same-samples |
ndiffsame |
The number of different-answers on same-samples |
nsamediff |
The number of same-answers on different-samples |
ndiffdiff |
The number of different-answers on different-samples |
VCOV |
Should the variance-covariance matrix of the parameters be
computed. Defaults to |
The function computes the maximum likelihood estimates of
tau
and delta
.
An object of class samediff
with elements
coef |
named vector of coefficients (d-prime and tau) |
vcov |
variance-covariance matrix of the coefficients |
se |
named vector with standard error of the coefficients (standard error of d-prime) |
data |
a named vector with the data supplied to the function |
test |
a string with the name of the test ( |
call |
the matched call |
convergence |
convergence indicater. 0 indicates convergence. For error
codes see |
logLik |
Value of the log-likelhood at the MLE of the parameters. |
case |
A case indicator for internal use |
Rune Haubo B Christensen
Christensen, R.H.B., Brockhoff, P.B. (2009). Estimation and inference in the same-different test. Food, Quality and Preference, 20 pp. 514–520
# data: 8 of the same samples were judged to be same
# 5 of the same samples were judged to be different
# 4 of the different samples were judged to be same
# 9 of the different samples were judged to be different
samediff(8, 5, 4, 9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.