Learn R Programming

DAKS (version 2.1-3)

variance: Estimated Asymptotic Variance

Description

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.

Usage

variance(dataset, imp, v)

Arguments

dataset
a required data frame or matrix consisting of binary, $1$ or $0$, numeric data.
imp
a required object of class set representing the set of implications (ought to be a quasi order) for which diff is computed, for instance obtained from a call to simu.
v
a required numeric giving the inductive item tree analysis algorithm to be performed; v = 1 (minimized corrected) and v = 2 (corrected).

Value

If the arguments 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).

Details

Subject to the selected version to be performed, 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.

References

Sargin, A. and Uenlue, A. (2009) Inductive item tree analysis: Corrections, improvements, and comparisons. Mathematical Social Sciences, 58, 376--392.

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/.

See Also

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.

Examples

Run this code
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