quanf: Converts alpha values to h-values

Description Usage Arguments Value Author(s) Examples

View source: R/auxyl_F.R

Description

DetLTS selects the subset of size h that minimizes the log-determinant criterion. The function quanf determines the size of h based on the rate of contamination the user expects is present in the data. This is an internal function not intended to be called by the user.

Usage

1
  quanf(n,p,alpha)

Arguments

n

Number of rows of the data matrix.

p

Number of columns of the data matrix.

alpha

Numeric parameter controlling the size of the active subsets, i.e., "h=quanf(alpha,n,p)". Allowed values are between 0.5 and 1 and the default is 0.5.

Value

An integer number of the size of the starting p-subsets.

Author(s)

Kaveh Vakili

Examples

1
quanf(p=3,n=500,alpha=0.5)

DetR documentation built on May 1, 2019, 7:59 p.m.