variance
computes estimated asymptotic variances of the
maximum likelihood estimators diff from data, assuming a
multinomial probability distribution on the set of all response
patterns.
variance(dataset, imp, v)
v = 1
(minimized corrected) and
v = 2
(corrected).dataset
, imp
, and v
are of
required types, variance
returns a numeric giving the
estimated asymptotic variance of the maximum likelihood estimator
diff (formulated for the relation in imp
and the data
in dataset
).
variance
computes a consistent estimator for the population asymptotic
variance of the maximum likelihood estimator diff, which here
is formulated for the relation specified in imp
and for the
data in dataset
. This estimated asymptotic variance is
obtained using the delta method, which requires calculating the
Jacobian matrix of the diff coefficient and the inverse of
the expected Fisher information matrix for the multinomial
distribution on the set of all response patterns. In the expression
for the exact asymptotic variance, the true parameter vector of
multinomial probabilities is estimated by its corresponding maximum
likelihood estimate (vector of the relative frequencies of the
response patterns). A set of implications, an object of the class
set
, consists of $2$-tuples $(i, j)$ of
the class tuple
, where a $2$-tuple
$(i, j)$ is interpreted as `mastering item $j$ implies
mastering item $i$.'
The data must contain only ones and zeros, which encode solving or failing to solve an item, respectively.
Uenlue, A. and Sargin, A. (2010) DAKS: An R package for data analysis methods in knowledge space theory. Journal of Statistical Software, 37(2), 1--31. URL http://www.jstatsoft.org/v37/i02/.
pop_variance
for population asymptotic variances of
diff coefficients; pop_iita
for population
inductive item tree analysis; iita
, the interface that
provides the three (sample) inductive item tree analysis methods
under one umbrella; z_test
for one- and two-sample Z-tests. See also DAKS-package
for general
information about this package.
x <- simu(5, 100, 0.05, 0.05, delta = 0.15)
variance(x$dataset, x$implications, v = 2)
Run the code above in your browser using DataLab