Learn R Programming

kerSeg (version 1.1)

skew: Compute some components utilized in the third moment fomulas.

Description

This function provides some components used in the third moment fomulas.

Usage

skew(K, Rtemp, Rtemp2, R0, R2)

Value

Returns a list of components used in the third moment fomulas.

Arguments

K

A kernel matrix of observations in the sequence.

Rtemp

A numeric vector of \(k_{i.}\), the sum of kernel values for each row i.

Rtemp2

A numeric vector, the sum of squared kernel values for each row i.

R0

The term \(R_{0}\), defined in the paper.

R2

The term \(R_{2}\), defined in the paper.