mssd {REAT}R Documentation

Mean square successive difference

Description

Calculating the mean square successive difference

Usage

mssd (x)

Arguments

x

a numeric vector arranged in chronological order

Details

The mean square successive difference, \delta^2, is a dimensionless measure of variability over time (von Neumann et al. 1941). It can be used for assessing the volatility of a variable with respect to different subjects/groups.

Value

Single numeric value (the mean square successive difference, \delta^2).

Author(s)

Thomas Wieland

References

Von Neumann, J./Kent, R. H./Bellinson, H. R./Hart, B. I. (1941): “The mean square successive difference”. In: The Annals of Mathematical Statistics, 12, 2, p. 153-162.

See Also

var2, sd2, cv

Examples

data1 <- c(10,10,10,20,20,20,30,30,30)
# stable growth
data2 <- c(20,10,30,10,30,20,30,20,10)
# high variability

# Means:
mean2(data1)
mean2(data2)
# Same means

# Standard deviation:
sd2(data1)
sd2(data2)
# Coefficient of variation:
cv(data1)
cv(data2)
# Measures of statistical dispersion are equal

mssd(data1)
mssd(data2)
# high differences in variability

[Package REAT version 3.0.3 Index]