[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-390323-105":59,"doc-detail-390323-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","a-kernel-two-sample-test-for-functional-data","A Kernel Two-Sample Test for Functional Data","","The paper develops a nonparametric two-sample testing method based on Maximum Mean Discrepancy (MMD) for functional data. It targets the hypothesis that two samples of functions share the same underlying distribution, using kernels defined on function spaces. The work establishes theory for such kernels and associated MMD, including efficiency scaling for increasing dataset dimension, and evaluates the impact of functional reconstructions from discretized samples. Results are validated on synthetic and real-world datasets.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/a-kernel-two-sample-test-for-functional-data/390323/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/a-kernel-two-sample-test-for-functional-data/390323.png","ImageObject",300,407,{"name":92,"@type":93},"dhado","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-31","2026-09-25",true,{"@type":102,"interactionType":103,"userInteractionCount":34},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the paper address?","Question",{"text":112,"@type":113},"It addresses nonparametric testing of whether two samples of functions have the same underlying distribution when data live over a function space.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How is the proposed test constructed?",{"text":117,"@type":113},"The test is built using Maximum Mean Discrepancy (MMD) with kernels defined on function spaces, leveraging kernel mean embeddings in a reproducing kernel Hilbert space.",{"name":119,"@type":110,"acceptedAnswer":120},"Why is functional data challenging for classical two-sample tests?",{"text":121,"@type":113},"Classical methods can degrade as the discretization mesh grows, making observations effectively high-dimensional and causing test power to diminish with increasing dimension.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},390323,1790833524,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":34,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":29,"preview_urls":146},5909893218464,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","A Kernel Two-Sample Test for Functional Data  \nGeorge Wynne [g.wynne18@ic.ac.uk](g.wynne18@ic.ac.uk)  \nDepartment of Mathematics Imperial College London London, SW7 2BU, UK  \nAndrew B. Duncan [a.duncan@ic.ac.uk](a.duncan@ic.ac.uk)  \nDepartment of Mathematics Imperial College London London, SW7 2BU, UK  \nEditor: Kenji Fukumizu  \nAbstract  \nWe propose a nonparametric two-sample test procedure based on Maximum Mean Discrepancy (MMD) for testing the hypothesis that two samples of functions have the same underlying distribution, using kernels de􀀌ned on function spaces. This construction is motivated by a scaling analysis of the e􀀎ciency of MMD-based tests for datasets of increasing dimension. Theoretical properties of kernels on function spaces and their associated MMDare established and employed to ascertain the e􀀎cacy of the newly proposed test, as well as to assess the e􀀋ects of using functional reconstructions based on discretised function samples. The theoretical results are demonstrated over a range of synthetic and real world datasets.  \nKeywords: Kernel Methods, Functional Data Analysis, Testing  \n1. Introduction  \nNonparametric two-sample tests for equality of distributions are widely studied in statistics, driven by applications in goodness-of-􀀌t tests, anomaly and change-point detection and clustering. Classical examples of such tests include the Kolmogorov-Smirnov test (KolmogorovSmirnov et al., 1933; Smirnov, 1948; Schmid, 1958) and Wald-Wolfowitz runs test (Wald and Wolfowitz, 1940) with subsequent multivariate extensions (Friedman and Rafsky, 1979) .  \nDue to advances in the ability to collect large amounts of real time or spatially distributed data there is a need to develop statistical methods appropriate for functional data, where each data sample is a discretised function. Such data has been studied for decades in the Functional Data Analysis (FDA) literature (Horv􀀓ath and Kokoszka, 2012; Hsing and Eubank, 2015) particularly in the context of analysing populations of time series, or in statistical shape analysis (Mardia and Dryden, 1989) . More recently, due to this modern abundance of functional data, increased study has been made in the machine learning literature for algorithms suited to such data (Berrendero et al. , 2020; Chevyrev and Oberhauser, 2018; Kadri et al., 2016; Carmeli et al., 2010; Zhang et al., 2012) .  \nIn this paper we consider the case where the two probability distributions being compared are supported over a real, separable Hilbert space, for example L2 (D) with D 􀀚 Rd  \n􀀍c2022 George Wynne, Andrew B. Duncan.  \nLicense: CC-BY 4.0, see [https://creativecommons.org/licenses/by/4.0/](https://creativecommons.org/licenses/by/4.0/. Attribution)[. Attribution](https://creativecommons.org/licenses/by/4.0/. Attribution) requirements are provided  \nat [http://jmlr.org/papers/v23/20-1180.html](http://jmlr.org/papers/v23/20-1180.html).  \nWynne and Duncan  \nand we have discretised observations of the function samples. If the samples consist of evaluations of the functions over a common mesh of points, then well-known methods for nonparametric two-sample testing for vector data can be used directly. Aside from the practical issue that observations are often made on irregular meshes for each di􀀋erent sample there is also the issue of degrading performance of classical tests as mesh size increases, meaning the observed vectors are high dimensional. As is typical with nonparametric twosample tests, the testing power will degenerate rapidly with increasing data dimension. We therefore seek to better understand how to develop testing methods which are not strongly a􀀋ected by the mesh resolution, exploiting intrinsic statistical properties of the underlying functional probability distributions.  \nIn the past two decades kernels have seen a surge of use in statistical applications (Muandet et al., 2017; Gretton et al., 2012a; Sutherland et al., 2016; Borgwardt et al., 2006) . In particular, kernel based two-sam","cbCaivsJn9f15SM6","https://ap.wps.com/l/cbCaivsJn9f15SM6","pdf",607161,51,"English","# Introduction\n## Nonparametric two-sample testing and functional data\n## MMD and kernel mean embeddings\n## Efficiency and kernel choice for functional settings","[{\"question\":\"What problem does the paper address?\",\"answer\":\"It addresses nonparametric testing of whether two samples of functions have the same underlying distribution when data live over a function space.\"},{\"question\":\"How is the proposed test constructed?\",\"answer\":\"The test is built using Maximum Mean Discrepancy (MMD) with kernels defined on function spaces, leveraging kernel mean embeddings in a reproducing kernel Hilbert space.\"},{\"question\":\"Why is functional data challenging for classical two-sample tests?\",\"answer\":\"Classical methods can degrade as the discretization mesh grows, making observations effectively high-dimensional and causing test power to diminish with increasing dimension.\"}]","A Kernel Two-Sample Test for Functional Data | PDF",1790332732,129,[147,151,155,159,163,167],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/da1b0d3802f98699d5f82a817fe1de87.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/b99007a1adf4007079443e5de9c5204f.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/d3bc273ed0bb932ed502be6f875f56c8.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/b33e8682fa68e20ba5140a63d0c5a2c7.webp",980,1268,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9ffa8249c2684c956d531ba80ccfb098.webp",979,1267,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/6c3bc9d92cfc5e7c2a17f3cbe7dc4d90.webp",978,1265]