kmvalidate {kstMatrix}R Documentation

Validate a knowledge structure against a data set

Description

kmvalidate returns a list with three elements, a named vector with the frequencies of distances between a set of response patterns and a knowledge structure, the Discrepancy Index (DI), and the Distance Agreement Coefficient (DA).

Usage

kmvalidate(data, struct)

Arguments

data

Binary matrix representing a set of response patterns

struct

Binary matrix representing a knowledge structure

Value

A list with three elements:

dist

Distance distribution vector

DI

Discrepancy Index

DA

Distance Agreement Coefficient

Warning

The DA computation can take quite some time for larger item sets as the power set has to be computed.

See Also

Other Validating knowledge spaces: kmdist()

Examples

kmvalidate(xpl$data, xpl$space)


[Package kstMatrix version 0.2-0 Index]