sigma4: Unbiased estimate of squared variance $sigma^4$ based on...

Description Usage Arguments Value Examples

View source: R/functions.R

Description

This function takes a random sample and produces an unbiased estimate of the squared variance based on the U-statistic $sum_k1 ne k2 ne k3 ne k4 (x_k1-x_k2))^2 (x_k3-x_k4))^2$.

Usage

1
sigma4(x)

Arguments

x

is a vector of i.i.d. observations.

Value

unbiased estimate of squared variance $sigma^4$, where $sigma^2$ is the variance.

Examples

1
2
  x=stats::rnorm(10)
  sigma4(x)

HeterFunctionalData documentation built on Aug. 20, 2020, 9:06 a.m.