z_test {DAKS}R Documentation

Z-Test for diff values

Description

Performs one- and two-sample Z-Tests for diff values

Usage

z_test(dataset, imp, imp_alt = NULL, alternative = c("two.sided", "less","greater"), mu = 0, conf.level = 0.95, 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).
imp_alt an optional set of implications, representing the alternative quasi order.
alternative a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less".
mu a number indicating the true value of the mean (or difference in means if you are performing a two sample test).
conf.level confidence level of the interval.
v a required numeric giving the inductive item tree analysis algorithm to be performed; v = 1 (minimized corrected) and v = 2 (corrected).

Details

This function performs a Z-test for comparing the diff values of one or two quasi orders.

Value

If the arguments are of required types, z_test returns a named list consisting of the following four components:

Z.value the value of the z-statistic.
p.value the p-value for the test.
conf a confidence interval for the mean appropriate to the specified alternative hypothesis.
diff.value The corresponding diff values for the used quasi orders according to the specified method.
alternative a character string specifying the alternative hypothesis.
mu a number indicating the true value of the mean (or difference in means if you are performing a two sample test).
conf.level specifying what kind of confidence interval is specified.

Note

The current version of the package DAKS does not support peforming a Z-test for the original inductive item tree analysis algorithm.

Author(s)

Anatol Sargin anatol.sargin@math.uni-augsburg.de, Ali Uenlue ali.uenlue@math.uni-augsburg.de

References

Sargin, A. and Uenlue, A. (2009) Inductive item tree analysis: Corrections, improvements, and comparisons. Manuscript under revision. http://www.math.uni-augsburg.de/~uenlueal/

Sargin, A. and Uenlue, A. (2009) DAKS: An R package for data analysis in knowledge space theory. Manuscript submitted for publication. http://www.math.uni-augsburg.de/~uenlueal/

Uenlue, A. and Sargin, A. (2008) Maximum likelihood methodology for diff fit measures for quasi orders. Manuscript submitted for publication. http://www.math.uni-augsburg.de/~uenlueal/

See Also

iita, the interface that provides the three (sample) inductive item tree analysis methods under one umbrella. See also DAKS-package for general information about this package.

Examples

sel_set<-ind_gen(ob_counter(pisa))
z_test(pisa, sel_set[[9]], sel_set[[10]], v = 1)

[Package DAKS version 2.0-0 Index]