KWKevin J. Wilson

Kevin J. Wilson

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Kevin J. Wilson has a total of 43 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Bayesian design and analysis of two-arm cluster randomised trials using assurance: Extension to binary outcomes and comparison of Markov chain Monte Carlo and Integrated Nested Laplace Approximations

    by Abdullah Aloufi, Kevin J Wilson, Nina Wilson, Lisa Shaw, Christopher Price

    Background/Aims: Bayesian designs for clinical trials using assurance to choose the sample size have been proposed in various trial contexts. Assurance allows for the incorporation of uncertainty on both the treatment effect and nuisance parameters into the sample size calculation. In the case of two-arm cluster randomised trials with continuous outcomes, assurance has been proposed with both a frequentist analysis (hybrid designs) and a Bayesian analysis (fully Bayesian designs). A Bayesian analysis in this context ensures a consistent treatment of probability throughout the design and analysis of the trial. In the fully Bayesian design, inference has been achieved via Markov chain Monte Carlo sampling, and since assurance itself is evaluated via simulation, the result is a computationally intensive and often slow-to-run approach. In the case of two-arm cluster randomised trials with binary outcomes, assurance has not yet been explored to specify sample sizes, either in the hybrid or fully Bayesian case. Methods: This article considers fully Bayesian designs for two-arm cluster randomised trials with continuous and binary outcomes. For the analysis of the trial, we use a (generalised) linear mixed-effects model. We summarise the inference for the treatment effect based on quantiles of the posterior distribution. We use assurance to choose the sample size. In the continuous case, we investigate Integrated Nested Laplace Approximations for inference to speed up calculation of the assurance and compare Integrated Nested Laplace Approximations in computation time and accuracy to Markov chain Monte Carlo. In the binary case, we develop the first fully Bayesian design for cluster randomised trials and conduct a similar comparison between Integrated Nested Laplace Approximations and Markov chain Monte Carlo. We demonstrate our novel approach using assurance to choose sample sizes for the SPEEDY cluster randomised trial, based on the results of a formal prior elicitation exercise with two clinical experts. Results: We report comparisons of Integrated Nested Laplace Approximations and Markov chain Monte Carlo for a range of different scenarios for cluster randomised controlled trials (RCTs), to determine when each inference scheme should be used, balancing the computational cost in terms of speed and accuracy. Overall Markov chain Monte Carlo with a very large number of samples produces very accurate inference but does not scale well in terms of computational speed compared to Integrated Nested Laplace Approximations. Based on our simulation study, we recommend that Integrated Nested Laplace Approximations is used for inference in cluster trials with binary outcomes and large ( n > 500) cluster trials with continuous outcomes, and that Markov chain Monte Carlo is used in smaller ( n ≤500) cluster trials with continuous outcomes. Our case study demonstrated how to incorporate the uncertainty of trial clinicians into the sample size calculation to give an overall assessment of the likelihood of success of the trial. Conclusion: A fully Bayesian design can be used for two-arm cluster trials with both continuous and binary outcomes. Integrated Nested Laplace Approximations can allow for more efficient assessment of the assurance for cluster trials with binary outcomes and large cluster trials with continuous outcomes, without loss of accuracy in inference. A fully Bayesian design of a cluster randomised trial provides a coherent design and analysis framework and incorporates uncertainty in model parameters when choosing the sample size.

  • Open Access

    Targeting a hypothetical estimand based on adherence with the parametric g-formula: A post hoc secondary analysis of the MET-PREVENT randomised controlled trial

    by Shaun Hiu, Nina Wilson, Kevin Wilson, Nan Lin, Miles D Witham, James Wason

    Background We conducted a post hoc secondary analysis of the MET-PREVENT randomised placebo-controlled trial to target a hypothetical estimand - the mean difference in physical performance, as measured by the 4-metre walk speed at four months after randomisation, between treatment arms - under the hypothetical scenario that all participants adhered to assigned treatment. Methods We viewed the targeting of this hypothetical estimand as a type of causal mediation problem, where randomisation is a binary exposure, adherence is a binary mediator, there is an exposure-mediator interaction, and mediator-outcome confounders that are caused by the exposure (e.g., gastrointestinal symptoms) are present. We used the parametric g-formula to estimate the average controlled direct effect (CDE) of metformin (versus placebo) on 4-metre walk speed, which is interpreted as the average treatment effect under the hypothetical scenario that all trial participants adhered to assigned treatment. Variables identified as confounders were informed by a literature review and discussions with an expert; assumptions about the causal structure were represented in a directed acyclic graph. We applied a probabilistic bias analysis (PBA) to understand the potential for bias assuming adherence had been misclassified; observed adherence based on returned tablet count may be an inaccurate version of "true adherence" based on actual consumption. Results Our sample size was 70 trial participants (34 metformin, 36 placebo). Our estimate of the CDE was 0.072 [percentile-based bootstrap 95% CI -0.292, 0.445]. Results from PBA indicated that the greater the extent of misclassification, the more the CDE may be estimated with bias and with over-optimistic precision. Conclusions Our study provided supporting information on metformin's potential role as a repurposed medication to improve physical performance in nondiabetic older adult patients with physical prefrailty/frailty and probable sarcopenia. Unlike the main trial results, our results do not rule out the possibility of a meaningful benefit of metformin, provided that full adherence can be assured. We highlighted the parametric g-formula as a useful method in trials to target hypothetical estimands that are concerned with treatment adherence.


  • Forecasting Gas Demand

    by Sarah E. Heaps, Kevin J. Wilson, Malcolm Farrow

  • Open Access

    Hybrid sample size calculations for cluster randomised trials using assurance

    by S. Faye Williamson, Svetlana V Tishkovskaya, Kevin J Wilson

    Background/Aims: Sample size determination for cluster randomised trials is challenging because it requires robust estimation of the intra-cluster correlation coefficient. Typically, the sample size is chosen to provide a certain level of power to reject the null hypothesis in a two-sample hypothesis test. This relies on the minimal clinically important difference and estimates for the overall standard deviation, the intra-cluster correlation coefficient and, if cluster sizes are assumed to be unequal, the coefficient of variation of the cluster size. Varying any of these parameters can have a strong effect on the required sample size. In particular, it is very sensitive to small differences in the intra-cluster correlation coefficient. A relevant intra-cluster correlation coefficient estimate is often not available, or the available estimate is imprecise due to being based on studies with low numbers of clusters. If the intra-cluster correlation coefficient value used in the power calculation is far from the unknown true value, this could lead to trials which are substantially over- or under-powered. Methods: In this article, we propose a hybrid approach using Bayesian assurance to determine the sample size for a cluster randomised trial in combination with a frequentist analysis. Assurance is an alternative to traditional power, which incorporates the uncertainty on key parameters through a prior distribution. We suggest specifying prior distributions for the overall standard deviation, intra-cluster correlation coefficient and coefficient of variation of the cluster size, while still utilising the minimal clinically important difference. We illustrate the approach through the design of a cluster randomised trial in post-stroke incontinence and compare the results to those obtained from a standard power calculation. Results: We show that assurance can be used to calculate a sample size based on an elicited prior distribution for the intra-cluster correlation coefficient, whereas a power calculation discards all of the information in the prior except for a single point estimate. Results show that this approach can avoid misspecifying sample sizes when the prior medians for the intra-cluster correlation coefficient are very similar, but the underlying prior distributions exhibit quite different behaviour. Incorporating uncertainty on all three of the nuisance parameters, rather than only on the intra-cluster correlation coefficient, does not notably increase the required sample size. Conclusion: Assurance provides a better understanding of the probability of success of a trial given a particular minimal clinically important difference and can be used instead of power to produce sample sizes that are more robust to parameter uncertainty. This is especially useful when there is difficulty obtaining reliable parameter estimates.


  • Open Access

    NUBO: A Transparent Python Package for Bayesian Optimization

    by Mike Diessner, Kevin J. Wilson, Richard D. Whalley

    NUBO, short for Newcastle University Bayesian Optimisation, is a Bayesian optimization framework for the optimization of expensive-to-evaluate black-box functions, such as physical experiments and computer simulators. Bayesian optimization is a costefficient optimization strategy that uses surrogate modelling via Gaussian processes to represent an objective function and acquisition functions to guide the selection of candidate points to approximate the global optimum of the objective function. NUBO itself focuses on transparency and user experience to make Bayesian optimization easily accessible to researchers from all disciplines. Clean and understandable code, precise references, and thorough documentation ensure transparency, while user experience is ensured by a modular and flexible design, easy-to-write syntax, and careful selection of Bayesian optimization algorithms. NUBO allows users to tailor Bayesian optimization to their specific problem by writing the optimization loop themselves using the provided building blocks. It supports sequential single-point, parallel multi-point, and asynchronous optimization of bounded, constrained, and/or mixed (discrete and continuous) parameter input spaces. Only algorithms and methods that are extensively tested and validated to perform well are included in NUBO. This ensures that the package remains compact and does not overwhelm the user with an unnecessarily large number of options. The package is written in Python but does not require expert knowledge of Python to optimize your simulators and experiments. NUBO is distributed as open-source software under the BSD 3-Clause license.


  • Open Access

    On the development of a practical Bayesian optimisation algorithm for expensive experiments and simulations with changing environmental conditions

    by Mike Diessner, Kevin J. Wilson, Richard D. Whalley

    Experiments in engineering are typically conducted in controlled environments where parameters can be set to any desired value. This assumes that the same applies in a real-world setting -- an assumption that is often incorrect as many experiments are influenced by uncontrollable environmental conditions such as temperature, humidity and wind speed. When optimising such experiments, the focus should lie on finding optimal values conditionally on these uncontrollable variables. This article extends Bayesian optimisation to the optimisation of systems in changing environments that include controllable and uncontrollable parameters. The extension fits a global surrogate model over all controllable and environmental variables but optimises only the controllable parameters conditional on measurements of the uncontrollable variables. The method is validated on two synthetic test functions and the effects of the noise level, the number of the environmental parameters, the parameter fluctuation, the variability of the uncontrollable parameters, and the effective domain size are investigated. ENVBO, the proposed algorithm resulting from this investigation, is applied to a wind farm simulator with eight controllable and one environmental parameter. ENVBO finds solutions for the full domain of the environmental variable that outperforms results from optimisation algorithms that only focus on a fixed environmental value in all but one case while using a fraction of their evaluation budget. This makes the proposed approach very sample-efficient and cost-effective. An off-the-shelf open-source version of ENVBO is available via the NUBO Python package.

  • Open Access

    Bayesian design and analysis of two‐arm cluster randomized trials using assurance

    by Kevin J. Wilson

    We consider the design of a two-arm superiority cluster randomized controlled trial (RCT) with a continuous outcome. We detail Bayesian inference for the analysis of the trial using a linear mixed-effects model. The treatment is compared to control using the posterior distribution for the treatment effect. We develop the form of the assurance to choose the sample size based on this analysis, and its evaluation using a two loop Monte Carlo sampling scheme. We assess the proposed approach, considering the effect of different forms of prior distribution, and the number of Monte Carlo samples needed in both loops for accurate determination of the assurance and sample size. Based on this assessment, we provide general advice on each of these choices. We apply the approach to the choice of sample size for a cluster RCT into poststroke incontinence, and compare the resulting sample size to that from assurance based on a Wald test for the treatment effect. The Bayesian approach to design and analysis developed in this article can offer advantages in terms of an increase in the robustness of the chosen sample size to parameter mis-specification and reduced sample sizes if prior information indicates the treatment effect is likely to be larger than the minimal clinically important difference.


  • Open Access

    Optimisation and Analysis of Streamwise-Varying Wall-Normal Blowing in a Turbulent Boundary Layer

    by Joseph O’cOnnor, Mike Diessner, Kevin Wilson, Richard D. Whalley, Andrew Wynn, Sylvain Laizet

    Skin-friction drag is a major engineering concern, with wide-ranging consequences across many industries. Active flow-control techniques targeted at minimising skin friction have the potential to significantly enhance aerodynamic efficiency, reduce operating costs, and assist in meeting emission targets. However, they are difficult to design and optimise. Furthermore, any performance benefits must be balanced against the input power required to drive the control. Bayesian optimisation is a technique that is ideally suited to problems with a moderate number of input dimensions and where the objective function is expensive to evaluate, such as with high-fidelity computational fluid dynamics simulations. In light of this, this work investigates the potential of low-intensity wall-normal blowing as a skin-friction drag reduction strategy for turbulent boundary layers by combining a high-order flow solver () with a Bayesian optimisation framework. The optimisation campaign focuses on streamwise-varying wall-normal blowing, parameterised by a cubic spline. The inputs to be optimised are the amplitudes of the spline control points, whereas the objective function is the net-energy saving (NES), which accounts for both the skin-friction drag reduction and the input power required to drive the control (with the input power estimated from real-world data). The results of the optimisation campaign are mixed, with significant drag reduction reported but no improvement over the canonical case in terms of NES. Selected cases are chosen for further analysis and the drag reduction mechanisms and flow physics are highlighted. The results demonstrate that low-intensity wall-normal blowing is an effective strategy for skin-friction drag reduction and that Bayesian optimisation is an effective tool for optimising such strategies. Furthermore, the results show that even a minor improvement in the blowing efficiency of the device used in the present work will lead to meaningful NES.


  • Open Access

    Investigating Bayesian optimization for expensive-to-evaluate black box functions: Application in fluid dynamics

    by Mike Diessner, Joseph O'Connor, Andrew Wynn, Sylvain Laizet, Yu Guan, Kevin Wilson, Richard D. Whalley

    Bayesian optimization provides an effective method to optimize expensive-to-evaluate black box functions. It has been widely applied to problems in many fields, including notably in computer science, e.g. in machine learning to optimize hyperparameters of neural networks, and in engineering, e.g. in fluid dynamics to optimize control strategies that maximize drag reduction. This paper empirically studies and compares the performance and the robustness of common Bayesian optimization algorithms on a range of synthetic test functions to provide general guidance on the design of Bayesian optimization algorithms for specific problems. It investigates the choice of acquisition function, the effect of different numbers of training samples, the exact and Monte Carlo based calculation of acquisition functions, and both single-point and multi-point optimization. The test functions considered cover a wide selection of challenges and therefore serve as an ideal test bed to understand the performance of Bayesian optimization to specific challenges, and in general. To illustrate how these findings can be used to inform a Bayesian optimization setup tailored to a specific problem, two simulations in the area of computational fluid dynamics are optimized, giving evidence that suitable solutions can be found in a small number of evaluations of the objective function for complex, real problems. The results of our investigation can similarly be applied to other areas, such as machine learning and physical experiments, where objective functions are expensive to evaluate and their mathematical expressions are unknown.

  • Open Access

    Investigating Bayesian optimization for expensive-to-evaluate black box functions: Application in fluid dynamics

    by Mike Diessner, Joseph O'COnnor, Andrew Wynn, Sylvain Laizet, Yu Guan, Kevin Wilson, Richard D. Whalley

    Bayesian optimization (BO) provides an effective method to optimize expensive-to-evaluate black box functions. It has been widely applied to problems in many fields, including notably in computer science, e.g., in machine learning to optimize hyperparameters of neural networks, and in engineering, e.g., in fluid dynamics to optimize control strategies that maximize drag reduction. This paper empirically studies and compares the performance and the robustness of common BO algorithms on a range of synthetic test functions to provide general guidance on the design of BO algorithms for specific problems. It investigates the choice of acquisition function, the effect of different numbers of training samples, the exact and Monte Carlo (MC) based calculation of acquisition functions, and both single-point and multi-point optimization. The test functions considered cover a wide selection of challenges and therefore serve as an ideal test bed to understand the performance of BO to specific challenges, and in general. To illustrate how these findings can be used to inform a Bayesian optimization setup tailored to a specific problem, two simulations in the area of computational fluid dynamics (CFD) are optimized, giving evidence that suitable solutions can be found in a small number of evaluations of the objective function for complex, real problems. The results of our investigation can similarly be applied to other areas, such as machine learning and physical experiments, where objective functions are expensive to evaluate and their mathematical expressions are unknown.