null_score: Guttmann's Null-Score Quotient

View source: R/first_order_dependencies.R

null_scoreR Documentation

Guttmann's Null-Score Quotient

Description

Guttmann's Null-Score Quotient

Usage

null_score(x, options)

Arguments

x

vector of distinct options of numbers or characters

options

number of available options in sequence

Details

This function takes a vector x and computes the number of all response pairs that do not occur in this sequence given the number of possible options. The result of this computation is weighted with the highest possible number of unused response pairs for this sequence. The final result is attained by multiplying this quotient with 100. The result of this quotient ranges from 0 to 100. High scores indicate an uneven distribution of response pairs, whereas low scores indicate an even distribution of response pairs.

Value

Guttmann Null-Score Quotient of x

References

Towse, J.N., Neil, D. Analyzing human random generation behavior: A review of methods used and a computer program for describing performance. Behavior Research Methods, Instruments, & Computers 30, 583–591 (1998). \Sexpr[results=rd]{tools:::Rd_expr_doi("doi:10.3758/BF03209475")}

Examples

null_score(ginsburg1994, 10)
null_score(evans1978[, 1], 10)
null_score(evans1978[, 2], 10)


TImA97/randfindR documentation built on July 1, 2024, 7:56 p.m.