SciencesPo (version 1.3.8)

geary: Geary's test for normality

Usage

geary(x, na.rm = TRUE)

Arguments

x
the numeric vector.
na.rm
A logical for NA values.

Value

  • statistic The Geary's test of statistic G.

    p.value The significant probability of the null-hypothesis testing. } description{ This function computes an estimator of Geary's measure of kurtosis.

encoding

UTF-8

Details

Null hypothesis is that the data obeys to normal distribution and that data should have kurtosis equal to 3.

Examples

Run this code
set.seed(1234)
x = rnorm(1000)
geary(x)

geary(20:50)

y = c(0.269, 0.357, 0.2, 0.221, 0.275, 0.277, 0.253, 0.127, 0.246)
qqnorm(y)

Run the code above in your browser using DataCamp Workspace