HellingerScoreOne: HellingerScoreOne

Description Usage Arguments Value

View source: R/HellingerScoreOne.R

Description

calculates the Hellinger score after inputting one sample y

Usage

1
HellingerScoreOne(y, param = TRUE, smart, const, initial)

Arguments

y

A one-row matrix, the new sample to be input.

param

A logical scalar, if TRUE, the model is in parametric version, otherwise, a non-parametric one.

smart

A matrix, stores all the parameters over the continuous domain.

const

A numeric vector, specifies the value of all global variables, if param = T, then const = c(N,n,d,rh,r,K,alpha); if param=FALSE, then const = c(N,n,d,rh,r,K,sigma_sqare).

initial

A numeric vector, specifies the initial value of parameters over the continuous domain, if param = T, initial = c(pi_1,mean_1,cov_1, ..., pi_K, mean_K,cov_K), if param = F, initial = c(q1,q2, ..., qK).

Value

The Hellinger score after inputting one sample y.


SmartSifter documentation built on May 29, 2017, 9:12 p.m.

Search within the SmartSifter package
Search all R packages, documentation and source code