Skip to content

This repository contains universal implementations of three algorithms for approximating projection depths in multivariate statistics: Random Search, Refined Random Search, and Spherical Nelder-Mead. These algorithms are designed to work with any depth function that satisfies the projection property.

Notifications You must be signed in to change notification settings

maicol8a/Approximation-Methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Universal Algorithms for Approximating Projection Depths

This repository provides implementations of three universal algorithms for approximating projection depths in multivariate statistics: Random Search, Refined Random Search, and Spherical Nelder-Mead. These algorithms are designed to work with any depth function that satisfies the projection property, making them versatile for various statistical analyses.

Algorithms

Random Search Universal

The Random Search Universal algorithm approximates projection depths by generating random directions on the unit sphere and computing the depth in each direction. The minimum depth found across all directions is returned as the approximate depth.

Refined Random Search Universal

The Refined Random Search Universal algorithm improves upon the basic random search by iteratively refining the search within a shrinking neighborhood around the current best direction. This approach concentrates the search in regions with lower depth, leading to more efficient approximation.

Spherical Nelder-Mead Universal

The Spherical Nelder-Mead Universal algorithm adapts the classic Nelder-Mead optimization method to the geometry of the unit sphere. It minimizes the depth along great circles, making it efficient for approximating projection depths in high-dimensional spaces.

Usage

To use these algorithms, you need to adapt your depth functions to accept the following parameters:

data: The data matrix (n x d). point: The point to evaluate (vector of length d). direction: The direction vector on the unit sphere. ...: Any additional parameters required by the depth function. The depth function should return the computed depth for the given data, point, and direction.

Acknowledgments

The code was created by I. Cascos (https://github.com/icascos) and M. Ochoa. The theoretical description of the procedures is available at: https://doi.org/10.1016/j.csda.2020.107166.

About

This repository contains universal implementations of three algorithms for approximating projection depths in multivariate statistics: Random Search, Refined Random Search, and Spherical Nelder-Mead. These algorithms are designed to work with any depth function that satisfies the projection property.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages