Skip to main content
PLOS One logoLink to PLOS One
. 2024 Dec 10;19(12):e0305882. doi: 10.1371/journal.pone.0305882

Creating simple predictive models in ecology, conservation and environmental policy based on Bayesian belief networks

Victoria Dominguez Almela 1, Abigail R Croker 2,¤, Richard Stafford 3,*
Editor: Abroon Qazi4
PMCID: PMC11630608  PMID: 39656738

Abstract

Predictive models are often complex to produce and interpret, yet can offer valuable insights for management, conservation and policy-making. Here we introduce a new modelling tool (the R package ‘BBNet’), which is simple to use, and requires little mathematical or computer programming background. By using straightforward concepts to describe interactions between model components, predictive models can be effectively constructed using basic spreadsheet tools and loaded into the R package. These models can be analysed, visualised, and sensitivity tested to assess how information flows through the system’s components and provide predictions for future outcomes of the systems. This paper provides a theoretical background to the models, which are modified Bayesian belief networks (BBNs), and an overview of how the package can be used. The models are not fully quantitative, but outcomes between different modelled scenarios can be considered ordinally (i.e. ranked from ‘best’ to ‘worse’). Parameterisation of models can also be through data, literature, expert opinion, questionnaires and/or surveys of opinion, which are expressed as a simple ‘weak’ to ‘very strong’ or 1–4 integer value for interactions between model components. While we have focussed on the use of the models in environmental and ecological problems (including with links to management and social outcomes), their application does not need to be restricted to these disciplines, and use in financial systems, molecular biology, political sciences and many other disciplines are possible.

1. Introduction

The paucity of quantitative skills in the environmental workforce and among graduate students is well documented [1, 2]. Meanwhile, quantitative ecology continues to create and develop increasingly sophisticated models, embracing complex mathematics and AI principles [3, 4]. This creates difficulties for many environmental professionals; not only is modelling not an available tool without employment of specialists, but the complexity of the models and their outcomes often makes it hard to convince decision makers and end users of their validity. This is especially true for AI approaches like Artificial Neural Networks, which lack transparency in how predictions are made [57].

Unlike some of the complexity of ecological models, environmental policy’s evidence needs are often quite basic (e.g. ensuring a situation does not get worse, or a population is on an increasing trajectory). Such coarse levels of prediction can also be useful to ecologists and conservationists who may subsequently try to validate models through data collection and experimentation [6, 8, 9]. However, policy and conservation decisions are rarely made in isolation. The effects on other components of the wider ‘system’, including the rest of the ecosystem, ecosystem services, local communities, employment, and health, also need to be considered [10, 11].

Bayesian belief networks (BBNs) are tools which can be used to model system behaviours and have been used in a number of ecological applications [8, 1216]. Technically they are probabilistic graphical methods, more simply, they model complex systems through probabilities assigned to different components of a system (e.g. species in a foodweb) and the interactions between these components (i.e. trophic interactions between species) [8]. They are capable of using a variety of information sources in their design and parameterisation, from field data through to qualitative data and expert opinion [8, 17]. As such, they can be useful tools to model understudied systems, or to study interactions between systems (such as interactions between ecological and social systems) [15, 17, 18].

However, the complexity of most systems means that multiple interactions and multiple drivers are frequently affecting any single component of a system (e.g. a given species might be competing with many others for resources, as well as feeding on a variety of species, and being predated by many others).With traditional BBNs, such complexity requires complex model parameterisation and building models can become overwhelming and impossible to populate beyond just (largely uneducated) guesswork. Furthermore, the inability of reciprocal feedback between network nodes (i.e. reciprocal competition between species, or the consideration of both bottom-up and top-down processes acting simultaneously) and inability to construct feedback loops also limit their use in ecological disciplines [19]. In complex systems, there is also a tendency for ‘signal loss’ as signals or changes propagate through the network, meaning that the predicted effect of a change becomes smaller and smaller until it is almost indetectable, making it difficult to interpret the outcomes of the models [12, 19].

More recent work has modified these BBNs approaches by simplifying the development of models with complex interactions and implementing programming loops to determine reciprocal interactions. Additionally, automated computer decision making has been used to ensure signals propagate through the network [8]. Computational methods to help estimate uncertainty have also been incorporated in some models [20]. The models have been used on a variety of ecological and socio-ecological systems and to help examine the effects of environmental policies at local and national/international levels [20, 21]. Furthermore, while software related issues still arose, the fundamental principles of these models and their construction and parameterisation did not require detailed modelling knowledge. These tasks could be successfully achieved within a few hours by first year undergraduate students [22]. As such, the ‘BBNet’ package puts tools for constructing and interpreting ecological models in the hands of a far broader number of environmental scientists and professionals than has previously been the case.

The purpose of this paper is to present (1) the underlying theory of the modified Bayesian belief networks, (2) introduce the ‘BBNet’ package as a user-friendly interface for ecological and environmental researchers and practitioners with limited modelling experience to produce useful and meaningful models, and (3) suggest a workflow for the formulation of these models, including parameterisation of the model and dealing with uncertainty.

2. Theoretical basis

Bayesian belief networks (BBNs) are a modelling approach where interactions between different components of complex systems can be examined and predictions can be made for components of interest in these systems, as such, they can be used to make environmental or ecological predictions. For example, in foodwebs with multiple interacting species, an increase in the population size of one species can impact the entire ecological community, and relative changes to each population can be predicted by the model. However, models are not limited to foodwebs. They can also be used to investigate the effects of biological, economic, or policy changes on species, ecosystem functions, ecosystem services, and socio-economic outcomes (examples of these are in the references above).

More technically, BBNs create models based on causal graphs. Essentially a series of nodes (which may represent aspects of interest in the model, e.g. species, ecosystem services, laws, social outcomes) are connected by directional edges (direct relationships between the aspects of interest or between individual nodes). The relationship between nodes is defined by the edges–a fixed parameter of how the child node will respond if the parent node changes. These relationships are based on Bayesian inference, although non-Bayesian processes are also used to allow processes such as feedback loops and reciprocal interactions and to prevent signal loss (see below in the current section). Only direct cause and effect relationships are defined by the edges, indirect effects are an outcome of the modelling process. The theoretical basis for the model is based on that in Stafford et al. (2015) [8] and is described below. A number of updates and additional useful tools are provided in the ‘BBNet’ package, described in the functions below (section 3), which provide additional functionality to understand and visualise the models and to examine information flow through the models.

Within the ‘BBNet’ package each edge in the is given network an integer value between -4 and 4 to indicate the belief that a specific child node may increase or decrease, given an increase in the parent node. Negative numbers for edges equate to a mathematical negative relationship between nodes–i.e. an increase in the parent node will lead to a decrease in the child node. Positive numbers for edges equate to a mathematical positive relationship between nodes—i.e. an increase in the parent node will lead to an increase in the child node. A value of 0 does not need to be used for edges, as essentially the edge can be removed from the network.

Nodes are also given values between -4 and 4. These are the ‘prior’ values of each node, and these values can change as the model runs (unlike edge values, which do not change). Negative values equate to a reduction in the node (e.g. if the node represents a species, a negative value would indicate a decline in the population of the species). Positive values represent an increase in the node (e.g. an increase in population size). In complex social-ecological systems, there tends to be greater certainty over large events and their impacts, and greater uncertainty over smaller events and their emergent properties. Therefore, a value of 4 indicates high certainty over a greater magnitude of change in each node, and a value of -4 indicates low certainty over a lesser magnitude of change (see Table 1 for details of determining parameters for ‘prior’ nodes and edges). Prior values are only set for nodes where known changes will occur–e.g. if an intervention to cull a species was proposed, only the species culled would have a ‘prior’ value. Other nodes would be left with no prior knowledge (values of 0) and the effects on these nodes would be calculated by the model.

Table 1. Parameterisation values of edges and priors in the model.

Input value Edge values Prior values
4 (or -4) Strong relationship between parent and child node, creating a clear and noticeable cause and effect relationship. Full (> 95%) agreement between sources for the relationship Full or large magnitude implementation of a change (i.e. doubling a large population size, increasing costs by 70–100%). It would be difficult to implement the change in greater detail
3 (or -3) Strong relationship between parent and child node, creating a clear and noticeable cause and effect relationship. Good agreement between sources for the relationship (>75% of data agree)
OR
Moderate relationship between parent and child nodes. Difference is detectable but may not be obvious. Full agreement between sources for the relationship
Moderate to large scale implementation of a change–i.e. removing 50% of a moderately abundant population
2 (or -2) Moderate relationship between parent and child nodes. Difference is detectable but may not be obvious. Good agreement between sources for the relationship (>75% of data agree)
OR
Weak relationship between parent and child nodes. Difference is apparent in studies but might not always be significant (i.e. due to low sample size). Full (> 95%) agreement between sources for the relationship
Small to moderate change. e.g. deer culling to remove 10% of deer
1 (or -1) Weak relationship between parent and child nodes. Difference is apparent in studies but might not always be significant (i.e. due to low sample size). Good agreement between sources for the relationship (>75% of data agree) Smaller than above
0 No relationship, or large disagreement between sources No direct change

