Higher Partials of fStress
Abstract
We define *fDistances*, which generalize Euclidean distances, squared distances, and log distances. The least squares loss function to fit fDistances to dissimilarity data is *fStress*. We give formulas and R/C code to compute partial derivatives of orders one to four of fStress, relying heavily on the use of Faà di Bruno's chain rule formula for higher derivatives.
- Publication:
-
arXiv e-prints
- Pub Date:
- July 2024
- DOI:
- 10.48550/arXiv.2407.18314
- arXiv:
- arXiv:2407.18314
- Bibcode:
- 2024arXiv240718314D
- Keywords:
-
- Statistics - Computation;
- Statistics - Methodology;
- 62-04 62-08 91C15;
- G.3
- E-Print:
- 27 pages, R code, C code