[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-455496-105":59,"doc-detail-455496-en":131,"doc-similar-455496":164},{"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":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","phasegen-phasegen-exact-solutions-for-time-inhomogeneous-multivariate-coalescent-distributions-under-diverse-demographies-introduction","PhaseGen - PhaseGen exact solutions for time-inhomogeneous multivariate coalescent distributions under diverse demographies - Introduction","","Phase-type theory is used to model coalescent processes with exact, numerically stable computation of quantities such as tree-height moments, total branch length, the site-frequency spectrum, and the full time to the most recent common ancestor distribution. Prior work mainly addressed time-homogeneous demographies, limiting scenario flexibility. PhaseGen extends time-inhomogeneous phase-type theory to piecewise-constant population histories, enabling exact (cross-)moments of arbitrary order and arbitrary reward structures. It also supports gradient-based parameter fitting and provides stable software for diverse demographic models including expansions, contractions, bottlenecks, and splits.",{"@graph":69,"@context":123},[70,84,106],{"@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/phasegen-phasegen-exact-solutions-for-time-inhomogeneous-multivariate-coalescent-distributions-under-diverse-demographies-introduction/455496/",{"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/phasegen-phasegen-exact-solutions-for-time-inhomogeneous-multivariate-coalescent-distributions-under-diverse-demographies-introduction/455496.png","ImageObject",300,407,{"name":92,"@type":93},"Olivia Brown","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-09-30",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",11,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What does PhaseGen add to phase-type theory for coalescent modeling?","Question",{"text":113,"@type":114},"PhaseGen extends phase-type theory to time-inhomogeneous settings, enabling exact computation under piecewise-constant demographic changes.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"Which types of demographic scenarios does the approach target?",{"text":118,"@type":114},"It supports modeling complex histories such as population expansions, contractions, bottlenecks, and splits.",{"name":120,"@type":111,"acceptedAnswer":121},"How does PhaseGen relate to parameter inference and optimization?",{"text":122,"@type":114},"The software is designed to support gradient-based fitting of demographic models to data while maintaining numerical stability for exact moment computations.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},455496,1791201358,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":19,"preview_urls":147},16904993612988,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","GENETICS, 2026, 232(1), iyaf135  \n[https://doi.org/10.1093/genetics/iyaf135](https://doi.org/10.1093/genetics/iyaf135)  \nAdvance Access Publication Date: 22 July 2025  \nInvestigation  \nPhaseGen: exact solutions for time-inhomogeneous multivariate coalescent distributions under diverse demographies  \nJanek Sendrowski  , 1 ,* Asger Hobolth2  \n1Bioinformatics Research Center, Aarhus University, Aarhus 8000, Denmark 2Department of Mathematics, Aarhus University, Aarhus 8000, Denmark  \n*Corresponding author: Bioinformatics Research Center, Aarhus University, Aarhus 8000, Central Denmark Region, Denmark. Email: [sendrowski.janek@birc.au.dk](sendrowski.janek@birc.au.dk)  \nPhase-type theory is emerging as a powerful framework for modeling coalescent processes, allowing for the exact computation of quantities of interest. This includes moments of tree height, total branch length, the site-frequency spectrum, and the full distribution of the time to the most recent common ancestor. However, prior applications have largely been limited to time-homogeneous settings, with constant population sizes and migration rates, restricting the range of demographic scenarios that can be modeled. In this study, we apply time-inhomogeneous phase-type theory to enable the exact computation of (cross-)moments of arbitrary order and reward structure under piecewise-constant demographies. This extension enables the modeling of significantly more complex demographic scenarios, including population expansions, contractions, bottlenecks, and splits. It furthermore supports fitting demographic models to data through gradient-based optimization. To support these advancements, we introduce PhaseGen—a software package designed for the numerically stable computation of exact moments under diverse demographic scenarios, with support for gradient-based parameter estimation.  \nKeywords: coalescent theory; phase-type theory; population genetics; demographic inference; software; time-inhomogeneous processes; numerical optimization; statistical inference; multiple-merger coalescents; SFS  \nIntroduction  \nPopulation genetics modeling software is essential in evolutionary biology, enabling researchers to explore complex demographic scenarios, evaluate evolutionary hypotheses, and estimate parameters within specified demographic models. A wide range of tools is available, utilizing either backward or forward simulations, with varying levels of support for parameter estimation.  \nCurrent coalescent-based simulators, such as msprime , generate stochastic tree sequences, offering significant flexibility while closely reflecting the data generation process (Baumdicker et al. 2021) . However, their stochastic nature necessitates numerous replicates to obtain reliable estimates of summary statistics, especially when dealing with complex demographic models or statistics involving higher-order moments (Excoffier et al. 2013) . Additionally, this inherent stochasticity complicates the use of gradient-based parameter estimation methods, often leading to the reliance on approximate Bayesian computation (ABC)(Kelleher and Lohse 2020) .  \nAnother widely used category of tools is forward simulators, which offer the notable advantage of being able to incorporate selection (Gutenkunst et al. 2009; Jouganous et al. 2017; Haller and Messer 2023) . However, forward simulators have their own caveats—notably determining an optimal runtime to reach equilibrium—and demographic models are often easier to specify in a coalescent framework. Tools such as dadi and moments , rely  \non diffusion-based computations and provide exact solutions for a variety of summary statistics (Gutenkunst et al. 2009; Jouganous et al. 2017) . Yet, closed-form solutions to the underlying differential equations are generally unavailable, requiring numerical approximations that can cause instabilities and complicate the computation of higher-order moments (Jouganous et al. 2017) . SLiM , by contrast, explicitly tracks ea","cbCaie62bQlIS3s2","https://ap.wps.com/l/cbCaie62bQlIS3s2","pdf",2296641,26,"English","# Introduction\n## Population genetics modeling software and simulators\n## Coalescent versus forward simulations\n## Phase-type theory as an exact alternative\n## Existing phase-type tools and limitations","[{\"question\":\"What does PhaseGen add to phase-type theory for coalescent modeling?\",\"answer\":\"PhaseGen extends phase-type theory to time-inhomogeneous settings, enabling exact computation under piecewise-constant demographic changes.\"},{\"question\":\"Which types of demographic scenarios does the approach target?\",\"answer\":\"It supports modeling complex histories such as population expansions, contractions, bottlenecks, and splits.\"},{\"question\":\"How does PhaseGen relate to parameter inference and optimization?\",\"answer\":\"The software is designed to support gradient-based fitting of demographic models to data while maintaining numerical stability for exact moment computations.\"}]","PhaseGen - PhaseGen exact solutions for time-inhomogeneous multivariate coalescent distributions under diverse demographies - Introduction | PDF",1790743244,66,[148,152,156,160],{"page_no":8,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/6f94954d51f7a6fb9705b65f3879b0fc.webp",983,1291,{"page_no":14,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/243c53c0e210937b25ae5c307938f20c.webp",982,1290,{"page_no":81,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f111ec35c8aaab74b2a7d7e4ce1c09e2.webp",981,1289,{"page_no":19,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/83d2b4a8de28e4b16b379914f841940e.webp",980,1287,{"list":165,"token":66},[166,173,179,186,193,200,207,214,220,226],{"doc_id":167,"doc_title":168,"file_type":138,"home_preview_img_url":169,"slug":170,"view_count":171,"category_name":40,"create_tm":172},84366,"High-order Complete Flux Schemes for Convection-Diffusion Equations on Arbitrary Subdivisions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809045416/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796229119&Signature=epBzALIE7UaJkTNEKJ5G0G%2Fz6Lw%3D","high-order-complete-flux-schemes-for-convection-diffusion-equations-on-arbitrary-subdivisions",29,1784195127,{"doc_id":174,"doc_title":175,"file_type":138,"home_preview_img_url":176,"slug":177,"view_count":105,"category_name":40,"create_tm":178},455585,"Inhomogeneous spatio-temporal epidemic-type aftershock sequence model incorporating seismicity-triggering slow slip events","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925256660/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796229119&Signature=3K48NnbjqIM5wR3%2Bfu%2FT1iJMeCY%3D","inhomogeneous-spatio-temporal-epidemic-type-aftershock-sequence-model-incorporating-seismicity-triggering-slow-slip-events",1790743494,{"doc_id":180,"doc_title":181,"file_type":138,"home_preview_img_url":182,"slug":183,"view_count":184,"category_name":40,"create_tm":185},413272,"Preempting fermion sign problem - Unveiling quantum criticality through nonequilibrium dynamics in imaginary time","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229921999536/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796229119&Signature=QkY9yixovemj%2FwtA2RkYDlVyUL0%3D","preempting-fermion-sign-problem-unveiling-quantum-criticality-through-nonequilibrium-dynamics-in-imaginary-time",13,1790594321,{"doc_id":187,"doc_title":188,"file_type":138,"home_preview_img_url":189,"slug":190,"view_count":191,"category_name":40,"create_tm":192},84230,"An Approximate Bounded Cochain Projection","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809152690/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796229119&Signature=5BxP5CHWJYcqhCSV%2Bx9qZgsve14%3D","an-approximate-bounded-cochain-projection",28,1784194198,{"doc_id":194,"doc_title":195,"file_type":138,"home_preview_img_url":196,"slug":197,"view_count":198,"category_name":40,"create_tm":199},31639,"How Policy Uncertainty, Real Economy, and Financial Sector Are Connected","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229745654291/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796229119&Signature=W9EfWSPdi%2FlCPg%2BhFUW1zoPhQTg%3D","how-policy-uncertainty-real-economy-and-financial-sector-are-connected",34,1779829309,{"doc_id":201,"doc_title":202,"file_type":138,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":40,"create_tm":206},83994,"Extending the Ginsburg–Spanier Theorem to Functions and Mixed Arithmetic","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809122413/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796229119&Signature=bXLfRDrcZj97MAwXhepiwO4xw6I%3D","extending-the-ginsburgspanier-theorem-to-functions-and-mixed-arithmetic",24,1784191914,{"doc_id":208,"doc_title":209,"file_type":138,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":40,"create_tm":213},82360,"Streaming with Catalytic Memory","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808887464/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796229119&Signature=7xplmmvGZvaikTflBq2dG4pfI10%3D","streaming-with-catalytic-memory",22,1784179889,{"doc_id":215,"doc_title":216,"file_type":138,"home_preview_img_url":217,"slug":218,"view_count":140,"category_name":40,"create_tm":219},83855,"Arbitrary High Order Splitting Methods for Linear Schrödinger Equations with Non-trivial Compatibility Conditions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809107966/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796229119&Signature=HKmbGY5mzY1%2BT5h230pFEHeaT6w%3D","arbitrary-high-order-splitting-methods-for-linear-schrodinger-equations-with-non-trivial-compatibility-conditions",1784190999,{"doc_id":221,"doc_title":222,"file_type":138,"home_preview_img_url":223,"slug":224,"view_count":44,"category_name":40,"create_tm":225},436429,"CONTINUOUS PROCESS FOR THE FRODUCTION OF POLYURETHANE ELASTOMERS - Patent Claims - Process 1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229923905590/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796229119&Signature=8o9ncbg2bP1hgYsywcuA3%2FlHV7o%3D","continuous-process-for-the-production-of-polyurethane-elastomers-patent-claims-process-1",1790677919,{"doc_id":227,"doc_title":228,"file_type":138,"home_preview_img_url":229,"slug":230,"view_count":39,"category_name":40,"create_tm":231},273517,"Q-Interference - Memory-Efficient Phase-Aware Quantum-Inspired Attention","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899944835/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796229119&Signature=87Yu1aFGOcg4w0ODTBKhjv%2FMFO4%3D","q-interference-memory-efficient-phase-aware-quantum-inspired-attention",1789471839]