In determining edge values and prior node values, thought should be given to the spatial and temporal aspects which require modelling. The model has no direct temporal or spatial components (although an order of events can be investigated using some of the functions below). Temporal and spatial dimensions need to be considered in the edge and prior values, with an awareness that these may need to be changed if the temporal or spatial constraints of the model change. A biological example of temporal and spatial consideration is given in the case of starvation in the description of the rocky shore model below (section 3.1.1). In this example, small changes in species numbers will be important due to the limited spatial component of the model (communities are on isolated boulders), yet the limited duration of the model means that while grazing may have top down effects, starvation (a bottom up effect) is unlikely to have an effect on predators and grazers, and these interactions (or potential edges) are not included in the model. Other examples considering spatial and temporal aspects could include comparison of wildfires vs. controlled burning. Over a short timescale (i.e. days), and a small spatial area (e.g. the area of a controlled burn), both will have similar effects on the ecological communities, decimating biodiversity which was present. However, at a larger spatial scale, controlled burning may have much less impact than an uncontrolled fire. At longer spatial scales (months to years) the effects on biodiversity will also change (for example, there may be benefits of fire to biodiversity).

The use of integer values between -4 and 4 are added for purposes of clarity in building the model and are transferred to a value between 0 and 1 for the purposes of calculations. P(Xi) (the probability of the node increasing) is derived from the integer values from -4 to 4 (Table 2). Note, that due to there always being some uncertainty in complex systems, both in terms of knowing a node will increase or decrease, and in terms of interactions between nodes, probabilities of both priors and edges have maximum values of 0.9 and minimum values of 0.1, rather than 1 and 0.

Table 2. Transformations of prior node values and edge strengths from inputted values to those used for calculations.

Input value Value used in calculations for increase
-4 0.1
-3 0.2
-2 0.3
-1 0.4
0 0.5
1 0.6
2 0.7
3 0.8
4 0.9

In the following equations, the probability of a node decreasing (P(Xd)) is calculated by Eq 1:

P(Xi)+P(Xd)=1 [1]

With subscripts i and d indicate increasing or decreasing respectively for the nodes.

Intermediate probabilities of each node increasing given the different interactions from all connecting nodes are calculated using the following Bayesian equation:

P(Xi|Y)=[P(Xi|Yi)*P(Yi)+P(Xi|Yd)*P(Yd)] [2]

where X is the node under consideration (the child node), and Y are the interacting nodes (parent nodes, considered one at a time). These values are calculated for each interacting node.

Where there is no knowledge of a change in value of node Y (i.e. the prior probability of change is 0.5) then this node is not included in the above equation (however, such inclusion might occur in future iterations of the model where the value of the node may have changed).

At this point, no ‘prior’ information on node X is included in the calculation. To ensure any prior knowledge available is maintained in the network, and to allow reciprocal interactions and feedback loops, the overall posterior probability for each node is calculated in two ways, the first ensuring that additional information on node interactions add to the certainty provided by the prior, the second will ignore prior values if information on species interactions provide more certain information (i.e. a value further away from 0.5) than the prior:

Post(Xi)=P(Xi)+|1P(Xi)|*[1n(P(Xi)*(P(Xi|Y)0.5))/n] [3]

and

Post(Xi)=[1n(P(Xi|Y))]/n [4]

where n is the number of interactions with species X. The final value of Post(Xi) is given by the value displaying the most certainty (i.e. furthest in magnitude from 0.5). The model is then repeated for further iterations to allow information to propagate through the network, but with updated prior probabilities such that:

P(Xi)=Post(Xi) [5]

The model then runs through additional iterations. When all iterations of the model are completed (four iterations are included in the bbn.predict() function, some functions allow this to be altered), conversion back to a -4 to 4 scale occurs using the following equation (note, these final posterior values are not integers):

Finalchange=10×(Post(Xi)0.5) [6]

Importantly, only nodes with known prior changes are altered in any scenarios provided at the start of a model (see also section 4.4). For example, if simulating a manipulative ecological experiment where a species of grazer was removed from an area, only the prior for this species of grazer would be altered, with the model calculating the predicted changes to other species based on the edge values already assigned to interacting nodes.

Technically, BBNs calculate the probability of a node increasing or decreasing. However, given difficulties in distinguishing probabilities (i.e., belief or certainty of a node increasing or decreasing) from magnitude for most natural phenomena (see [20]), the inclusion of Eqs 1 and 2 above disrupt the pure calculation of probability and help prevent signal loss through the network, allowing for more meaningful predictions. The conversion back to -4 to 4 reinforces this amalgamation of probability and magnitude, by not presenting the data as a probability. While this conversion means that model outputs cannot be treated as interval or ratio data (i.e., you cannot numerically measure the differences between values -4 to 4), these values can be compared across different models and act as ordinal variables as a minimum (i.e. different scenarios can be ranked by changes to variables of interest, as per [21]).

3. The ‘BBNet’ package

The ‘BBNet’ Package consists of a series of functions to create and obtain results from causal graph models, as well as two examples of systems with various implemented scenarios. The example datasets are discussed, followed by each of the package functions. Additional information, beyond the basis of the model described in section 2 above, is provided below, where it relates to particular functions in the package.

