{"title":"An Algorithm to Approximate the Optimal Expected Inner Product of Two Vectors with Given Marginals","authors":"Giovanni Puccetti","doi":"10.2139/ssrn.2741105","DOIUrl":null,"url":null,"abstract":"We introduce a new algorithm, called the swapping algorithm, to approximate numerically the minimal and maximal expected inner product of two random vectors with given marginal distributions. As a direct application, the algorithm computes an approximation of the L2-Wasserstein distance between two multivariate measures. The algorithm is simple to implement, accurate and less computationally expensive than the algorithms generally used in the literature for this problem. The algorithm also provides a discretized image of optimal measures and can be extended to more general cost functionals.","PeriodicalId":365755,"journal":{"name":"ERN: Other Econometrics: Mathematical Methods & Programming (Topic)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-02-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"18","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ERN: Other Econometrics: Mathematical Methods & Programming (Topic)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2139/ssrn.2741105","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 18
Abstract
We introduce a new algorithm, called the swapping algorithm, to approximate numerically the minimal and maximal expected inner product of two random vectors with given marginal distributions. As a direct application, the algorithm computes an approximation of the L2-Wasserstein distance between two multivariate measures. The algorithm is simple to implement, accurate and less computationally expensive than the algorithms generally used in the literature for this problem. The algorithm also provides a discretized image of optimal measures and can be extended to more general cost functionals.