Learn R Programming

FastPCS (version 0.1.4)

FPCSnumStarts: Computes the number of starting p-subsets

Description

Computes the number of starting p-subsets so that the desired probability of selecting at least one clean one is achieved. This is an internal function not intended to be called by the user.

Usage

FPCSnumStarts(p,gamma=0.99,eps=0.5)

Value

An integer number of starting p-subsets.

Arguments

p

number of dimensions of the data matrix X.

gamma

desired probability of having at least one clean starting p-subset.

eps

suspected contamination rate of the sample.

Author

Kaveh Vakili

Examples

Run this code
FPCSnumStarts(p=3,gamma=0.99,eps=0.4)

Run the code above in your browser using DataLab