The ‘BBNet’ package is available from both CRAN and GitHub (https://github.com/vda1r22/bbnet).

You can install the stable version of ‘BBNet’ from CRAN or GitHub with:

install.packages("bbnet") or

devtools::install_github("vda1r22/bbnet")

All data files discussed are available as datasets within the package, or as.csv files in S1 File. Further information on datasets and requirements are provided in a video tutorial (S2 File). A video tutorial on running the model is provided in S3 File. The R markdown script used in the video is provided in S4 File.

3.1 Example datasets

3.1.1 Rocky shore ecology

The BBN model here uses the interactions described previously [8]. It is a simple model of rocky shore interactions (trophic interactions and competition) between species on isolated boulders on a rocky shore. It is designed for scenarios relating to experimental manipulation of predator and grazer abundance on isolated boulders over a 4–8 week period, and as such, trophic interactions are top down only (starvation is unlikely to occur in this time period, but populations are small, given the spatial isolation of the community on boulders–see discussion in [8]). Five csv files are provided (S1 File). (1) RockyShoreNetwork.csv provides the edge strengths for the network. These are given as values between -4 to +4 (converted as per Table 1 before running the model) and represent the probability of a child node increasing given that the parent node was increasing (with a value of 1 after conversion to 0 to 1 values). In this file, when opened in a spreadsheet, the node listed at the start of each row affects the indicated species in each column (see S2 File, creating input files). (2) Dogwhelk_Removal.csv is a scenario for the model, and provides initial prior values for each node (note, all nodes have the value of 0, or no change, other than dogwhelks)–this scenario represents a removal of all dogwhelks from the area. (3) Winkle_addition.csv is a scenario node representing the addition of periwinkles to an area. (4) Combined_treatment.csv represents a removal of dogwhelks and addition of periwinkles to an area. (5) RockyShoreNetworkDiagram.csv is a slightly altered version of the edge strengths model -see above–in this case, it contains additional parameters for use with the BBN.network.diagram() function and has been used with this function to produce Fig 1.

Fig 1. Interaction diagram of the rocky shore model, produced by the BBN.visualise() function.

Fig 1

Nodes are colour coded to represent functional groups (white = algae, grey = predator, orange = grazers, yellow = filter feeders). Arrows point from the parent node to the child node. Red arrows indicate negative interactions between nodes. Black arrows (not present in this figure) represent positive interactions.

3.1.2 MPA management

This example contains 3 data files (S1 File). The network model here (MPANetwork.csv) is based around a simple foodweb in a Marine Protected Area (MPA), but also includes human activities (fishing and scuba diving) and an overall indication of revenue from the area (from fishing and diving activities). No management measures are included in the model, but the scenarios indicate how these can be implemented–i.e. a potting ban (NoPotting.csv) will reduce the lobster fishery node. A no take scenario (NoTake.csv) will affect both fishing nodes. Again, it is only the direct effects which are accounted for in the scenario nodes, the model determining the changes to other nodes (e.g. an increase in diving due to more fish and lobsters is not included as a model prior value in any scenario).

3.2 ‘BBNet’ package functions

3.2.1 bbn.predict()making predictions, bootstrapping and outputting data

This is the main predictive function, requiring an interaction network in the format of a n+1 by n matrix or dataframe (where n is the number of nodes, row names form the first column, but the column names are imported as a header, resulting in the extra column of row names), indicating edge strengths between each node (see examples in sections 3.1 and S2 File for detailed requirements). It also requires between 1 and 12 scenarios (each scenario represented by a 2 x n dataframe where n is the number of nodes in the network) which show initial changes to some of the prior values of the nodes. All of these files should have integer values ranging between -4 and 4, indicating the degree to which the node increases (negative numbers therefore represent a decrease), with scenario files having values of 0 for nodes with no prior information, and the interaction network matrix having blank values where no edges connect nodes.

The function offers potential to ‘bootstrap’ the outputs of the model to understand inherent uncertainty. Such uncertainty can arise due to the exact parameterisation of edges and priors, and the fact that some interactions have larger changes in magnitude on child nodes than others. As such, bootstrapping allows the uncertainty of the predictions to be visualised as error bars. Bootstrapping involves randomly selecting and modifying edge strengths to determine overall changes to the posterior node values. This bootstrapping process is run multiple times (number determined by user–see “boot_max” below) and 95% confidence intervals of the output of each parameter are calculated by removing the highest and lowest 2.5% of values for each posterior node (as per methods in [23]). These confidence intervals are applied to the actual values calculated using unadjusted parameters. If bootstrapping is applied to the modelling process, then the first run through does not adjust any parameters and is displayed as the ‘point’ or filled circle in any figures produced, or the first column of any numeric output produced.

R Function and arguments

bbn.predict(BBN.model, priors1, …, boot_max, values, figure, font.size)

Required arguments

bbn.model - a matrix or dataframe of interactions between different model nodes (as described above)

priors1 - an X by 2 array of initial changes to the system under investigation for a given scenario.

Optional Arguments

… priorS2 - priors12 - as above, but additional scenarios.

boot_max - the number of bootstraps to perform. Suggested range for exploratory analysis 1–1000. For final analysis recommended size = 1000–10000—note, this can take a long time to run. Default value is 1, running with no bootstrapping—suitable for exploration of data and error checking.

values - default value 1. This provides a numeric output of posterior values and any confidence intervals. Set to 0 to hide this output.

figure - default value 1. Sets the figure options. 0 = no figures produced. 1 = figure is saved in working directory as a PDF file (note, this is overwritten if the name is not changed, and no figure is produced if the existing PDF is open when the new one is generated). 2 = figure is produced in a graphics window. All figures are combined on a single plot where scenario 2 is below scenario 1 (i.e. scenarios work in columns then rows).

font.size - default = 5. This sets the font size on the figures.

Example

my_BBN <- read.csv(’RockyShoreNetwork.csv’, header=T)

dogwhelk <- read.csv(’Dogwhelk_Removal.csv’, header = T)

winkle <- read.csv(’Winkle_addition.csv’, header = T)

combined <- read.csv(’Combined_Treatment.csv’, header = T)

bbn.predict(bbn.model = my_BBN, priors1 = dogwhelk, priors2 = winkle, priors3= combined, figure = 2, boot_max = 100, values = 0, font.size = 7)

3.2.2. bbn.timeseries() understanding node behaviour over different timesteps

This function helps visualise the flow of information through the network and how changes progress through the network over time (e.g. changes occurring in one parameter before another—as per trophic cascade or ecological succession type processes). It should be noted that the exact values from these functions do not correspond to the more robust bbn.predict() which should be used to inform of likely changes (this function does not implement Eqs 2 and 3 detailed in the theoretical basis above).

As for bbn.predict() we need to pass the function a network model and a scenario as a minimum. In this case, only one scenario can be analysed at once. The output is a graph of each node in the network, visualised across the different timesteps in the model. Note—values are plotted on each graph and lines of best fit are drawn using the geom_smooth function. Typically this function may not perform well with the variability in values and lack of data points, and multiple warning messages may be produced, but the shape of the response is still visible.

R Function and arguments

bbn.timeseries(BBN.model, priors1, timesteps, disturbance)

Required arguments

bbn.model - a matrix or dataframe of interactions between different model nodes as per above.

priors1 - an X by 2 array of initial changes to the system under investigation. The first column should be a -4 to 4 (including 0) integer value for each node in the network with negative values indicating a decrease and positive values representing an increase. 0 represents no change.

Optional Arguments

timesteps - default = 5. This is the number of timesteps the model performs. Note, timesteps are arbitrary and non-linear. However, something occurring in timestep 2, should occur before timestep 3.

disturbance - default = 1. 1—creates a prolonged or press disturbance as per the bbn.predict() function. Essentially prior values for each manipulated node are at least maintained (if not increased through reinforcement in the model) over all timesteps. 2—shows a brief pulse disturbance, which can be useful to visualise changes as peaks and troughs in increase and decrease of nodes can propagate through the network

Example

my_BBN <- read.csv(’RockyShoreNetwork.csv’, header=T)

dogwhelk <- read.csv(’Dogwhelk_Removal.csv’, header = T)

bbn.timeseries(bbn.model = my_BBN, priors1 = dogwhelk, timesteps = 5, disturbance = 2)

3.2.3. BBN.visualise()visualising information flow through the network over model timesteps

This produces similar data to bbn.timeseries() (section 3.2.2) but in a very different visual format. A network diagram (similar to Fig 1) is produced, consisting of all nodes. Each node is ordinally weighted with the biggest increase in black and the smallest increase (which potentially is a decrease) in white. Not all edges are plotted, only those exceeding a certain threshold. This allows the flow of information through the network to be visualised at each timestep more clearly.

R Function and arguments

bbn.visualise(BBN.model, priors1, timesteps, disturbance, threshold, font.size, arrow.size)

Required arguments

bbn.model - a matrix or dataframe of interactions between different model nodes

priors1- an X by 2 array of initial changes to the system under investigation. The first column should be a -4 to 4 (including 0) integer value for each node in the network with negative values indicating a decrease and positive values representing an increase. 0 represents no change.

Optional Arguments

timesteps - default = 5. This is the number of timesteps the model performs. Note, timesteps are arbitrary and non-linear. However, something occurring in timestep 2, should occur before timestep 3.

disturbance - default = 1. 1—creates a prolonged or press disturbance as per the bbn.predict() function. Essentially prior values for each manipulated node are at least maintained (if not increased through reinforcement in the model) over all timesteps. 2—shows a brief pulse disturbance, which can be useful to visualise changes as peaks and troughs in increase and decrease of nodes can propagate through the network

threshold - default = 0.2. Nodes which deviate from 0 by more than this threshold value will display interactions with other nodes. As mentioned, values in these visualisation functions don’t directly correspond to those in the bbn.predict()function. This value can be tweaked from 0 to 4 to create the most useful visualisations.

font.size - default = 0.7. Changes the font in the figure produced. The value here is a multiplier of the default font size used in the ‘igraph’ package and does not correspond to the font.size argument in the bbn.timeseries() function.

arrow.size - default = 4. Changes the size of the arrows. Note, sizes do vary based on interaction strength, so this is a multiplier for visualisation purposes.

Example

my_BBN <- read.csv(’RockyShoreNetwork.csv’, header=T)

dogwhelk <- read.csv(’Dogwhelk_Removal.csv’, header = T)

bbn.visualise(bbn.model = my_BBN, priors1 = dogwhelk, timesteps = 5, disturbance = 2, threshold=0.05, font.size=0.7, arrow.size=4)

3.2.4 BBN.sensitivity() running sensitivity analysis

For some methods of model parameterisation, extensive data extraction from literature, or expert opinion can be useful. However, this is time consuming, and being aware of the most sensitive edge parameters in the model which may affect the desired outputs could help concentrate efforts. This function produces a list of the most important edge parameters (interaction strengths) that might require further examination, with importance increasing with numerical value (frequency number).

The function works by bootstrapping, consisting of multiple changes to prior values and interaction strengths in the network (the same process used for bootstrapping in the bbn.predict() function: selecting 10% of interactions in each iteration and adjusting them by a randomly determined amount of up to ± 0.1, based on the probability values, rather than the integer input values). The frequency value produced shows the number of times a modified interaction shows up as important in causing a change to the listed nodes (the edge is counted as important each time it is changed and subsequently is in the 25% of bootstrapped cases which caused the biggest changes in the defined nodes of importance). As such, those interactions showing as more frequent in the table or figure are likely to be most influential in any predictions made. These edge values should be subject to closer scrutiny in terms of values used. Note, this does not mean the values are incorrect or should be reduced from more extreme values—i.e. from 4 to 3, just that they should be carefully checked, e.g. through literature searches, agreement amongst experts etc.

Required arguments

bbn.model - a matrix or dataframe of interactions between different model nodes

One or more nodes (recommended no more than 3) which would be the main outcomes of interest in the model. The spelling of these nodes needs to be identical (including capital letters) to that in the imported csv file (note, you should include spaces if these are in your csv file, rather than the dot notation used once imported into R)–see example below for more details.

Optional arguments

boot_max - the number of bootstraps to perform. Suggested range for exploratory analysis 100–1000. For final analysis recommended size = 1000–10000—note, this can take a long time to run. Default value is 1000.

Example

bbn.sensitivity(bbn.model = my_BBN, boot_max = 100, ’Limpet’, ’Green Algae’)

3.2.5 BBN.network.diagram() creating a diagram of the network

This function visualises all nodes and interactions in a network, in a similar manner to the bbn.visualise() function (section 3.2.3), other than the full network, including all edges are shown. The strengths and directions of the edges are shown, but information ‘flow’ is not shown, and no scenarios are included in the function. Nodes can also be colour coded by theme. For simple models, this function can produce a visual representation of the model of interest, but for complex models, the visual representation is hard to interpret.

This function requires a slightly different input file, based on the normal BBN interaction model file. The first column is called id and consists of an ‘s’ and a 2-digit number relating to the node number (e.g. s01, s02 and so on). The second column is called node.type and is an integer value from 1–4. This sets the colour of the node in the network (sticking to a maximum of four colours). For example, predators, grazers, filter feeders and algae could be colour coded separately. The third column is the same as the first column in the standard BBN interaction csv, other than it is titled node.name. It is important to use these column names (including capitals and dot notation). The remainder of the columns are exactly as the standard BBN interaction csv file (see S1 File in the Rocky Shore model for an example csv file or S2 File for further details of file requirements).

Required arguments

bbn.network - a csv file as described above, with note paid to the first three column names.

Optional arguments

font.size - default = 0.7. Changes the font in the figure produced. The value here is a multiplier of the default font size used in the ‘igraph’ package and does not correspond to the font.size argument in the bbn.timeseries() function.

arrow.size - default = 4. Changes the size of the arrows. Note, sizes do vary based on interaction strength, so this is a multiplier for visualisation purposes. Negative interactions are shown by red arrows, and positive interactions by black arrows.

arrange - this describes how the final diagram looks. Default is layout_on_sphere but layout_on_grid provides the same layout as in the bbn.visualise() function and ensures nodes are structured in the order specified in the network. Other layouts, including layout_on_sphere are more randomly determined, and better/clearer diagrams may occur if you run these multiple times. Other options are from the ‘igraph’ package:

layout.sphere

layout.circle

layout.random

layout.fruchterman.reingold

Examples

bbn.network.diagram(bbn.network = my_network, font.size = 0.7, arrow.size = 4, arrange = layout_on_sphere)

bbn.network.diagram(bbn.network = my_network, font.size = 0.7, arrow.size = 2, arrange = layout_on_grid)

4. Creating and parameterising ‘BBNet’ models

There are many ways to create BBNs models, with differing degrees of time commitment and robustness, depending on the purpose of the final model. For example, models can be created and parameterised based on interactions assumed to be correct by the model developer. If these models were used to develop hypotheses to test experimentally, then this method would be suitable–empirical data would support or reject the models developed. A simple model, such as the rocky shore model discussed above, could be likely developed from ‘best guess’ estimates of the parameters in less than an hour. However, models used to make predictions which are not empirically tested may take much longer to develop and involve careful consideration over the nodes, edges, and interaction strengths. We discuss how to develop the model step by step, and considerations of each stage below.

4.1 Determining nodes

In some cases, such as for a species interaction web, determining nodes can be straightforward, as each node represents a species, or higher taxonomic group, in the area of interest. For example, in the rocky shore model provided [8] (Fig 1), the snail species were those commonly found on the boulders (other snail species were rare at <1% of total abundance). Seaweeds and barnacles were categorised on higher taxonomic classifications, with the assumption that all species within each grouping would respond in a similar manner to grazing pressure or competition. When wider environmental aspects, ecosystem functions and services, and socio-economics are added to models, the choice of nodes becomes more complex. Firstly, there will be output nodes—equivalent of dependent variables, or aspects of the system which need measurement. For example, this could be the relative abundance of a protected species, the economic value of an ecosystem service, or the amount of carbon sequestered within a habitat. Output nodes representing socioeconomic or cultural aspects that are not typically quantified require greater consideration, thinking about what an increase or decrease in this node represents in a meaningfully way. For example, a concept such as ‘community acceptance’ might be hard to quantify with traditional metrics, but the model will show if this is increasing or decreasing. There will also be clear input nodes which may have their prior values altered in the development of scenarios, such when exploring changes in policy and management, (e.g. preventing fishing in a marine protected area) or experimental manipulations (e.g. excluding grazing deer from a section of heathland). The intermediate nodes become a little more difficult to determine and relate to typical modelling issues of the need for sufficient detail. BBNs model direct interactions between nodes, so a direct causal link should be established between all nodes in a model. However, as long as there is sufficient scope to include conflicts between different pathways, then the nodes can be quite broad scale. For example, an increase in mature tree coverage in an area is likely to lead to increased carbon sequestration, there would be no need to model photosynthetic pathways, for example. However, if the aim of a model was to address whether rewilding an area through natural succession was to increase carbon sequestration, then a direct link from rewilding to carbon sequestration would be incorrect. Rewilding may lead to various processes (including changes in predation and grazing) which may influence the amount of woodland, grassland, heathland, and other habitats in an area. A direct link between amount of woodland and carbon sequestration (and perhaps between grassland and heathland and carbon sequestration, but at different interaction strengths) can be made, but the amount of woodland will vary depending on other ecological factors.

Nodes must therefore capture the appropriate amount of detail needed for the model to be useful, without including excessive detail. For instance, if the link between amount of habitat and an ecosystem service are well established, but the mechanisms by which the habitat provides the ecosystem services are unclear, including the mechanism would reduce certainty and predictive power in the model and should, therefore, be avoided.

4.2 Determining edges

All nodes in the network should interact with other nodes via one or more edges. Unless a node is a clear ‘output node’ (see section 4.1), it should connect downstream to a child node. Equally, unless a node is a clear ‘input node’, it should act as a child node in the network. These rules, however, are not exclusive–an input node may be affected by another node in a network, and an output node can still be measured and go on to affect further nodes. Nodes can also have multiple edges as inputs or outputs. Edges are also directional. This means that node A can have an effect on node B, but node B will not have an effect on node A. Reciprocal interactions are possible (e.g. interspecific competition between species, where species A and B are nodes in the network) but are not required. For example, in the Rocky Shore model described (Fig 1), competition interactions are reciprocal, but trophic interactions were one way, with predators affecting prey only, due to the time over which the results were modelled (see [8] for details). In ‘BBNet’ each edge acts independently on a node as per Eqs 4 and 5 (see section 2). This allows for much more complex networks to be built than traditional Bayesian belief networks, which require conditional probability matrices to be built when multiple edges act on a node. While some degree of control is lost in the model as a result, careful thought about model structure can overcome this (see S5 File). Finally, edges can represent either positive or negative interactions. These are defined mathematically, where a positive interaction creates a directional change in a child node in the same direction as the parent node (i.e. an increase in the parent node leads to an increase in the child node). A negative interaction creates a difference in direction between child and parent nodes (i.e. an increase in the parent node leads to a decrease in the child node). Care is needed here, especially when human-centric value judgements can be placed on the nodes. For example, increased use of fossil fuels has a [mathematically] positive effect on climate change (as one increases, so does the other). The models need this specified as a positive interaction although we tend to associate this as a negative outcome for society and the environment.

4.3 Determining edge strengths

Edges are given integer values between -4 and 4, where negative values indicate mathematically negative interactions between parent and child nodes. Values of zero indicate no interaction, but for simplicity these should be left blank in the interaction matrix file. Decimal values will cause the ‘BBNet’ package to crash and should not be used. The purpose of limiting interaction strengths to these integer values is to make the network easier to parameterise when limited information may be available. Given the output of the model can be described as ‘ordinal’ between scenarios, these levels of interaction strength are enough to provide clear differences between outputs and evaluate different scenarios. The bbn.sensitivity() function can also highlight parameters which cause the biggest differences to the outputs of the models, and therefore need the most data or highest certainty to parameterise (section 3.3.4; see S3 File for an example based on the rocky shore model).

It is possible to use published and grey literature to aid in the parameterisation process. Equally, quantitative or qualitative evidence from field or laboratory studies, interviews, focus groups, expert opinion, Delphi surveys can also inform the design and parametrisation of the models (section 4.5). The amount of evidence and agreement between studies, people or sources will help form the final values used in the model (for example, see [24] for a framework for a four stage degree of confidence framework). However, the magnitude of the change is also important. We suggest Table 1 is used to help formulate the edge and prior strengths.

4.4 Creating scenarios

Scenarios are changes to some of the nodes of a network. Prior node values are changed to integer values between -4 and 4 if these are directly manipulated or directly influenced nodes in a system. For example, in the rocky shore model, one scenario is the removal of dogwhelks from the system. All dogwhelks were removed, so the prior value was set to -4 (see Table 2). No further changes are made to the priors. The effect on dogwhelk removal on other aspects of the community are determined by the model as the numeric change in dogwhelks flows through the network. Another scenario involved removing dogwhelks and increasing periwinkles. In this case, prior values are changed for dogwhelks and periwinkles, as these are directly manipulated, but not for other nodes (see S3 File for an example based on the rocky shore model).

Changes in law and policy can also be included in model scenarios. In the MPA management scenario a potting ban was implemented by reducing the lobster fishery (setting the prior to -4), and a total fishing ban to setting both lobster and finfish fisheries nodes to -4. Where policies are thought to be weak or ineffective, values other than +/- 4 can be used to indicate this inherent weakness in the policy.

It is possible to include policy nodes when building models, and these nodes can be connected to relevant model nodes via edges. For example, a lobster fishing ban policy node could be linked to the lobster fishing node with an edge set to -4. This approach can be beneficial in complex policy scenarios or when multiple nodes change due to policy implementation. However, it is generally simpler to represent the effects of policies directly in a basic model by adjusting the priors.

The ‘BBNet’ model prevents signal loss (Eqs 3 and 4 in section 2), meaning that priors in the bbn.predict() function only change when they become more certain (i.e. closer in value to 4 or -4). This means that when a prior is intended to be important measured outcomes of the model, the process to prevent signal loss may limit the model’s ability to determine the overall influence of the system on that particular prior node. In these cases, developing a policy node, as described earlier, allows for the examination of all nodes (other than policy nodes). For example, implementing a lobster fishing ban in the MPA system could lead to an increase in lobster population, which might result in more illegal lobster fishing. If the lobster fishing ban is implemented by simply changing the lobster fishing node prior to -4, the model would be unable to predict this increase in illegal fishing, as such activity would move this node towards zero (indicating less certainty). However, having a policy node for the lobster fishing ban set to -4 as a prior, connected to the lobster fishing node with an edge of -4, would prevent the policy node from changing, while allowing the lobster fishing node to increase to reflect the rise in illegal fishing.

4.5 Involving others in building the model

The relative intuitiveness of the network model approach does lend itself to a collaborative model and scenario building process. Indeed, while a framework for scoring interaction strengths has been given; for models which are going to be used beyond the scope of hypothesis development, it is useful to have multiple people involved in designing and parametrising models. BBNs can be built from expert opinion. Processes such as the Delphi method can be used to obtain agreement on nodes and edges [25], and potentially even interaction strength. Disagreements can be resolved by assigning disputed edge strengths based on data or literature (as per Table 2) or assessing the importance of the interaction under question using the sensitivity analysis functions. Stakeholder groups can also inform nodes, edges and edge strengths in the BBNs [18].

Stakeholder interaction and consultation can also be useful for refining the models and ensuring maximum trust in the model outputs [26]. In particular, stakeholders may have views different from scientific experts or scientific literature on some topics (e.g. the effects of fishing [27]). Such disagreements may involve building two or more models to compare the results of these disagreements. Stakeholders can also design scenarios for exploration, based on how policy, management, environmental conditions etc. may affect the system being considered. Given the relative ease of creating scenarios, it may be possible to produce and analyse these in real time in meetings with stakeholder groups.

Another application of BBNs is in the aiding of transfer of knowledge between academics and practitioners (e.g. government policy makers). These models, even if quickly produced, can facilitate dialogue between academic knowledge and potential implications and consequences of policy formation [20]. They can also be tailored to specific requirements and outcomes. Using BBNs as a mechanism for information transfer between academic and practitioner sectors may facilitate some of the difficulties currently faced in these knowledge exchange activities [28].

5. Conclusions

We have presented an approach to predictive ecological and environmental modelling (which can link to social science outcomes e.g. [15, 18]) which can be rapid to develop, easy to use (albeit with some degree of training or troubleshooting support) and intuitive to understand key concepts and outcomes, particularly for non-specialists including policy makers and NGOs. The methodological overview presented here and the R package functions for the ‘BBNet’ package provide a framework for the use of these models and a user-friendly interface for creating and analysing the models.

BBNs models will not fulfil every requirement of current modelling processes, and do not produce fully quantitative data (e.g. estimates of fish biomass in tonnes, or value of ecosystem services in US$). They do, however, allow different scenarios to be explored and evaluated relative to each other [21], predict the direction of change in various parts of a system [16], and handle complex systems with environmental, ecological, and social aspects [20].

Additionally, the ‘BBNet’ package can account for feedback loops within the system over varying timescales [8]. It can be used to develop hypotheses which can be tested empirically [8], produce results which inform policy [20], capture community and management group understanding [18], and address concerns and facilitate dialogue with practitioners [18]. However, it can also produce meaningful research outputs in their own right and gain understanding of complex system dynamics.

While we have focussed on the use of the models in environmental problems, their application does not need to be restricted to this, and use in financial systems, molecular biology, political sciences, and many other disciplines are likely possible (as an example, the ‘BBNet’ package has been used to model the high level financial and political landscape of the UK and predict how different outcomes of the 2024 general election would change this landscape [29]).

Supporting information

S1 File. Input files for edges and priors for each of the two example models.

See section 3.1 for further details.

(ZIP)

pone.0305882.s001.zip (3.3KB, zip)
S2 File. Tutorial video of input file requirements for the ‘BBNet’ package.

(MP4)

Download video file (46.9MB, mp4)
S3 File. Tutorial video of running ‘BBNet’ functions using provided data files.

(MP4)

Download video file (92.7MB, mp4)
S4 File. R Markdown script with necessary functions and example R code to import input files and run ‘BBNet’ functions.

(RMD)

pone.0305882.s004.Rmd (13.8KB, Rmd)
S5 File. Tutorial video on incorporating more complex probability matrices in ‘BBNet’ through model structure.

(MP4)

Download video file (18.7MB, mp4)

Data Availability

All data is included as supplementary material. All R code is available on Github at https://github.com/vda1r22/bbnet.

Funding Statement

The author(s) received no specific funding for this work.

References

  • 1.NERC. 2012. Most Wanted II. Postgraduate and Professional Skills Needs in the Environment Sector. Natural Environmental Research Council: Swindon. [Google Scholar]
  • 2.Barraquand F, Ezard THG, Jørgensen PS, Zimmerman N, Chamberlain S, Salguero-Gómez R, et al. 2014. Lack of quantitative training among early-career ecologists: a survey of the problem and potential solutions. PeerJ 2:e285 doi: 10.7717/peerj.285 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.AlAdwani M., Saavedra S. 2020. Ecological models: higher complexity in, higher feasibility out J. R. Soc. Interface.17:20200607 10.1098/rsif.2020.0607 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Han BA, Varshney KR, LaDeau S, Subramaniam A, Weathers KC, Zwart J. 2023. A synergistic future for AI and ecology. Proceedings of the National Academy of Sciences 120: e2220283120. doi: 10.1073/pnas.2220283120 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Cartwright SJ, Bowgen KM, Collop C, Hyder K, Nabe-Nielsen J, Stafford R, et al. 2016. Communicating complex ecological models to non-scientist end users. Ecological Modelling. 338: 51–59. 10.1016/j.ecolmodel.2016.07.012 [DOI] [Google Scholar]
  • 6.Schuwirth N, Borgwardt F, Domisch S, Friedrichs M, Kattwinkel M, Kneis D, et al. 2019. How to make ecological models useful for environmental management. Ecological Modelling. 411: 108784. 10.1016/j.ecolmodel.2019.108784 [DOI] [Google Scholar]
  • 7.Pichler M, Hartig F. 2023. Machine learning and deep learning—A review for ecologists. Methods in Ecology and Evolution. 14: 994–1016. 10.1111/2041-210X.14061 [DOI] [Google Scholar]
  • 8.Stafford R, Williams RL, Herbert RJ. 2015. Simple, policy friendly, ecological interaction models from uncertain data and expert opinion. Ocean & Coastal Management. 118:88–96. 10.1016/j.ocecoaman.2015.04.013 [DOI] [Google Scholar]
  • 9.Caldararu S, Rolo V, Stocker BD, Gimeno TE, Nair R. 2023. Ideas and perspectives: Beyond model evaluation–combining experiments and models to advance terrestrial ecosystem science, Biogeosciences, 20, 3637–3649, 10.5194/bg-20-3637-2023 [DOI] [Google Scholar]
  • 10.Pow R, Holmes M. 2017. Thinking differently about our environment: a holistic approach to policy. Conservative Environmental Network: London. Available from: https://www.helenwhately.org.uk/files/2017-09/CEN%20report.pdf [Google Scholar]
  • 11.Diarra A. 2022. Holistic environmental polices have the opportunity to address health disparities. Here’s how. OECD Tackling Coronavirus (Covid-19). Available from: https://www.oecd-forum.org/posts/holistic-environmental-policies-have-the-opportunity-to-address-health-disparities-here-s-how [Google Scholar]
  • 12.Lee DC. 2000. Assessing land-use impacts on bull trout using Bayesian belief networks. In: Quantitative methods for conservation biology, Ferson S (ed). Springer: New York. pp. 127–147. [Google Scholar]
  • 13.Hammond T.R., Ellis J.R., 2002. A meta-assessment for elasmobranchs based on dietary data and Bayesian networks. Ecol. Indic. 1, 197–211. 10.1016/S1470-160X(02)00005-5 [DOI] [Google Scholar]
  • 14.Langmead O, McQuatters-Gollop A, Mee LD, Friedrich J, Gilbert AJ, Gomoiu MT, et al. 2009. Recovery or decline of the northwestern Black Sea: a societal choice revealed by socio-ecological modelling. Ecol. Model. 220, 2927–2939. 10.1016/j.ecolmodel.2008.09.011 [DOI] [Google Scholar]
  • 15.Stafford R., Clitherow T.J., Howlett S.J., Spiers E.K.A., Williams R.L., Yaselga B., et al. 2016. An integrated evaluation of potential management processes on marine reserves in continental Ecuador based on a Bayesian belief network model. Ocean and Coastal Management. 121: 60–69. 10.1016/j.ocecoaman.2015.12.010 [DOI] [Google Scholar]
  • 16.Spiers E.K.A., Stafford R., Ramirez M., Vera Izurieta D.F., Cornejo M. and Chavarria J., 2016. Potential role of predators on carbon dynamics of marine ecosystems as assessed by a Bayesian belief network. Ecological Informatics. 36: 77–83. 10.1016/j.ecoinf.2016.10.003 [DOI] [Google Scholar]
  • 17.Založnik M., Bonsall M. B., & Harper S. 2021. The Qualitative Stage of Building Bayesian Belief Networks in a Focus Group Setting: Decision-Making under Uncertainty among Vietnamese Rice Farmers. Sociological Methods & Research, 50: 75–102. 10.1177/0049124118769094 [DOI] [Google Scholar]
  • 18.Boakes Z. 2024. Coral conservation programmes in Bali, Indonesia: restoration of degraded reefs and localised socioeconomic benefits. PhD Thesis. Bournemouth University, UK. [Google Scholar]
  • 19.Newton AC. 2009. Bayesian Belief Networks in environmental modelling: a review of recent progress. In: Environmental Modelling: New Research, Findley PN(ed). Nova Science Publishers: New York. pp. 13–50. [Google Scholar]
  • 20.Stafford R, Croker AR, Rivers EM, Cantarello E, Costelloe B, Ginige T, et al. 2020. Evaluating optimal solutions to environmental breakdown. Environmental Science and Policy. 112: 340–347 10.1016/j.envsci.2020.07.008 [DOI] [Google Scholar]
  • 21.Sokolnicki JR, Woodhatch AL, Stafford R. 2022. Assessing Environmentally Effective Post-COVID Green Recovery Plans for Reducing Social and Economic Inequality. Anthropocene Science, 1: 375–383. 10.1007/s44177-022-00037-x [DOI] [Google Scholar]
  • 22.Stafford R. and Williams R.L. 2014.Teaching basic numeracy, predictive models and socioeconomics to marine ecologists through Bayesian belief networks. F1000Research. 3: 312 10.12688/f1000research.5981.1 [DOI] [Google Scholar]
  • 23.Crawley M.J., 2012. The R Book. Wiley: Chichester, UK. [Google Scholar]
  • 24.IPBES. 2016. The Assessment Report of the Intergovernmental Science-Policy Platform on Biodiversity and Ecosystem Services on Pollinators, Pollination and Food Production. Intergovernmental Science-Policy Platform on Biodiversity and Ecosystem Services: Bonn [Google Scholar]
  • 25.O’Shea R., Capuzzo E., Hemming V., Grebe G., Stafford R., et al. 2024. Managing offshore multi-use settings: Use of conceptual mapping to reduce uncertainty of co-locating seaweed aquaculture and wind farms. Journal of Environmental Management. 358, 120696. doi: 10.1016/j.jenvman.2024.120696 [DOI] [PubMed] [Google Scholar]
  • 26.Jones PJS. 2014. Governing Marine Protected Areas: resilience through diversity. Routledge: London: 10.4324/9780203126295 [DOI] [Google Scholar]
  • 27.Al-Balushi A, Bose S, Govender A. 2016. Stakeholders’ Views on Management Arrangements: A Case of Kingfish Fishery in the Sultanate of Oman. Natural Resources, 7, 251–264. 10.4236/nr.2016.75022 [DOI] [Google Scholar]
  • 28.Yates KL, Copping JP, Tweddle JF, O’Leary BC. 2024. Benefits and barriers for researcher-practitioner collaboration on marine and coastal management issues. Environmental Science & Policy. 155: 103713. 10.1016/j.envsci.2024.103713 [DOI] [Google Scholar]
  • 29.Stafford R, Alexander J, Axon S et al. 2024. UK General Election manifesto commitments: implications for the economy, environment, and society. Research Square. 10.21203/rs.3.rs-4609771/v1 [DOI] [Google Scholar]

Decision Letter 0

Abroon Qazi

22 Jul 2024

PONE-D-24-20910Creating simple predictive models in ecology, conservation and environmental policy based on Bayesian belief networksPLOS ONE

Dear Dr. Stafford,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Sep 05 2024 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Abroon Qazi, Ph.D.

Academic Editor

PLOS ONE

Journal Requirements:

1. When submitting your revision, we need you to address these additional requirements.

Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at 

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and 

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Partly

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: No

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: Overall: The authors efforts in conducting the research and writing the manuscript are appreciated. However, the paper needs significant reorganization to ensure consistency with its aims and content, as well as a stronger methodology section. I believe developing a new version of the paper would be a better option.

The paper lacks a strong structure. Specifically, it is missing an abstract that summarises the objectives, methods, results, and conclusions. While the paper includes an introduction, it does not provide adequate background information and context, state the research problem or question, explain the significance and objectives of the study. Furthermore, it is highly recommended to include a literature review section that examines relevant previous research, identifies gaps in the existing literature, and demonstrates how the current research builds upon or differs from past studies. Additionally, the paper lacks both methodology and results sections, making it difficult for readers to fully understand the research.

Abstract: The abstract should clearly state the primary objective and contribution of the work, highlighting the significance of the new R package (BBNet) earlier on. It should better articulate how the proposed approach simplifies traditional models and clarify what is meant by the models not being fully quantitative. Additionally, the abstract should briefly describe the parameterisation process, mention specific examples of the model's application across different fields, and suggest potential future research directions or improvements.

Introduction: The introduction is packed with numerous points that make it hard to follow. It lacks a clear, concise narrative, making it overwhelming for readers to understand the amin focus. Also, it jumps between various concepts without clear transitions. However, consider breaking the introduction into more distinct paragraphs, each focusing on a specific point. For example, you could have separate paragraphs for:

• The current state of quantitative skills in the environmental workforce.

• The challenges of using sophisticated models and AI in ecology.

• The introduction and benefits of Bayesian belief networks (BBNs).

• The limitations of traditional BBNs.

• Recent advancements in BBNs and their applications.

The introduction includes technical terms that may not be accessible to all readers. Terms like "probability matrices," "reciprocal feedback," and "signal loss" are not adequately explained.

While the audience is likely to be familiar with ecological and modelling terms, consider defining or briefly explaining more complex concepts, such as Bayesian belief networks and reciprocal feedback, to ensure clarity for all readers.

Engage the reader by highlighting the practical implications of your work early on. For example, mention how the BBNet package could simplify the work of environmental researchers and practitioners, making complex modelling accessible to a broader audience.

Theoretical basis: This section provides a comprehensive overview of Bayesian belief network (BBN) models and introduces the theoretical foundation of the BBNet package. To enhance clarity and structure, it is helpful to begin with a brief introductory sentence summarising the purpose of BBN models.

Conclusion: The conclusion outlines the benefits and drawbacks of using BBN models in predictive ecological and environmental modeling. However, it would be enhanced by addressing the following points:

• The assertion that the approach is "rapid and easy to use and understand" for non-specialists, including stakeholders, may be overstated. Complex models, even those designed to be user-friendly, can pose significant challenges for those without a strong background in the relevant fields.

• The discussion of potential future research directions or applications should be more detailed.

• Ensure there is a logical flow from the summary of findings to implications and future directions.

• Consider using subheadings to organise different points for better readability.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2024 Dec 10;19(12):e0305882. doi: 10.1371/journal.pone.0305882.r002

Author response to Decision Letter 0


2 Sep 2024

We have left the reviewer’s comments in plain black font, our replies are in italics, and any quotes from the revised text of the paper are presented in red in the uploaded file. This may not show up in the repeated version submitted on the online form

Reviewer #1: Overall: The authors efforts in conducting the research and writing the manuscript are appreciated. However, the paper needs significant reorganization to ensure consistency with its aims and content, as well as a stronger methodology section. I believe developing a new version of the paper would be a better option.

The paper lacks a strong structure. Specifically, it is missing an abstract that summarises the objectives, methods, results, and conclusions. While the paper includes an introduction, it does not provide adequate background information and context, state the research problem or question, explain the significance and objectives of the study. Furthermore, it is highly recommended to include a literature review section that examines relevant previous research, identifies gaps in the existing literature, and demonstrates how the current research builds upon or differs from past studies. Additionally, the paper lacks both methodology and results sections, making it difficult for readers to fully understand the research.

We thank the reviewer for their thorough reading of the paper. The paper presents work based on a new R analysis package, and explains the underlying theory of the package and examples for how it is used. PLoS ONE was chosen to submit to, as such studies are included in the journal’s scope. However, there are no formal results of this study, so it isn’t possible to structure in a traditional manner. We have made a number of changes to the paper based on the reviewer’s suggestions, which are detailed in later sections.

Abstract: The abstract should clearly state the primary objective and contribution of the work, highlighting the significance of the new R package (BBNet) earlier on. It should better articulate how the proposed approach simplifies traditional models and clarify what is meant by the models not being fully quantitative. Additionally, the abstract should briefly describe the parameterisation process, mention specific examples of the model's application across different fields, and suggest potential future research directions or improvements.

We thank the reviewer for these suggestions. The Abstract now reads:

Predictive models are often complex to produce and interpret, yet can offer valuable insights for management, conservation and policy-making. Here we introduce a new modelling tool (the R package ‘BBNet’), which is simple to use, and requires little mathematical or computer programming background. By using straightforward concepts to describe interactions between model components, predictive models can be effectively constructed using basic spreadsheet tools and loaded into the R package. These models can be analysed, visualised, and sensitivity tested to assess how information flows through the system’s components and provide predictions for future outcomes of the systems. This paper provides a theoretical background to the models, which are modified Bayesian belief networks (BBNs), and an overview of how the package can be used. The models are not fully quantitative, but outcomes between different modelled scenarios can be considered ordinally (i.e. ranked from ‘best’ to ‘worse’). Parameterisation of models can also be through data, literature, expert opinion, questionnaires and/or surveys of opinion, which are expressed as a simple ‘weak’ to ‘very strong’ or 1-4 integer value for interactions between model components. While we have focussed on the use of the models in environmental and ecological problems (including with links to management and social outcomes), their application does not need to be restricted to these disciplines, and use in financial systems, molecular biology, political sciences and many other disciplines are possible.

Introduction: The introduction is packed with numerous points that make it hard to follow. It lacks a clear, concise narrative, making it overwhelming for readers to understand the amin focus. Also, it jumps between various concepts without clear transitions. However, consider breaking the introduction into more distinct paragraphs, each focusing on a specific point. For example, you could have separate paragraphs for:

• The current state of quantitative skills in the environmental workforce.

• The challenges of using sophisticated models and AI in ecology.

• The introduction and benefits of Bayesian belief networks (BBNs).

• The limitations of traditional BBNs.

• Recent advancements in BBNs and their applications.

We have modified the introduction to the following paragraphs

- The mismatch between the lack of quantitative experience in most environmental scientists and policy makers and the complexity of building and interpreting models (i.e. a problem statement, which our work will address)

- The needs of policy makers and conservationists from predictive models

- The introduction and benefits of Bayesian belief networks (BBNs)

- The limitations of traditional BBNs.

- Recent advancements in BBNs and their applications.

- Aim of the current study

The introduction includes technical terms that may not be accessible to all readers. Terms like "probability matrices," "reciprocal feedback," and "signal loss" are not adequately explained. While the audience is likely to be familiar with ecological and modelling terms, consider defining or briefly explaining more complex concepts, such as Bayesian belief networks and reciprocal feedback, to ensure clarity for all readers.

We have revised these sections. The term ‘probability matrices’ has been removed and there are either definitions or ecological examples for the other terms used.

Engage the reader by highlighting the practical implications of your work early on. For example, mention how the BBNet package could simplify the work of environmental researchers and practitioners, making complex modelling accessible to a broader audience.

We have added sections which make this point throughout the introduction, in addition to this sentence, just before the study aim.

As such, the ‘BBNet’ package puts tools for constructing and interpreting ecological models in the hands of a far broader number of environmental scientists and professionals than has previously been the case.

Theoretical basis: This section provides a comprehensive overview of Bayesian belief network (BBN) models and introduces the theoretical foundation of the BBNet package. To enhance clarity and structure, it is helpful to begin with a brief introductory sentence summarising the purpose of BBN models.

We have modified the introduction to this section to read: Bayesian belief networks (BBNs) are a modelling approach where interactions between different components of complex systems can be examined and predictions can be made for components of interest in these systems, as such, they can be used to make environmental or ecological predictions. This is followed by an ecological example.

Conclusion: The conclusion outlines the benefits and drawbacks of using BBN models in predictive ecological and environmental modeling. However, it would be enhanced by addressing the following points:

• The assertion that the approach is "rapid and easy to use and understand" for non-specialists, including stakeholders, may be overstated. Complex models, even those designed to be user-friendly, can pose significant challenges for those without a strong background in the relevant fields.

We have modified this sentence to read: We have presented an approach to predictive ecological and environmental modelling (which can link to social science outcomes) which can be rapid to develop, easy to use (albeit with some degree of training or troubleshooting support) and intuitive to understand key concepts and outcomes, particularly for non-specialists including stakeholders. We have been using earlier forms of these models with undergraduate students for several years, including the published research demonstrating understanding of key processes by first year undergraduates in reference 22, so we hope this more cautious form of wording is now appropriate.

• The discussion of potential future research directions or applications should be more detailed.

We have tried to keep the conclusion short, as indicated in the instructions for authors’ section. However, we do point to an additional study which has used the BBNet package to address financial and political processes. While we envisage most readers of this manuscript will be environmentally focussed, and multiple examples of where this work has been used in this context are provided in the manuscript, we hope this additional work will illustrate some of the other uses and applications in other disciplines.

• Ensure there is a logical flow from the summary of findings to implications and future directions.

• Consider using subheadings to organise different points for better readability.

Response to both points above. As this is a relatively short section, we have not added subheadings, but have broken this up into paragraphs and slightly revised the structure, which now broadly follows:

- We have created a framework for simple and intuitive models (but see point above)

- Limitations of the models

- Advances of the ‘BBNet’ package

- Future use of the models

________________________________________

Attachment

Submitted filename: Response to Reviewer_VDA.docx

pone.0305882.s006.docx (20.3KB, docx)

Decision Letter 1

Abroon Qazi

29 Oct 2024

PONE-D-24-20910R1Creating simple predictive models in ecology, conservation and environmental policy based on Bayesian belief networksPLOS ONE

Dear Dr. Stafford,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Dec 13 2024 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Abroon Qazi, Ph.D.

Academic Editor

PLOS ONE

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. If the authors have adequately addressed your comments raised in a previous round of review and you feel that this manuscript is now acceptable for publication, you may indicate that here to bypass the “Comments to the Author” section, enter your conflict of interest statement in the “Confidential to Editor” section, and submit your "Accept" recommendation.

Reviewer #2: (No Response)

**********

2. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #2: No

**********

3. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #2: N/A

**********

4. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #2: No

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #2: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #2: General comment

As a kind of probabilistic graphical model BBNs became very popular to scientists and practitioners mainly due to the powerful probability theory involved, which makes them able to deal with a wide range of problems including environmental modelling. In this context the authors present a new modelling tool available as an R package specifically developed for environmental and ecological problems though claiming its applicability to other contexts.

Given the recognized technical complexity of BBNs outside the community of statistical modelers a theoretical introductory section would be beneficial for a valuable comprehension while for the theoretical basis of the presented model the authors redirect the reader to another scientific paper published in 2015 by one of the authors [8].

According to the aim and scope of the Journal new software presentation are welcome provided that a proper validation is included demonstrating that the new tool achieves its intended purpose. This requirement may be met by including a proof-of-principle experiment or analysis when possible while the authors focused on presenting two datasets suitable for running the model and spent instead a few section intended as a user-manual likely more suitable for an appendix.

Despite the capabilities of the proposed R code including various functionality which are relevant for complex problem modelling (e.g. sensitivity analysis) the manuscript lack of any test case application thus making the overall presentation hard to be valued by a broader audience. Moreover the xls code presented in [8] seems to have similar predictive features so a comparison to highlight the improvements and/or proven advantage of the new R package over existing alternatives would be interesting too.

Specific comments:

In section 2, Introduction, the BBNet is suddenly introduced here for the first time (except in the abstract) as if it was introduced somewhere before. It would be more readable to introduce it before talking about its features.

In section 2, Theoretical basis, it seems not usual to refer totally to a previous paper if this is relevant for the methodology adopted in this paper. This point was risen also in the general comment. This section has to be thoroughly reviewed as the equations’ part follows the parameterization details making the reading hard and confusing. Moreover concerning the mathematical formalism, the use of the i index for the increasing population may create confusion with the summation symbolism.

Section 3 reports details on the software availability, download repository and installation which are commonly reported after the conclusion section.

Bub-sections 3.1 and 3.2 are more written as a user manual than a science paper. They could be more fitted for an appendix than the body of the paper.

Section 4 is dedicated to the model implementation with its functionalities, features and parameterization. Once again, the paper is hard to follow. Without graphical feature and tables, possibly related to some real case application and validation, the presentation of the BBN model capability may appear minimized.

This is also evident in the Conclusion session where an intriguing sentence on the BBNet capability is hardly supported by the arguments developed in the manuscript. It is hard to justify the reasons for judging the value of this package without any case study with real data.

Moreover, at the end of this section the authors are claiming the use of this model package in high level financial and political landscape of the UK referring to a paper that is not included in the reference list.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #2: No

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2024 Dec 10;19(12):e0305882. doi: 10.1371/journal.pone.0305882.r004

Author response to Decision Letter 1


20 Nov 2024

Response To Reviewer - please also see attached file which contains correct formatting of these comments

We thank the reviewer for their detailed comments on the manuscript. We are slightly confused as to why this paper was sent for a second round of review to a new reviewer, following us previously addressing another reviewer’s comments and providing a revision. We fully acknowledge the reviewer’s comments regarding the paper lacking a clear set of results, and reading more like an instruction manual. This was the purpose of the manuscript. As noted, previous studies (by some of the authors of this current paper) have used this modelling approach, and it has evolved and added new features over the last 9 years. To make to model as accessible as possible to the academic community, we have produced an R package, with similar predictive features to those used in previous studies, but with additional elements for network visualisation and understanding. The R package, along with this manuscript, and several training courses, should allow a wide uptake of the package for simple modelling tasks. We would argue that the basis of the predictive models has already been validated in previous literature, however the current paper presents an open access, user-friendly way to access this software, a protocol to follow for future studies, and the inclusion of the mathematical basis of the model also allows this manuscript to be a single citable source for the software. It is clear that there may be disagreement in the scope of the paper between the authors and reviewer, and we believe this can only be addressed by an editorial decision on the manuscript. However, we would also like to point out that the scope of the paper has not changed from the initial submission and editorial screening and that similar studies have been published within the journal within the last year – some examples below:

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0297930

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0299993

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0309210

We would therefore question why a manuscript this far along in the review process would therefore be considered unsuitable for the journal.

While we acknowledge the difference in scope of the article we have produced and what the reviewer has suggested, which does cover a number of the comments below, we also address each comment in turn (our response in italics).

Reviewer #2: General comment

As a kind of probabilistic graphical model BBNs became very popular to scientists and practitioners mainly due to the powerful probability theory involved, which makes them able to deal with a wide range of problems including environmental modelling. In this context the authors present a new modelling tool available as an R package specifically developed for environmental and ecological problems though claiming its applicability to other contexts.

Given the recognized technical complexity of BBNs outside the community of statistical modelers a theoretical introductory section would be beneficial for a valuable comprehension while for the theoretical basis of the presented model the authors redirect the reader to another scientific paper published in 2015 by one of the authors [8].

We appreciate the line in question is poorly written and undermines the current study. As indicated in our overall aims, this paper does present the theoretical framework of the model, so it can be used as single point of reference for future studies. We have rephrased this to read: The theoretical basis for the model is based on that in Stafford et al. (2015) [8] and is described below. A number of updates and additional useful tools are provided in the ‘BBNet’ package, described in the functions below (section 3), which provide additional functionality to understand and visualise the models and to examine information flow through the models.

According to the aim and scope of the Journal new software presentation are welcome provided that a proper validation is included demonstrating that the new tool achieves its intended purpose. This requirement may be met by including a proof-of-principle experiment or analysis when possible while the authors focused on presenting two datasets suitable for running the model and spent instead a few section intended as a user-manual likely more suitable for an appendix.

We address this point above. However, the scope of the journal in terms of software articles states: “Submissions presenting methods, software, databases, or tools must demonstrate that the new tool achieves its intended purpose. If similar options already exist, the submitted manuscript must demonstrate that the new tool is an improvement over existing options in some way. This requirement may be met by including a proof-of-principle experiment or analysis; if this is not possible, a discussion of the possible applications and some preliminary analysis may be sufficient”. This is different the criteria stated by the reviewer, it is the improvement from a similar technique that may require a proof of principle experiment or analysis. As clearly stated, the aim of our paper is to: present (1) the underlying theory of the modified Bayesian belief networks, (2) introduce the ‘BBNet’ package as a user-friendly interface for ecological and environmental researchers and practitioners with limited modelling experience to produce useful and meaningful models, and (3) suggest a workflow for the formulation of these models, including parameterisation of the model and dealing with uncertainty. We believe the manuscript fulfils these goals.

Despite the capabilities of the proposed R code including various functionality which are relevant for complex problem modelling (e.g. sensitivity analysis) the manuscript lack of any test case application thus making the overall presentation hard to be valued by a broader audience. Moreover the xls code presented in [8] seems to have similar predictive features so a comparison to highlight the improvements and/or proven advantage of the new R package over existing alternatives would be interesting too.

The reviewer is right, the excel code in previous work has similar predictive abilities, as it is based on the same set of equations. Excel and R code has been used in many studies which have used this framework [8], [15],[16],[18], [20],[21],[29] in the revised reference list, which is not an exhaustive list. These provide context for the research in a wide range of ecological and environmental applications for those looking for test case examples. The purpose of this paper is to detail the new functionality in the R package, which was not present in these papers.

Specific comments:

In section 2, Introduction, the BBNet is suddenly introduced here for the first time (except in the abstract) as if it was introduced somewhere before. It would be more readable to introduce it before talking about its features.

The first line of the second paragraph of section 2 does mention the BBNet package when it could be more general, and we have rephased this. However, the manuscript does clearly introduce the BBNet package in the introduction, prior to specifics of the features being introduced in section 2.

In section 2, Theoretical basis, it seems not usual to refer totally to a previous paper if this is relevant for the methodology adopted in this paper. This point was risen also in the general comment.

See above – this was poorly phrased and has now been addressed.

This section has to be thoroughly reviewed as the equations’ part follows the parameterization details making the reading hard and confusing.

The equations do follow the details of what nodes and edges are, and the values they can take. This is essential information to give before the equations of the model. We do acknowledge that Table 1 does include some parameterisation information, and does come before the equations. However, table 1 also serves to illustrate the values the model can take. We would also argue that to achieve the main goals of the paper, most readers are unlikely to spend long looking at the mathematical equations, where as the details of the input parameters are essential for building and using the model, and should be placed first.

Moreover concerning the mathematical formalism, the use of the i index for the increasing population may create confusion with the summation symbolism.

We appreciate this point. However, while ‘i’ is common in summation, other values such as x and n are also frequently used. Using ‘i’ for increasing and ‘d’ for decreasing, and n for summation in our equations does seem logical, and we do clearly state: “With subscripts i and d indicate increasing or decreasing respectively for the nodes.”

Section 3 reports details on the software availability, download repository and installation which are commonly reported after the conclusion section.

Bub-sections 3.1 and 3.2 are more written as a user manual than a science paper. They could be more fitted for an appendix than the body of the paper.

As indicated above, we do appreciate this comment and acknowledge it, but this ‘user manual’ approach is our intention in the paper.

Section 4 is dedicated to the model implementation with its functionalities, features and parameterization. Once again, the paper is hard to follow. Without graphical feature and tables, possibly related to some real case application and validation, the presentation of the BBN model capability may appear minimized.

We agree that this could be made clearer. However, given the purpose of the paper, there is a tradeoff between being general (and therefore more useful as a longer-term resource) and being specific, and thus harder to generalise to readers’ own modelling needs. Figure 1 does show the Rocky Shore network model, and we now refer back to this in this section to clarify some of the points made. We also refer to supplementary material 3 again, which provides a run through of the model and discusses outcomes including graphical and numerical outputs. We hope this provides the necessary context for those who would require this.

This is also evident in the Conclusion session where an intriguing sentence on the BBNet capability is hardly supported by the arguments developed in the manuscript. It is hard to justify the reasons for judging the value of this package without any case study with real data.

We appreciate that the manuscript itself doesn’t provide evidence for all these claims. As such, we have cited literature where this modelling approach has been used in these contexts.

Moreover, at the end of this section the authors are claiming the use of this model package in high level financial and political landscape of the UK referring to a paper that is not included in the reference list.

This has been added. We appreciate this is a pre-print, it is currently under consideration for publication, also in PLoS ONE. Nevertheless it does illustrate the points of integrating multiple complex systems.

Attachment

Submitted filename: Comments to the Author.docx

pone.0305882.s007.docx (19.7KB, docx)

Decision Letter 2

Abroon Qazi

25 Nov 2024

Creating simple predictive models in ecology, conservation and environmental policy based on Bayesian belief networks

PONE-D-24-20910R2

Dear Dr. Stafford,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager® and clicking the ‘Update My Information' link at the top of the page. If you have any questions relating to publication charges, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Abroon Qazi, Ph.D.

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Thank you for your patience. A new reviewer was assigned for the latest review round because the original reviewer from the first round was unable to complete their evaluation.

Reviewers' comments:

Acceptance letter

Abroon Qazi

29 Nov 2024

PONE-D-24-20910R2

PLOS ONE

Dear Dr. Stafford,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

If revisions are needed, the production department will contact you directly to resolve them. If no revisions are needed, you will receive an email when the publication date has been set. At this time, we do not offer pre-publication proofs to authors during production of the accepted work. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few weeks to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr Abroon Qazi

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 File. Input files for edges and priors for each of the two example models.

    See section 3.1 for further details.

    (ZIP)

    pone.0305882.s001.zip (3.3KB, zip)
    S2 File. Tutorial video of input file requirements for the ‘BBNet’ package.

    (MP4)

    Download video file (46.9MB, mp4)
    S3 File. Tutorial video of running ‘BBNet’ functions using provided data files.

    (MP4)

    Download video file (92.7MB, mp4)
    S4 File. R Markdown script with necessary functions and example R code to import input files and run ‘BBNet’ functions.

    (RMD)

    pone.0305882.s004.Rmd (13.8KB, Rmd)
    S5 File. Tutorial video on incorporating more complex probability matrices in ‘BBNet’ through model structure.

    (MP4)

    Download video file (18.7MB, mp4)
    Attachment

    Submitted filename: Response to Reviewer_VDA.docx

    pone.0305882.s006.docx (20.3KB, docx)
    Attachment

    Submitted filename: Comments to the Author.docx

    pone.0305882.s007.docx (19.7KB, docx)

    Data Availability Statement

    All data is included as supplementary material. All R code is available on Github at https://github.com/vda1r22/bbnet.


    Articles from PLOS ONE are provided here courtesy of PLOS

    RESOURCES