<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>A Bayesian Uncertainty Quantification Approach for Agent-Based Modeling of Networked Anagram Games</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>12/11/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10385087</idno>
					<idno type="doi"></idno>
					<title level='j'>Proceedings  Winter Simulation Conference</title>
<idno>0891-7736</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Xueying Liu</author><author>Zhihao Hu</author><author>Xinwei Deng</author><author>Chris J. Kuhlman</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[In group anagram games, players cooperate to form words by sharing letters that they are initially given. The aim is to form as many words as possible as a group, within five minutes. Players take several different actions: requesting letters from their neighbors, replying to letter requests, and forming words.  Agent-based models (ABMs) for the game compute likelihoods of each player’s next action, which contain uncertainty, as they are estimated from experimental data. We adopt a Bayesian approach as a natural means of quantifying uncertainty, to enhance the ABM for the group anagram game. Specifically, a Bayesian nonparametric clustering method is used to group player behaviors into different clusters without pre-specifying the number of clusters. Bayesian multi nominal regression is adopted to model the transition probabilities among different actions of the players in the ABM. We describe the methodology and the benefits of it, and perform agent-based simulations of the game.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Background and Motivation</head><p>In our variant of networked group anagram games (NGrAGs), players share their provided alphabetic letters with their neighbors so that all players have more letters with which to form words. In both individual and group games, the goal is to form as many words as possible within some time limit. Group and individual anagram games have been used in a wide range of studies. We partition these studies into two groups: (i) those that use anagram games as a cognitive task to measure the effect of some priming activity, and (ii) those that study the game itself. In the first group, <ref type="bibr">Porath and Erez (2007)</ref> demonstrate through several series of experiments that small incivilities can so upset a person that is the target of the unkindness that this target reduces her individual performance on anagram tasks (i.e., reduces cognitive performance) by about 25% in terms of numbers of words formed. <ref type="bibr">Erez and Isen (2002)</ref> used anagram games as a performance-based task to measure the effects of priming and positive affect (e.g., experiencing positive emotions). In the second group, <ref type="bibr">Mayzner and Tresselt (1958)</ref> and <ref type="bibr">Gilhooly and Johnson (1978)</ref> study the effects of letter order and word frequency (i.e., popularity of words) on anagram game performance. See <ref type="bibr">Cedeno-Mieles et al. (2020)</ref> for other studies. Hence, it is of interest to model these games.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2">Description of Our Networked Group Anagram Game</head><p>Figure <ref type="figure">1</ref> provides illustrations of the four actions a player can take in the experimental NGrAG games, conducted online through players' web browsers. (Our models are faithful to this description of the game.) is forming word had. (d) v 1 and v 2 are thinking, which is a "no-op" or idle action. In the model of these games, a player executes one action per time step where a time step is one second. The game is described in the text. The actions are idle (a 1 ), reply to letter request (a 2 ), request letter (a 3 ), and form word (a 4 ).</p><p>Communication channels (light blue) are used by players to request letters and reply to letter requests. Overall, a player may take any of the four actions in Figure <ref type="figure">1</ref>, any number of times, and in any order, throughout the 300-second game time. In the experiments, players are initially assigned three letters, as displayed in the boxes below the players. In a game with n players, each player v i , 1 &#8804; i &#8804; n, is connected to d &lt; n other players (its neighbors) with whom v i can share letters; and hence the name Networked Group Anagram Game. A graph of players and their interaction channels in experiments is always a random regular graph (i.e., all players have the same degree d) so that we develop multiple data sets (i.e., per player) in one game, for the specified degree. This produces a connected network on all n players. If a player shares a letter with the requestor, then both the requestor and the player replying have a copy of the letter (see Figures <ref type="figure">1b</ref> and<ref type="figure">1c</ref>). This is to encourage sharing letters to form more words. Also, a person may use a letter in any number of words (letters are not lost when words are formed), and any number of times within a word. For instance, a player may form deed with only d and e, and she retains those letters. The team realizes earnings that are proportional to the total number of words formed, and these earnings are divided equally among players, regardless of individual performance. Each team member generally forms between 10 and 40 words in a game. Additional game details are in <ref type="bibr">Ren et al. (2018)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.3">Novelty and Contributions of Our Work</head><p>The main goal of this work is to produce a Bayesian uncertainty quantification (UQ) framework for agent-based modeling (ABM) of the NGrAG, which relies on modeling and estimation using experimental data collected from a set of online, human subjects NGrAGs. Note that the experimental data contain heterogenous behaviors of players' actions with different levels of data scarcity for different actions.</p><p>Overall, the key novelty of this work is to adopt a Bayesian UQ framework for ABM to flexibly model the heterogeneous behaviors of game players. Specifically, the novelty of this work can be summarized in the following three aspects, which we now address with their commensurate contributions. Our first contribution is use of a Bayesian clustering method based on the Dirichlet process to automatically partition players into several homogenous groups based on the experimental data. The developed techniques do not need to pre-specify the number of clusters, while it makes the clustering results more meaningful with proper settings of priors. This is in contrast to state-of-the-art work on modeling anagram games, where number of clusters was an input to the k-means clustering method <ref type="bibr">(Hu et al. 2021a)</ref>. Our work and results are described in Sections 3.1 and 4.1.</p><p>Our second contribution is the formulation and construction of a Bayesian multi-logit model with proper priors to estimate the transition probabilities among the four possible player actions (see Figure <ref type="figure">1</ref>). Given a player's previous action at time t, along with her internal state, the probability of her taking each action at (t + 1) is computed. The formal model and parameter estimation are presented in Sections 3.2 and 3.3, respectively. This is the first use of Bayesian models with anagram games. Furthermore, we take advantage of the Bayesian UQ methodology to overcome data scarcity in different actions (i.e., idle, requesting letters, replying to requests, and forming words) within different clusters, which is novel. The use of appropriate priors can make the model estimation more stable. Because of the Bayesian approach, uncertainty and distributions of the estimated transition probabilities can be easily obtained from the posterior samples without the use of the asymptotic distribution (as done in previous work <ref type="bibr">(Hu et al. 2021a</ref>)), which is less accurate when data sample sizes are small. Results are provided for selected model parameters in Section 4.2.</p><p>Third, we use the same Bayesian UQ framework to construct ABMs and exercise them within a simulation system, using heterogeneous agent behaviors beyond those tested. In Section 5, we illustrate representative ranges in player performance that simulations of the anagram game can produce. We show that the probabilities of a player's "next action" can vary over time in the Bayesian model, and that these give rise to different regimes of player behavior over the 5-minute game duration. Plots of player behaviors and latent variables over games are provided.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">RELATED WORK</head><p>Modeling networked group anagram games. Five works exist on modeling NGrAG games. An initial study, used to specify game conditions in preparation for online experiments, is provided in <ref type="bibr">Hu et al. (2019)</ref>. (The game description is given in <ref type="bibr">Cedeno-Mieles et al. (2020)</ref>.) The remaining works use game data to formulate logistic regression models, as follows. <ref type="bibr">Cedeno-Mieles et al. (2020)</ref> describe the use of all data to formulate one model that explicitly accounts for a node's (player's) degree in the game network. <ref type="bibr">Hu et al. (2021a)</ref> refine this work to account for player degree and behavior class via clustering of player behaviors. Each cluster has associated with it an average player's behavior. Because each cluster has uncertainty in behavior, <ref type="bibr">Hu et al. (2021b)</ref> provide another level of refinement by drilling into each cluster and quantifying worst, average, and best player behaviors in terms of (i) number of requests plus replies made and (ii) number of words formed. None of these models use a Bayesian approach, as is done here.</p><p>Bayesian clustering. Cluster analysis is the task of partitioning a set of distinguishable objects into groups such that the objects within a group are similar, whereas the groups themselves are different. K-means clustering <ref type="bibr">(McQueen 1967)</ref> is one of the most commonly used clustering methods. Although k-means clustering is simple and fast, it has a restriction that the number of clusters has to be pre-specified. Determining the appropriate number of clusters for a given data set is a problem with no single right answer. Moreover, the k-means algorithm finds a local rather than a global optimum, and the results are sensitive to the initial value <ref type="bibr">(James et al. 2013)</ref>.</p><p>K-means clustering is non-model-based and relies on a measure of similarity among data. There also exists model-based clustering methods assuming that data are generated by a mixture of probability distributions <ref type="bibr">(Wolfe 1963)</ref>. The Expectation-maximization (EM) algorithm, developed by <ref type="bibr">Dempster et al. (1977)</ref>, is the most popular technique for mixture models, with the convergence property proved by <ref type="bibr">Wu (1983)</ref>. However, classical methods might fail in high-dimensional space because of over-parametrization. Therefore, Bayesian nonparametric models were introduced, assuming that the finite observations are sampled from an infinite number of latent clusters. The prior distribution is a probability measure on a space of density functions. The most common one is the Dirichlet Process (DP) <ref type="bibr">(Ferguson 1973)</ref>. <ref type="bibr">Blackwell and MacQueen (1973)</ref> proposed the Polya urn scheme, also known as the Chinese Restaurant Process (CRP). Consider a Chinese restaurant with an infinite number of circular tables. Each customer can choose to either sit at an occupied table with a probability proportional to the number of customers already there or sit at a new table with a probability proportional to &#945;. In this process, customers are more likely to sit at a table with more existing people, indicating the clustering property of the DP. The Bayesian model with the DP prior is called Dirichlet Process Mixture (DPM), and <ref type="bibr">West et al. (1994)</ref> developed a Gibbs sampler algorithm to conduct inference on the posterior distribution.</p><p>In our framework, we perform Bayesian clustering of players based on the experimental data, which enables grouping the players based on their activity in the game and estimating parameters for each Liu, Hu, Deng, and Kuhlman cluster separately. Here we adopt multinomial logistic regression to model the transition probabilities of players' actions with the Bayesian approach. Then Markov chain Monte Carlo (MCMC) methods are applied to quantify the uncertainty of parameters by obtaining a sequence of random samples from the exact posterior distribution and calculating the appropriate characteristics. The proposed framework of uncertainty quantification is also applicable to other models, such as Gaussian process modeling.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">BAYESIAN ANALYSIS AND MODELS</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Bayesian Clustering for Players</head><p>It is known that players will act differently in NGrAGs. For effective analysis of the game data, it is useful to divide players into different groups based on their activity levels in the game. Therefore, we define two variables, engagements and words, to quantify the players' activity levels. Engagements is the sum of the number of requests and number of replies of a player, and words is the number of words a player forms in a game. Since the number of neighbors a player has in a game could also affect her activity level, we partition the players into two groups with k = 2 neighbors (group g = 1) and k = 4, 6, 8 neighbors (group g = 2) based on the result of hypotheses testing <ref type="bibr">(Hu, Deng, and Kuhlman 2021a)</ref> on the game data.</p><p>To conduct clustering, we adopt DP-means clustering proposed by <ref type="bibr">Kulis and Jordan (2012)</ref> in each group. The Dirichlet Process (DP) is</p><p>where G 0 is the base distribution, &#945; is the concentration parameter, and x 1 , ..., x n is a sequence of n observations sampled from G. Let x * k be the unique elements in {x 1 , ..., x n-1 }: </p><p>where the base distribution G 0 is assumed to be zero-mean Gaussian with covariance a diagonal matrix &#961;I, i.e., N (0, &#961;I). After drawing a distribution G from DP, &#966; i is drawn independently from G and is taken as the mean of the Gaussian distribution that observations followed. After defining &#945; to be a function of &#963; and &#961; (&#945;</p><p>) for some &#955; ) and implementing Gibbs sampling, <ref type="bibr">Kulis and Jordan (2012)</ref> showed that as &#963; approaches 0, only the smallest value among the constant &#955; and the Euclidean distances between the point and centers of existing clusters (i.e., min{ x i&#181; 1 2 , ..., x i&#181; k 2 , &#955; }) will receive a non-zero cluster indicator. In this way, if the smallest value of { x i&#181; 1 2 , ..., x i&#181; k 2 } is smaller than &#955; , data point x i will be assigned to this closest cluster, which is the same as the conventional k-mean clustering method. However, when all the values are larger than &#955; , the algorithm will start a new cluster with x i in it. Thus, the approach can automatically partition the data and avoid the problem caused by inaccurately pre-specifying the number of clusters. Algorithm 1 formalizes these ideas.</p><p>Algorithm 1: DP-means Algorithm Input: data x 1 , ..., x n and penalty parameter &#955; Output: clusters l 1 , ..., l k and number of clusters k </p><p>2. Generate clusters l 1 , ..., l k based on z 1 , ..., z k : l j = {x i |z i = j} j = 1, ..., k.</p><p>3. For each cluster l j , compute the center &#181; j = 1 |l j | &#8721; x i &#8712;l j x i j = 1, ..., k.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Bayesian Estimation for Model Parameters</head><p>There are several ABMs for the NGrAG such as the works in <ref type="bibr">Ren et al. (2018)</ref> and <ref type="bibr">Cedeno-Mieles et al. (2020)</ref>. They modeled the game as a discrete-time stochastic process, where at each time step, a player executes one of the four actions as shown in Figure <ref type="figure">1</ref>. The uncertainty from clustering is considered by constructing an ABM for each cluster.</p><p>For each player, a multinomial logistic regression is used to model &#960; i j -the probability of the player taking action a j at time t + 1, given action a i the player took at time t and four predictors provided in Table <ref type="table">1</ref>-as</p><p>where z = (1, Z B (t), Z L (t), Z W (t), Z C (t)) 5&#215;1 , and &#946;</p><p>j5 ) T . For a given i (the index of action a i at time t), the parameter set can be expressed as Liu, Hu, Deng, and Kuhlman</p><p>Suppose that, in a cluster, there are n data points having the same "most recent" action i, then the next action for observation l, namely y l , has a multinomial distribution with corresponding probability &#960; li1 , &#960; li2 , &#960; li3 , and &#960; li4 (&#960; li j is the &#960; i j in Equation 1 for observation l). That is,</p><p>where y l j = 1 i f y l = j 0 otherwise , j = 1, 2, 3, 4. The likelihood function is</p><p>The frequentist approach to fit the multinomial regression is the maximum likelihood estimation (MLE) <ref type="bibr">(Fisher 1922)</ref>, and uses the asymptotic property of MLE to conduct inferences. However, the asymptotic normal approximation of MLE demands a large sample size. When the sample size is small, the bias can be substantial <ref type="bibr">(Griffiths et al. 1987)</ref>. <ref type="bibr">Zellner and Rossi (1984)</ref> analyzed the exact posterior distribution using numerical integration techniques and showed that normal asymptotic approximations do not work well for small-size samples. For these reasons, <ref type="bibr">Albert and Chib (1993)</ref> switched to the Bayesian approach and made it possible to obtain exact inferences for the parameters using MCMC techniques. The memorylessness property of MCMC <ref type="bibr">(Van Ravenzwaaij et al. 2018</ref>) can alleviate the extreme value problem caused by data scarcity since every sample is only generated based on the previous one.</p><p>With the Bayesian approach, we can update the probability distribution of the unknown parameters given the observations. We assume a multivariate normal prior on B (i) :</p><p>where b 0 is the prior mean and B 0 is the prior precision matrix. Combining both the likelihood and prior distribution on B (i) , we can obtain the posterior distribution for B (i) . One can obtain the Bayesian estimator of parameters by maximizing the posterior distribution. That is, B(i) bayes = arg max log P(B (i) |y 1 , ..., y n ) = arg max{log L(B (i) |y 1 , ..., y n ) + log P(B (i) )}.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">Quantifying Uncertainty for Model Parameters</head><p>Based on the posterior distribution, we can quantify the uncertainty of parameters by calculating various characteristics such as posterior means, standard deviations and credible intervals. MCMC methods can be used to conduct sampling from the exact posterior distribution. The Metropolis-Hastings (M-H) <ref type="bibr">(Metropolis et al. 1953;</ref><ref type="bibr">Hastings 1970</ref>) and Gibbs sampling <ref type="bibr">(Geman 1984)</ref> algorithms are the two commonly-used MCMC algorithms. By appling the M-H algorithm, a sequence of parameter &#952; is sampled from the target distribution f (&#952; ) where &#952; t+1 is generated by sampling a random variable &#952; * from a proposal distribution g(&#952; |&#952; t ) and accept &#952; t+1 = &#952; * with probability &#945; = min{1, f (&#952; * )/g(&#952; * |&#952; t ) f (&#952; t )/g(&#952; t |&#952; * ) }. In this paper, we choose the proposal distribution to be Gaussian distribution, making it a random walk M-H algorithm since N (&#952; * |&#952; t ) = N (&#952; t |&#952; * ). Specifically, we have</p><p>Liu, Hu, Deng, and Kuhlman where B 0 is the prior precision matrix, and C is the sample variance-covariance matrix of the MLEs. These steps are formalized in Algorithm 2.</p><p>Algorithm 2: Random Walk Metropolis-Hastings Algorithm for B (i)   Initialize B (i)(0) for t in 1 : T do 1. Generate a sample B (i) * from proposal distribution g(B (i) |B (i)(t-1) ).</p><p>2. Calculate the acceptance ratio &#945; = min{1, P(B (i) * |y 1 , ..., y n ) P(B (i)(t-1) |y 1 , ..., y n ) }.</p><p>3.</p><p>with probability &#945; B (i)(t-1) with probability 1&#945; .</p><p>In practice, it could be difficult to choose the most appropriate priors and one may want to explore the performance under a variety of different priors. <ref type="bibr">Jeffreys (1946)</ref> introduced non-informative priors that are invariant under the transformation of parameters. For B (i) in our model, setting B 0 = 0 leads to the Jefferys' prior (a flat prior) for the mean of normal distribution.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">MODEL EVALUATION</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">DP-Means Clustering Players</head><p>Section 3.1 describes the scalable DP-based Bayesian clustering approach. We standardized the words and engagements variables to make the selection of values of cluster penalty parameter &#955; more reasonable.</p><p>Here we choose &#955; = 2.5 for clustering, indicating that once the distances between a data point and every existing cluster center are greater than 2.5 after standardization, we will form a new cluster. In this way, four clusters are formed for both k = 2 neighbors [group g = 1] and 4,6,8 neighbors [group g = 2].</p><p>Figure <ref type="figure">2</ref> contains boxplots of performance for the four g = 1 clusters in the top row, and for the four g = 2 clusters in the bottom row. For the g = 1 players, cluster 1 has significantly fewer engagements per game than the other three clusters, and the players in clusters 1 and 2 form fewer words than do the players in clusters 3 and 4. These general observations also hold for the g = 2 game player behaviors, with some differences in details. Also, the magnitudes of words formed and engagements are greater in g = 2. These differences support the contention that clustering of players by behaviors is warranted.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Bayesian Approach for Model Parameters</head><p>In multinomial logistic regression models, given a player's most recent action, we model four possible outcomes for the next action taken by a player: idle, reply, request, and form a word. Setting idle as a reference category, we get 15 non-zero parameters {&#946; i) for every "most recent" action. By using the M-H algorithm with 10000 iterations after 1000 burn-in, we can draw a sequence of random samples for each parameter from the posterior distribution. The Geweke diagnostic <ref type="bibr">(Geweke 1991</ref>) is used to test the convergence of MCMC samples. Figure <ref type="figure">3</ref> shows the density plots for &#946;</p><p>25 of players in cluster c = 1 of group g = 1 whose most recent action is idle (i = 1). The uncertainties in player actions from the experimental games are represented by the distributions of &#946; coefficients, such as those in Figure <ref type="figure">3</ref>.</p><p>For each parameter, we take the mean of the random samples as the Bayesian estimation of B (i) shown in Table <ref type="table">2</ref>. Then the probability of players in cluster 1 of k = 2 neighbors [group g = 1] with action at time t of idle taking action j at time (t + 1) is calculated using Equation 1. The probability of idle is computed as one minus the sum of the probabilities of the three "next actions" in Table <ref type="table">2</ref>.   (i) for players in cluster 1 of k = 2 neighbors group with initial (or most recent) action being a 1 (idle).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Next Action</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Intercept</head><p>Buffer Z B (t)</p><p>-3.1159 0.806 0.2910 0.097 -0.5800 0.246 -0.0303 0.078 -0.0153 0.004 request -3.5242 0.499 0.1262 0.067 -0.1770 0.146 -0.0660 0.049 -0.0163 0.004 word -5.4232 0.277 0.0337 0.037 0.5199 0.066 -0.0599 0.020 -0.0209 0.003</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">AGENT-BASED SIMULATIONS</head><p>The simulation system encodes the models developed in Section 3. Each game player is modeled as a node in a graph and has assigned to it a behavior that corresponds to a particular group g and cluster c.</p><p>NGrAG scenarios. The game configuration that we model is given in Figure <ref type="figure">4</ref>. There are three purple nodes of d = 2 and hence are in g = 1 (where d &#8804; 2), while the two green nodes with d = 3 are in g = 2 (where d &#8805; 3). We evaluate the effects of different cluster assignments to the nodes. For each node, we identify the group and cluster pair by <ref type="bibr">[g, c]</ref>. Each player is assigned four letters (one vowel and three consonants) that they can use to form words and to share with their neighbors. The letters are those most commonly used in words so that agents are not prevented from forming words owing to poor letters (e.g., they are not given letters such as q, x, and z).</p><p>Simulation. Each simulation instance follows (generally) the conditions of a game that were provided in Section 1.2. Each player is initially provided with four letters (in experiments, each player is given three letters). Each player tries to form words while also requesting letters from their neighbors (to form more words) and replying to letter requests (to help their neighbors form more words). The game duration is (1) 25</p><p>Figure <ref type="figure">3</ref>: Density plots for &#946;</p><p>(1)</p><p>23 , &#946;</p><p>(1)</p><p>25 of players in cluster c = 1 of group g = 1 with initial action being idle. The x-axis range is the same in all four plots, but the y-axis ranges vary markedly. 300 seconds, where time is incremented in 1-second intervals (i.e., player actions take place at integer time in seconds); the experimental data support this approach because, over all games, in a negligible number of instances, a player takes two actions within one second. A simulation (i.e., one software execution) consists of 100 simulation instances. These results are then averaged over time.</p><p>Simulation parameters. Owing to space limitations, we study only one cluster c for each of two groups g: [g, c] = [1, 1] for the low degree (d = 2) nodes and [g, c] = [2, 2] for the high degree (d = 3) nodes.</p><p>Simulation results. Figure <ref type="figure">5</ref> shows two plots of the probability histories for the four actions (idle [or thinking], replying to letter requests, requesting letters, and forming words; see legends) for each of nodes 3 and 4. These data are for one out of 100 simulation instances. We denote the probability vector and these probability components as p act = (p think , p srep , p sreq , p f w ). Recall that at each time step, the probability of an agent (node) taking each action is computed, so each curve is composed of 300 data points, one for each second in the 300-second game. In both cases, the probability of thinking (e.g., deciding what to do next) is about 0.9, with the remaining probability distributed among the three actions involving letters and words. Note that each probability is dependent on the z vector for each node, which changes in time, and the &#946; vectors (based on node degree and cluster), per Equation ( <ref type="formula">1</ref>), so that probabilities may evolve in different ways. This is observed in Figure <ref type="figure">5</ref>, where p srep , p sreq , and p f w differ in magnitude and also p f w differs markedly in character (i.e., shape).</p><p>Figure <ref type="figure">6</ref> shows the time histories of actions for different players (agents, nodes) for one of the 100 iterations (the same iteration used in Figure <ref type="figure">5</ref>). In Figure <ref type="figure">6a</ref>, the counts of words formed per agent are given. Nodes 1 and 4, with the greatest degrees, ultimately form the most words, for the specified clusters of behaviors. The number of words formed for d = 2 players varies from one to seven. The difference in words formed between the two d = 3 players is less, for this particular iteration. Of note is that the character of the curves for the three d = 2 nodes is concave-down, while that for node 4 is concave up. This follows directly from the character of the p f w curves in Figure <ref type="figure">5</ref>. It is interesting that nodes 1 and 4 produce different regimes of behavior in time. That is, both players form relatively fewer words in roughly the first 200 seconds of the game, and then form disproportionately more words in the last 100 seconds. In Figures <ref type="figure">6b</ref> and<ref type="figure">6c</ref>, the word histories are repeated (for comparison) and the counts of the other actions are also given. From the legends, these histories are numbers of: (letter) replies received, (letter) replies sent, (letter) requests received, (letter) requests sent, and words formed. Among the many observations to be made, two of these are that node 4 is more active than node 3, and that of the ten letter requests made by node 4, it only received five replies with letters. Figure <ref type="figure">7</ref> shows the same three plots as in Figure <ref type="figure">6</ref>, but now the data are the averages over the 100 iterations. For many quantities plotted, the characteristics of the curves are somewhat similar to those in the preceding figure, but there are also several differences. Among the latter is that node 0 forms slightly more words than do nodes 1 and 4, on average. In general, the shape of these curves will be influenced by the behavior clusters assigned to the nodes. By contrasting these two figures, it is evident that the per-iteration data are useful in accentuating the idea that players make discrete choices at particular times. posterior inference methods (e.g. approximation Bayesian computation (ABC) <ref type="bibr">(Beaumont 2019</ref>) is a popular approach to tackle intractable likelihood functions) and model validation by comparing simulation results with experimental data. It is worth pointing out that the general outline of the proposed Bayesian UQ approach is not limited to ABM for the NGrAG. There are other multi-action games, e.g., <ref type="bibr">Mason and Watts (2012)</ref>, <ref type="bibr">Coviello et al. (2012)</ref>, that could use our approach for UQ. But particulars of models would be based on game actions and data available for modeling.</p></div></body>
		</text>
</TEI>
