<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>stochastic modelling &#8211; Science</title>
	<atom:link href="https://scienmag.com/tag/stochastic-modelling/feed/" rel="self" type="application/rss+xml" />
	<link>https://scienmag.com</link>
	<description></description>
	<lastBuildDate>Fri, 09 Oct 2026 23:36:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://scienmag.com/wp-content/uploads/2024/07/cropped-scienmag_ico-32x32.jpg</url>
	<title>stochastic modelling &#8211; Science</title>
	<link>https://scienmag.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">73899611</site>	<item>
		<title>New Ocean Model Tracks Light in Three Streams to Simulate Black Sea Ecosystems</title>
		<link>https://scienmag.com/new-ocean-model-tracks-light-in-three-streams-to-simulate-black-sea-ecosystems/</link>
		
		<dc:creator><![CDATA[Violet Maxwell]]></dc:creator>
		<pubDate>Fri, 09 Oct 2026 23:36:41 +0000</pubDate>
				<category><![CDATA[Earth Science]]></category>
		<category><![CDATA[Technology and Engineering]]></category>
		<category><![CDATA[advanced oceanographic modeling]]></category>
		<category><![CDATA[BGC-Argo]]></category>
		<category><![CDATA[biogeochemical modelling]]></category>
		<category><![CDATA[Black Sea]]></category>
		<category><![CDATA[Black Sea marine ecosystems]]></category>
		<category><![CDATA[CDOM]]></category>
		<category><![CDATA[Copernicus Marine Service]]></category>
		<category><![CDATA[light penetration and scattering]]></category>
		<category><![CDATA[marine ecosystem vertical structure]]></category>
		<category><![CDATA[NEMO]]></category>
		<category><![CDATA[NEMO ocean model]]></category>
		<category><![CDATA[nitrification and irradiance]]></category>
		<category><![CDATA[ocean biogeochemistry]]></category>
		<category><![CDATA[Ocean light simulation]]></category>
		<category><![CDATA[ocean optics]]></category>
		<category><![CDATA[optically complex seas]]></category>
		<category><![CDATA[photosynthesis in marine environments]]></category>
		<category><![CDATA[phytoplankton]]></category>
		<category><![CDATA[radiative transfer]]></category>
		<category><![CDATA[remote sensing]]></category>
		<category><![CDATA[sea surface reflectance]]></category>
		<category><![CDATA[stochastic modelling]]></category>
		<category><![CDATA[three-stream radiative transfer]]></category>
		<category><![CDATA[underwater light modeling]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=256470</guid>

					<description><![CDATA[Scientists have integrated a high-resolution three-stream radiative transfer model into the NEMO ocean framework and demonstrated in the Black Sea that it can simulate underwater light, temperature, and satellite-comparable sea surface reflectance while quantifying optical uncertainties.]]></description>
										<content:encoded><![CDATA[<p>Light is the engine of the ocean. It warms the sea surface, drives photosynthesis, shapes the vertical structure of marine ecosystems, and even influences chemical reactions such as nitrification, which is inhibited under high irradiance. Yet in most marine ecosystem models, the way sunlight travels through seawater remains strikingly crude. A team of researchers from the University of Liège and Univ. Grenoble Alpes, led by Loïc Macé, has now built a far more sophisticated way of simulating underwater light, and they have tested it in one of the world&#8217;s most optically complex seas: the Black Sea. Their work, published in Geoscientific Model Development, delivers a three-stream radiative transfer module that plugs directly into NEMO, the Nucleus for European Modelling of the Ocean, one of the most widely used ocean simulation frameworks on the planet.</p>
<p>Most existing schemes inside NEMO treat sunlight as a single downward stream that simply fades with depth, resolved over only two to five broad wavebands. The new module, adapted from the model developed for the MITgcm-DARWIN configuration, does something fundamentally different. It separates the light field into three distinct streams: a direct downward stream that has not yet been scattered, a scattered downward stream produced by light deflected forward by particles and water molecules, and an upward stream of backscattered light heading back toward the surface. Each stream is solved independently for every wavelength, and the model runs across 33 wavebands spanning 250 to 4000 nanometres, with a fine 25-nanometre resolution in the visible range where biology matters most.</p>
<p>The technical heart of the module is a set of coupled equations describing how each stream is attenuated by absorption, forward scattering, and backscattering as it propagates through the water column. These processes are governed by the inherent optical properties of seawater, which are determined by what is actually in the water: pure seawater itself, phytoplankton, detritic non-algal particles, and coloured dissolved organic matter, known as CDOM. In the coupled configuration, a biogeochemical model supplies the concentrations of these optically active constituents, and the module converts them into spectral absorption and scattering coefficients. CDOM, which absorbs strongly at short wavelengths, is handled with an exponential decay law referenced at 412 nanometres, while phytoplankton optics are computed from three functional types relevant to the Black Sea: diatoms, small flagellates, and large flagellates.</p>
<p>What makes this development genuinely powerful is the feedback loop. The simulated irradiances are not just diagnostic outputs; they are fed back into the physics and the biology. The total scalar irradiance budget becomes the source term in the temperature equation of NEMO, replacing the crude attenuation schemes of the past, and the visible-range scalar irradiance available to phytoplankton drives primary production in the coupled ecosystem model. This two-way coupling maintains physical consistency: the same light that heats the water is the light that plankton use to grow. The researchers calibrated a tuning factor, set to 0.85 in the Black Sea configuration, that accounts for the small fraction of absorbed energy used by photosynthesis and particle degradation rather than heating.</p>
<p>The test case is the Black Sea, a basin whose biogeochemistry is simulated operationally by the Copernicus Marine Service using the NEMO-BAMHBI framework. BAMHBI, the BiogeochemicAl Model for Hypoxic and Benthic Influenced areas, explicitly represents the anoxic deep layer of the Black Sea and the full marine foodweb from bacteria to mesozooplankton. Previously it relied on a simple three-band optics scheme in which a single downward light stream was attenuated following Beer&#8217;s law. Substituting that scheme with the new three-stream model required careful calibration, which the team performed using more than a decade of data from Biogeochemical Argo floats drifting through the basin, measuring chlorophyll, particle backscattering, CDOM fluorescence, and downwelling irradiance at 380, 412 and 490 nanometres.</p>
<p>The surface boundary conditions come from an unexpected direction: the sky. The team used the MAR regional atmospheric model, running with the ECMWF ecRad radiation scheme and a high-resolution gas-optics configuration, to simulate spectral shortwave fluxes over the Black Sea in the same 33 wavebands used by the ocean module. MAR separates direct and diffuse irradiance, exactly the split the ocean model needs, and validation against ground observations showed correlations above 0.9 with low bias. Importantly, because sea surface reflectance is computed as a ratio of upwelling to downwelling irradiance, any residual bias in the atmospheric forcing largely cancels out, making the reflectance output robust.</p>
<p>The validation results are encouraging. Simulated downwelling irradiances at 412 and 490 nanometres agree very well with BGC-Argo profiles, with regression slopes close to one, although the model absorbs slightly too much light near the surface at shorter wavelengths where CDOM dominates. Sea surface temperature simulations remain consistent with observations, with correlations above 0.99, and the mixed layer depth, thermocline, and cold intermediate layer of the basin are preserved. Surface chlorophyll improves modestly, with the root mean square error dropping by 0.16 milligrams per cubic metre, though the model still tends to overestimate winter and spring blooms. The most striking gap appears during the May-to-July coccolithophore bloom, when the model underestimates reflectance at 490 nanometres because it does not capture the intense scattering from these calcifying plankton.</p>
<p>Perhaps the most transformative capability is the direct simulation of sea surface reflectance, the quantity that satellites actually measure. Rather than comparing modelled chlorophyll with satellite-derived chlorophyll through uncertain inversion algorithms, the model now produces reflectance fields that can be compared directly with remote-sensing data. The team went further and applied the same band-ratio inversion algorithm used operationally for Black Sea satellite products to their own simulated reflectance, producing a reflectance-derived chlorophyll estimate. This estimate agreed better with the satellite product than the dynamically simulated chlorophyll for most of the year, with a substantially lower error, particularly during the early spring bloom. The exercise also revealed a subtlety: the coccolithophore bloom visible in satellite reflectance does not appear in the satellite chlorophyll signal, because increases in both blue and green reflectance cancel out in the band ratio, suggesting the satellite product itself may be biased during such blooms.</p>
<p>The module also ships with a stochastic mode designed to confront one of the field&#8217;s thorniest problems: uncertainty in optical properties. Using first-order autoregressive processes with roughly 75-kilometre spatial correlation and one-month temporal correlation, the model perturbs absorption and scattering coefficients with standard deviations of up to 50 percent, following log-normal distributions consistent with the statistics of optical variables. A 50-member ensemble compared against in situ reflectance measurements from the AERONET-OC Galata tower off the Romanian coast showed that observations generally fell within the ensemble spread, with uncertainty widening during bloom periods. This quantification of model uncertainty is precisely what is needed for future data assimilation of reflectance, a step that could revolutionise how satellite ocean colour constrains ecosystem forecasts.</p>
<p>There are trade-offs. Running the radiative transfer model at every time step across 33 wavebands roughly doubles the computation time compared with the simple optics scheme, a cost that matters for long-term or global simulations, though it can be reduced by lowering spectral resolution or simplifying the scattering treatment. The authors also note limitations: the assumption of no bottom reflection restricts some coastal applications, phytoplankton optical properties were derived partly from Mediterranean observations, and suspended minerals near river mouths are not yet explicitly represented. Still, the implications reach well beyond the Black Sea. With hyperspectral satellite missions such as NASA&#8217;s PACE and the Italian Space Agency&#8217;s PRISMA now delivering reflectance data at unprecedented spectral resolution, models capable of resolving light propagation in fine wavebands are becoming essential. By making sophisticated radiative transfer a pluggable component of NEMO, this work opens a path toward ocean models that speak the same optical language as the satellites watching them, bringing simulation and observation into direct, quantitative conversation.</p>
<p><strong>Subject of Research:</strong> Three-stream spectral radiative transfer modelling coupled with biogeochemical simulation of the Black Sea in the NEMO ocean modelling framework</p>
<p><strong>Article Title:</strong> Three-stream modelling of radiative transfer for the simulation of Black Sea biogeochemistry in a NEMO framework</p>
<p><strong>Article References:</strong> Macé, L., Vandenbulcke, L., Brankart, J.-M., Grailet, J.-F., Brasseur, P., &amp; Grégoire, M. (2026). Three-stream modelling of radiative transfer for the simulation of Black Sea biogeochemistry in a NEMO framework. <em>Geoscientific Model Development, 19</em>(18), 9077-9102. <a href="https://doi.org/10.5194/gmd-19-9077-2026" rel="noopener noreferrer">https://doi.org/10.5194/gmd-19-9077-2026</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.5194/gmd-19-9077-2026" rel="noopener noreferrer">10.5194/gmd-19-9077-2026</a></p>
<p><strong>Keywords:</strong> radiative transfer, NEMO, Black Sea, biogeochemical modelling, ocean optics, sea surface reflectance, phytoplankton, CDOM, BGC-Argo, remote sensing, Copernicus Marine Service, stochastic modelling</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">256470</post-id>	</item>
		<item>
		<title>Virtual Rain Turns Sparse Rainfall Records Into High-Resolution Storm Data</title>
		<link>https://scienmag.com/virtual-rain-turns-sparse-rainfall-records-into-high-resolution-storm-data/</link>
		
		<dc:creator><![CDATA[Violet Maxwell]]></dc:creator>
		<pubDate>Thu, 08 Oct 2026 21:06:01 +0000</pubDate>
				<category><![CDATA[Earth Science]]></category>
		<category><![CDATA[Technology and Engineering]]></category>
		<category><![CDATA[CoSMoS-2s]]></category>
		<category><![CDATA[disaggregation]]></category>
		<category><![CDATA[flood risk]]></category>
		<category><![CDATA[flood risk assessment]]></category>
		<category><![CDATA[Geoscientific Model Development]]></category>
		<category><![CDATA[high-resolution rainfall modeling]]></category>
		<category><![CDATA[hydrological data interpolation]]></category>
		<category><![CDATA[hydrology]]></category>
		<category><![CDATA[hydrology and water resource management]]></category>
		<category><![CDATA[IDF curves]]></category>
		<category><![CDATA[integrated rainfall generation algorithms]]></category>
		<category><![CDATA[multifractal random cascade]]></category>
		<category><![CDATA[open-source rainfall simulation tools]]></category>
		<category><![CDATA[open-source software]]></category>
		<category><![CDATA[rainfall and storm event modeling]]></category>
		<category><![CDATA[rainfall data gaps and filling]]></category>
		<category><![CDATA[Rainfall data synthesis]]></category>
		<category><![CDATA[rainfall simulation]]></category>
		<category><![CDATA[stochastic modelling]]></category>
		<category><![CDATA[sub-daily rainfall record creation]]></category>
		<category><![CDATA[time series generation]]></category>
		<category><![CDATA[Tuscia University]]></category>
		<category><![CDATA[virtual rainfall data generation]]></category>
		<category><![CDATA[weather data disaggregation methods]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=249469</guid>

					<description><![CDATA[An open-source toolkit called Virtual Rain now lets hydrologists generate realistic synthetic rainfall and convert ordinary daily records into minute-scale storm data without needing scarce high-resolution observations.]]></description>
										<content:encoded><![CDATA[<p>Rain is one of the most fundamental inputs to hydrology, yet one of the hardest to observe well. Flood modellers, dam engineers, and water resource managers all depend on long, detailed rainfall records, but the reality on the ground is starkly uneven. While daily precipitation readings stretch back decades at thousands of weather stations worldwide, continuous measurements at the minute scale needed for flood analysis are rare, patchy, and often missing entirely. A new open-source software toolkit called Virtual Rain, described in the journal Geoscientific Model Development, promises to close that gap by generating realistic synthetic rainfall series and converting everyday daily data into high-resolution sub-daily records.</p>
<p>Developed by Francesco Cappelli, Salvatore Grimaldi, Andrea Petroselli, and Emanuele Santinami of Tuscia University in Viterbo, Italy, Virtual Rain v1.0 does not invent new rainfall mathematics. Instead, its novelty lies in integration. For the first time, two previously separate and validated methodologies, the CoSMoS-2s daily rainfall generator and the Multifractal Random Cascade disaggregation model, are available together in a single, reproducible software environment, implemented through Python and R routines and mirrored on an interactive web platform that requires no programming skills.</p>
<p>The problem the toolkit addresses is structural. Hydrologists typically have access to long daily precipitation time series, often spanning several decades, plus fragmentary observations of short, intense storms used to build intensity-duration-frequency curves, the workhorse charts of infrastructure design. What they lack is continuous sub-daily data, which stochastic precipitation models need in abundance to capture the multiscale structure of rainfall. Existing generators and disaggregation techniques abound in the literature, but choosing and wiring together an appropriate combination has remained a genuine obstacle for practitioners, particularly in data-sparse regions.</p>
<p>Virtual Rain&#8217;s first module tackles daily simulation using CoSMoS-2s, a two-state stochastic framework that explicitly separates rainfall occurrence from rainfall intensity. In the first state, the observed record is transformed into a binary wet-or-dry process, with seasonally varying occurrence probabilities and autocorrelation structures mapped into a Gaussian autoregressive model and converted back through thresholds. In the second state, wet-day rainfall amounts are fitted with parametric distributions, including Gamma, Generalized Gamma, Burr, and Weibull families, while their persistence is reproduced through parametric or empirical autocorrelation functions. The two components are then recombined, allowing the synthetic series to preserve intermittency, seasonal cycles, marginal distributions, and temporal dependence simultaneously.</p>
<p>The second module performs the disaggregation. It assumes that rainfall intensity evolves as a multiplicative cascade, a multifractal process in which the mean intensity at each timescale is redistributed through random weights following a beta-lognormal distribution. Three parameters govern the cascade: one controlling intermittency and the share of dry intervals, one governing the intensity fluctuations, and an outer-scale parameter defining the range of the multifractal behaviour. Crucially, rather than demanding high-resolution observations for calibration, the model derives these parameters from IDF curves, matching theoretical multifractal intensity-duration relationships to the target curves through numerical optimization. Because IDF information is widely available even where fine-scale gauges are not, this dramatically broadens the framework&#8217;s reach.</p>
<p>The toolkit guides users through a structured workflow. On the simulation side, routines handle exploratory plotting, fitting of seven candidate marginal distributions using the Nelder-Mead algorithm, estimation of autocorrelation structures for both the binary and continuous processes, ensemble generation of synthetic series, and diagnostic comparison of observed versus simulated statistics, from dry-day probability to extreme percentiles. On the disaggregation side, routines extract annual maxima, fit generalized extreme value distributions by maximum likelihood, probability weighted moments, or L-moments, calibrate the cascade parameters against IDF targets, and finally break daily totals down to resolutions as fine as one minute, with an option to preserve daily rainfall volumes exactly.</p>
<p>To demonstrate the software, the authors applied the complete workflow to a rain gauge in the Arno River Basin in Tuscany, one of Italy&#8217;s longest river systems, using a 20-year daily record from a network of more than 70 gauges with continuous 15-minute observations. The Gamma distribution emerged as the best overall fit for wet-day intensities, and an ensemble of 50 synthetic series successfully reproduced the observed dry frequency, seasonal cycle, autocorrelation, and ranked annual maxima, with only a slight overestimation in the upper tail that the authors attribute to the limited sample of wet days in a record that is nearly 70 percent dry. The imposed IDF scaling exponent, estimated at 0.251 from the observed sub-daily data, and the dry-day frequency were both recovered exactly in the disaggregated output, confirming that the integrated pipeline preserves the statistical properties it is calibrated to reproduce.</p>
<p>The authors are careful about what the case study does and does not show. Because the same observational record serves for calibration and diagnostics, the comparison verifies the software implementation rather than validating predictive performance on independent data, and the methodological validation of the underlying models rests on earlier publications. They also flag honest limitations: parameter uncertainty is not yet propagated through the full simulation-disaggregation chain, some combinations of cascade parameters can fit equally well, and short or incomplete records can produce unstable estimates. Diagnostic outputs, they stress, should be treated as an integral part of model configuration, not an afterthought.</p>
<p>What makes Virtual Rain potentially transformative is accessibility. Beyond the Python and R routines, an interactive web platform walks users step by step from data upload through seasonal partitioning, distribution fitting, ensemble diagnostics, cascade calibration, and final disaggregation, with both interfaces implementing identical formulations and parameterizations. The software is archived on Zenodo under a GPL-3.0 licence, and the Tuscan rainfall data are openly available under a Creative Commons licence. For engineers designing drainage systems, researchers assessing flood risk under climate change, or teachers demonstrating stochastic hydrology, the toolkit lowers a barrier that has long separated sophisticated rainfall theory from everyday practice, turning decades of ordinary daily rain gauges into a window on the violent, minute-scale storms that matter most.</p>
<p><strong>Subject of Research:</strong> Stochastic simulation and temporal disaggregation of rainfall time series for hydrological modelling</p>
<p><strong>Article Title:</strong> Virtual Rain v1.0: a unified toolkit for high-resolution rainfall simulation and disaggregation</p>
<p><strong>Article References:</strong> Cappelli, F., Grimaldi, S., Petroselli, A., &amp; Santinami, E. (2026). Virtual Rain v1.0: a unified toolkit for high-resolution rainfall simulation and disaggregation. <em>Geoscientific Model Development, 19</em>(19), 9489-9518. <a href="https://doi.org/10.5194/gmd-19-9489-2026" rel="noopener noreferrer">https://doi.org/10.5194/gmd-19-9489-2026</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.5194/gmd-19-9489-2026" rel="noopener noreferrer">10.5194/gmd-19-9489-2026</a></p>
<p><strong>Keywords:</strong> rainfall simulation, stochastic modelling, disaggregation, CoSMoS-2s, multifractal random cascade, IDF curves, flood risk, hydrology, open-source software, time series generation, Geoscientific Model Development, Tuscia University</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">249469</post-id>	</item>
		<item>
		<title>New Algorithm Simulates Gene Frequency Histories Exactly, Even as Populations Change Size</title>
		<link>https://scienmag.com/new-algorithm-simulates-gene-frequency-histories-exactly-even-as-populations-change-size/</link>
		
		<dc:creator><![CDATA[Juliet Wilcox]]></dc:creator>
		<pubDate>Sun, 04 Oct 2026 14:08:57 +0000</pubDate>
				<category><![CDATA[Biology]]></category>
		<category><![CDATA[allele frequency]]></category>
		<category><![CDATA[BMC Bioinformatics]]></category>
		<category><![CDATA[computational biology]]></category>
		<category><![CDATA[demographic changes in populations]]></category>
		<category><![CDATA[demographic history in genetic simulations]]></category>
		<category><![CDATA[demography]]></category>
		<category><![CDATA[diffusion bridge]]></category>
		<category><![CDATA[evolutionary biology simulation tools]]></category>
		<category><![CDATA[exact gene frequency simulation algorithms]]></category>
		<category><![CDATA[exact simulation]]></category>
		<category><![CDATA[gene frequency simulation]]></category>
		<category><![CDATA[genetic drift]]></category>
		<category><![CDATA[genetic drift and natural selection]]></category>
		<category><![CDATA[genetic variation over generations]]></category>
		<category><![CDATA[mutation]]></category>
		<category><![CDATA[population genetics]]></category>
		<category><![CDATA[population size fluctuations]]></category>
		<category><![CDATA[selection]]></category>
		<category><![CDATA[software for genetic modeling]]></category>
		<category><![CDATA[stochastic modelling]]></category>
		<category><![CDATA[stochastic processes in genetics]]></category>
		<category><![CDATA[Wright–Fisher diffusion]]></category>
		<category><![CDATA[Wright–Fisher diffusion model]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=235274</guid>

					<description><![CDATA[Researchers have unveiled EWF 2.0, an exact simulation algorithm that generates statistically perfect allele frequency trajectories under the Wright–Fisher diffusion even when population size changes over time, with no added computational cost.]]></description>
										<content:encoded><![CDATA[<p>Population geneticists have long relied on a deceptively simple mathematical object to describe how the frequency of a gene variant waxes and wanes over generations: the Wright–Fisher diffusion. This stochastic process captures the random drift of allele frequencies under the combined influence of mutation, natural selection and the randomness of reproduction in finite populations. Yet a stubborn technical gap has persisted at the heart of the simulation methods built on this model. Most real populations do not maintain a constant size through time; they expand after bottlenecks, crash during famines, and migrate across landscapes. When demography varies, the mathematics of the diffusion changes character, and the exact simulation algorithms that researchers have painstakingly developed over the past decade simply stop working. A new piece of software, described in BMC Bioinformatics, closes that gap.</p>
<p>The tool, called EWF 2.0, was developed by Jaromir Sant of the University of Turin and the Collegio Carlo Alberto, together with Paul A. Jenkins, Jere Koskela and Dario Spanò of the University of Warwick and Newcastle University. It extends an earlier line of work known as the EWF algorithms, which allow researchers to draw exact samples from the Wright–Fisher diffusion — that is, to generate simulated allele frequency trajectories whose statistical properties match the theoretical model perfectly, without the approximation errors that plague standard numerical schemes. The crucial innovation in version 2.0 is that the population size is no longer required to be constant. Instead, the demographic history can change over time, which mathematically turns the drift coefficient of the diffusion into a time-inhomogeneous one: a process whose random dynamics depend explicitly on when you look at it.</p>
<p>To appreciate why this matters, it helps to understand what exact simulation means in this context. The Wright–Fisher diffusion is a stochastic differential equation, and the most common way to simulate such equations is to discretise time into small steps and approximate the motion between them. These Euler-type schemes are easy to implement but introduce bias: the simulated trajectories are not true draws from the model, and the bias can be difficult to quantify, particularly for quantities that depend on the fine structure of the path rather than just its endpoints. Exact algorithms sidestep this problem entirely. Using clever probabilistic constructions — often based on rejection sampling ideas in which a candidate path is proposed and then accepted or rejected according to criteria that guarantee the output has exactly the right distribution — they produce trajectories that are statistically indistinguishable from the real thing, whatever the intended application.</p>
<p>The difficulty with time-varying demography is that these rejection-based constructions were designed for diffusions with fixed coefficients. When the population size changes, the drift term of the allele frequency dynamics acquires a time-dependent factor, and the bounds and transformations that make the earlier algorithms valid no longer hold. Previous versions of EWF could handle time-varying mutation and selection in certain settings, but the demographic component had to remain static. Since virtually every dataset from natural populations — humans, livestock, pathogens, crop species — carries the imprint of a fluctuating census history, this limitation was a serious obstacle for anyone hoping to use exact simulation in realistic inference pipelines.</p>
<p>EWF 2.0 removes that obstacle. According to the authors, the algorithm accommodates a specified demographic history alongside mutation parameters, a selection function and a set of sampling times, and from those inputs it generates exact draws from the law of the corresponding Wright–Fisher diffusion. Perhaps more strikingly, it can also simulate diffusion bridges: trajectories that are conditioned to start at one allele frequency and end at another. Bridge simulation is a notoriously hard problem, because the conditioning fundamentally alters the dynamics of the process, and the authors note that existing methods cannot handle time-varying mutation and selection rates in this setting. Bridges are precisely what many statistical applications need, since inferring past evolutionary forces often amounts to asking which hidden paths most plausibly connect observed genetic data points collected at different times.</p>
<p>The applications of such a tool extend across modern population genetics. Ancient DNA studies, for example, now routinely provide snapshots of allele frequencies at multiple time points separated by hundreds or thousands of generations. Reconstructing the trajectories between those snapshots — and quantifying the uncertainty around them — requires simulating bridges under a model that includes the demographic history inferred from archaeological and genomic evidence. Similarly, forward-time simulations used to benchmark inference methods, to test the power of genome-wide association designs, or to explore how selection responds to environmental change all benefit from trajectories that are exact rather than approximate. Any bias in the simulator propagates into the conclusions drawn from it, so the guarantee of exactness is not a mathematical luxury but a practical safeguard.</p>
<p>The authors validated their implementation using distributional tests, including Kolmogorov–Smirnov tests and quantile-quantile plots, which compare the empirical distribution of simulated quantities against theoretical expectations. Agreement in these tests provides strong evidence that the algorithm samples from the intended law, since even subtle biases in a simulation scheme tend to show up as systematic deviations in such comparisons. Equally important from a practical standpoint is the performance result: despite its greater generality, EWF 2.0 retains the same runtime as previous versions of the algorithm. Adding the flexibility of time-varying demography therefore comes at no computational penalty, which the authors highlight as ensuring efficiency and scalability for large-scale simulation studies.</p>
<p>The software is written up as an open-access methods paper and the code is freely available on GitHub, lowering the barrier for other groups to adopt it. In a field where simulation underpins everything from method validation to likelihood-free inference, a tool that combines exactness, demographic realism and competitive speed is likely to find rapid uptake. The work was supported by funding from the Italian Ministry of University and Research through a PRIN 2022 grant financed by the European Union&#8217;s Next Generation EU programme, reflecting the increasingly international and computationally oriented character of statistical genetics research.</p>
<p>Looking at the broader picture, the advance illustrates a familiar pattern in computational science: the gap between the models researchers want to use and the models their tools can actually handle. The Wright–Fisher diffusion with time-varying demography has been part of the theoretical literature for decades, and approximate simulators have long been able to produce plausible-looking trajectories under it. What was missing was the guarantee — the assurance that a simulated history is a genuine draw from the specified model rather than an artefact of numerical approximation. By extending exact simulation into the time-inhomogeneous regime, EWF 2.0 brings a foundational class of population genetic models fully within reach of rigorous simulation-based inference, and it does so without asking practitioners to sacrifice speed. For studies probing how genes rose and fell across the shifting demographic tides of the past, that combination may prove hard to resist.</p>
<p><strong>Subject of Research:</strong> Exact simulation of allele frequency trajectories under the Wright–Fisher diffusion with time-varying demography</p>
<p><strong>Article Title:</strong> EWF 2.0: exact sampling of allele trajectories using the Wright–Fisher diffusion with time-varying demography</p>
<p><strong>Article References:</strong> Sant, J., Jenkins, P. A., Koskela, J., &amp; Spanò, D. (2026). EWF 2.0: exact sampling of allele trajectories using the Wright–Fisher diffusion with time-varying demography. <em>BMC Bioinformatics</em>. <a href="https://doi.org/10.1186/s12859-026-06576-z" rel="noopener noreferrer">https://doi.org/10.1186/s12859-026-06576-z</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.1186/s12859-026-06576-z" rel="noopener noreferrer">10.1186/s12859-026-06576-z</a></p>
<p><strong>Keywords:</strong> Wright–Fisher diffusion, exact simulation, population genetics, allele frequency, demography, genetic drift, selection, mutation, diffusion bridge, computational biology, stochastic modelling, BMC Bioinformatics</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">235274</post-id>	</item>
	</channel>
</rss>
