lsquared: Calculate l-squared

View source: R/lsquared.R

lsquaredR Documentation

Calculate l-squared

Description

Calculate Blair and Lacy's l-squared.

Usage

lsquared(V)

Arguments

V

A frequency vector

Details

This function calculates Blair and Lacy's l-squared, a measure of concentration based on squared Euclidean distances. This function follows the presentation by Blair and Lacy 2000. The measure ā€˜lā€™ by Blair and Lacy is implemented as BlairLacy.

Value

The function returns the l-squared.

Author(s)

Didier Ruedin

References

Blair, J., and M. Lacy. 2000. Statistics of Ordinal Variation. Sociological Methods & Research 28 (3): 251-280.

See Also

BerryMielke, BlairLacy

Examples

# Sample data
V <- c(30,40,210,130,530,50,10)
lsquared(V)

agrmt documentation built on Jan. 5, 2024, 3:01 a.m.