Next Article in Journal
PROud—A Gamification Framework Based on Programming Exercises Usage Data
Next Article in Special Issue
Analysis of SAP Log Data Based on Network Community Decomposition
Previous Article in Journal
Special Issue on Selected Papers from e-Health Pervasive Wireless Applications and Services 2017
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Axiomatisation and Simulation

by
Klaus G. Troitzsch
Institut für Wirtschafts- und Verwaltungsinformatik, Universität Koblenz-Landau, Postfach 201602, 56016 Koblenz, Germany
Current address: Schillerstraße 26, 79713 Bad Säckingen, Germany.
Information 2019, 10(2), 53; https://doi.org/10.3390/info10020053
Submission received: 12 December 2018 / Revised: 15 January 2019 / Accepted: 2 February 2019 / Published: 6 February 2019
(This article belongs to the Special Issue Computational Social Science)

Abstract

:
The paper discusses the relation between the “non-statement view” of the structuralist program in philosophy of science and agent-based simulation and the use of this relation for a deeper understanding of the verification and the validation of simulation models. To this end it uses the history of the gender desegregation process in German schools in the second half of the 20th century and two simulation models trying to explain and understand this historical process. The relation between the two simulation models on one hand and the structuralist reconstruction of the mental and verbal theory of the observed phenomenon is depicted step by step, showing the verification of the more recent simulation model along the lines of the formal definition of this theory. Finally, the simulation model is used to make two unobservable parameters measurable with the help of the formalised theory, which allows new insights into the historical process.

1. Introduction

In contrast to earlier publications on the same topic ([1], pp. 124–177), [2,3,4,5,6], this paper aims at a logical reconstruction of a theory trying to explain the process of overcoming gender segregation with an intended empirical application to a history of four decades of employing male and female teachers in schools in the German federal state of Rhineland-Palatinate where a research project in the 1990s produced sufficient empirical data. The data and its analysis were first published in  [7,8] and later on used in ([9], pp. 113–119) as well as in ([10], pp. 415–420). Beside the discussion of an interesting example of some complexity, the paper mainly serves as an introduction to logical reconstructions of theories (The term“logical reconstruction” is used here in the same sense as, e.g., in[11], one of the authors of [12], and of many other papers about “semantic reconstruction” or “structuralist reconstruction”, see [13]) in the social sciences—a task that has not been performed so very often [14]. This use case is particularly appropriate for three reasons: (1) it sufficiently complex, with three levels of agents (ministry, school, teachers), (2) both a fairly long time series of empirical data is available for the two upper-level agents and the distribution of one attribute of the lowest-level agents is available for forty years, and (3) an obsolete simulation model is available for which a method of replication can be shown which can be adapted to other obsolete models.
Moreover, this paper uses the example as a means of discussing the role of simulation in doing science, refuting the idea that simulation is a “third way of doing science” [15] or “a distinctively new kind of scientific method. intermediate in kind between empirical experimentation and analytic theory ([16], p. 103). This is done in Section 2 where the use of simulation or numerical experimentation is classified as the use of a third symbol system [17] beyond natural language and “analytical mathematical technique” ([16], p. 104). For a classification of the “ways of doing science” and the symbol systems used in science we shall use a diagram (Figure 1) showing various connotations of “theory”, “model” and “target system” with the scientific practices connecting them.
Section 3 and Section 4 discuss the model which we use as an example and describe the translation between the original gender desegregation simulation model used in [7,9] and a reconstruction along the lines of the non-statement view of the structuralist program [12] as well as the translation between such a reconstruction (which we will call GDS) and a new simulation model programmed in a more recent theory-based simulation environment, namely NetLogo [18]. The step taken in Section 4 supports the verification of the model, as the correspondence between a formal description of the (models of a) theory and the resulting simulation model becomes very transparent.
Section 5 shows the results of the (new) simulation model, a sensitivity analysis, an approach at validation and, finally, its ability to produce an estimate of historical values of a GDS-theoretical term. The conclusion, finally, tries to encourage the use of the kind of formalisation applied in this paper.

2. The Role of Simulation in the Process of Theory Building

Figure 1, slightly redrawn from [19], shows an expanded framework to extend the logic of the basic model of the modelling and simulation process in ([9], p. 17) which only contained the items and arrows marked in red in the new diagram. The “Abstraction” arrow (now dotted) connecting the “target system” (the real world issue in Figure 1) to the “model” (the executable simulation model in the new diagram) was replaced by a chain of arrows (now in green) from the real world issue via a mental model, a potential model and a full model in the sense of the non-statement view of the structuralist program [12] and a theory-based simulation environment to the executable simulation model.
The words in italics between quotation marks are the terms used in ([9], p. 17); in the rest of the paper “model” in italics refers to the usage of the word in the non-statement view of the structuralist program, otherwise “model” refers to the usage in the context of “modelling and simulation”, “agent-based modelling” etc., always taking into account that a “simulation model” is likely to be an element of the set of full models of some theory, even if the simulation modeller has not make this explicit.
The three levels of Figure 1 refer to the most complete information in the middle (“full model”, executable simulation, and real world target system, although part of the latter is usually hidden), the observable aspects of model and target system on the top level, and the assumption of what is the case on the bottom level.
This framework is meant to not only provide future simulation researchers with a research architecture that can assist them in their modelling efforts, but also help the wider research community put simulation methods into perspective. The following subsections explain the different building blocks of the research architecture and its relationships—with a column containing various aspects of “desk research”, i.e., the literature overview with which one usually starts, at the right end, a column with several aspects of empirical research and two columns with several stages of theoretical research with and without simulation at the left end of the diagram, where these two columns symbolise the two symbol systems [17] appropriate for a formal treatment of theoretical problems (as opposed to natural language which is often ambiguous). When Axelrod [15] called theory building with simulation the “third way of doing science” as “contrasted with the two standard methods of induction and deduction”, this paper argues that both ways—with more `classical’ methods of induction and deduction and with computer simulation—are the same way of doing science, the more so, as more often than not—and the more, the more complex the target systems are—interesting mathematical models have no closed solutions and have to be solved with the help of numerical methods, and when Gilbert and Terna [20] called social simulation “a `third way’ of carrying out social science, in addition to argumentation and formalisation, they justly distinguished it from verbal argumentation (Ostrom’s first symbol system), but a simulation program is as highly formalised as any mathematical formalisation.

2.1. Prior Theory—Desk Research

Scientists usually do not start from scratch when they attempt to explain some empirical phenomenon with some theory. They rather start from the existing literature dealing with the empirical phenomenon under discussion. This is sometimes called “desk research”, a term mainly used by market researchers whereas academics prefer the term “literature review” ([21], p. 175) defined by [22] as “a systematic, explicit and reproducible method for identifying, evaluating and interpreting the existing body of recorded work produced by researchers, scholars and practitioners.” In the framework of Figure 1 desk research serves mainly two purposes: finding research literature on the problem in question and finding a potential target system from which data about the problem in question is available.
In the current context, this meant an in-depth literature analysis [8] and the retrieval of historical data about gender relations (both for teachers and pupils) in schools in a region for which such data were available. In terms of [22] the data finally retrieved came from different sources (school archives, ministry archives etc), i.e., they were not ready-made by earlier researchers but at best by practitioners, such that these data can rather be qualified as data generated by empirical research than as data prepared for secondary analysis ([23], p. 33).
From the literature one first axiom soon arose (from “prior theory” in terms of Figure 1) all the way along the green arrows up to the “full model”, namely that all teachers leaving their jobs had to be replaced by men and women with equal overall probability, following the equal opportunities principle already laid down in article 3 linea 2 of the German Basic Law of 1949 (although ordinary legislation procrastinated the equal opportunities for women for many years), another assumption was that men stay in their jobs longer than women do (an assumption which was later on corroborated and precised mainly in stakeholder interviews as quantitative empirical data for the period under observation were hard to come by). As a result of the popular tradition to teach boys and girls in separate schools (run mainly by teachers of the same sex as the pupils with the typical exception of male math and physics teachers in girls’ schools) it was also assumed that female applicants would have had a higher probability to be allocated to schools where a majority was female.

2.2. Empirical Research

Beside the historical school data, empirical research was done in form of interviews with witnesses (officials in the ministry, school headmasters, members of parents’ councils) to shed some light on the employment decisions made during the four decades under observation. Changes in gender relations turned out to be partially caused by more and more girls wanting to attend schools of the highest grade (or more and girls’ parents wanting their daughters to attain better qualified education). As traditionally in Germany schools of the highest grade (“Gymnasien”) were not co-educational schools, the small number of higher girls’ schools soon ceased to be sufficient for the increasing demand, and in less densely populated parts of the country the most economical response was to accept girls in schools that until then had been reserved for boys.

2.3. Theory Building

Formal theory building began when the verbal assumptions mentioned in the previous two subsections had to be translated into some mathematical or computational structure to replicate the time series generated from the historical data. The main purpose of this translation was to make the mentioned assumptions as least plausible (or to refute them) in the light of the empirical data. With 114 schools and four time series per school (number of male and female teachers and of girls and boys per school year) it soon became clear that the usual statistical techniques would not suffice to refute or to corroborate the assumptions. This was the origin of the MIMOSE (MIMOSE [24,25] is a meanwhile obsolete simulation language which was designed for multilevel simulation.) simulation model ([9], pp. 113–119) which replicated graphics of the frequency distribution of the gender ratios of teachers derived from the historical data to a high degree of visually perceptible similarity. But the step from the mental model of the real world issue derived from desk research and empirical research was—at the time of its first appearance—done along the dashed orange arrow labelled “Short-cut” in Figure 1. It might have been desirable to translate the mental model with much more formal methods from the very beginning but the old MIMOSE model might be a good start into a discussion how such a formal translation could have been done:
define the base sets:
Which active and passive elements constitute the system under observation (the real world issue)?
define the features:
Which properties do the active and passive elements of the system have which can account for the observed process?
define the dependencies:
How do the properties of the elements depend on each other, how do they interact with each other?
The fact that the simulation model was not written in one of the general purpose languages (like PASCAL or C at that time), but in MIMOSE, a functional and partly object oriented language with object types for base sets, their instance attributes for the features and functions, but no procedures for the dependencies, certainly led to formal answers to the questions listed above; hence, it might be appropriate to depict the process along the lines of a deconstruction of the MIMOSE model and, from its results, of a new construction of a simulation model using a more up-to-date toolbox.

3. From a Simulation Model to a Structuralist Reconstruction

In an earlier paper [3] we showed that the formalization of a theory in a MIMOSE [24,25,26] simulation program is equivalent to a structuralist reconstruction of this theory—which should not come as a surprise since the design of MIMOSE (a functional, declarative language which strictly separated model description, model initialisation and simulation setup) was partly guided by the thoughts of the founders of the structuralist program. And this equivalence also holds true for the gender desegregation model (in both versions, MIMOSE and NetLogo) and the structuralist reconstruction attempted in this section. Hence there is nothing special about computer simulation as a way of doing science, as the same induction from the historical data and the deduction from some first principles would have been (and was, in [8,27]) in a traditional approach to explain and understand the process of overcoming the gender segregation in these German schools.
According to [12] a formal definition of a theory that could explain what happened to teachers in the gymnasien of Rhineland-Palatinate—a gender desegregation theory—starts with the definition of a theory element GDS = K , I where K is called the theory-core and I is the domain of intended applications of GDS ([12], p. 39), one of these intended applications being the history of the employment of male and female teachers in these schools between 1950 and 1990 (other intended applications could be histories of teacher employment in schools in other parts of Germany or of countries which traditionally separated girls and boys in secondary education). Generally speaking, the theory-core is “an entity constituted by five different components: a class M p (the class of potential models), a class M of (actual) models, a class M p p of partial potential models relative to M p and M, a global constraint GC and a global intertheoretical link GL ([12], p. 79, my italics):
K ( GDS ) = M p ( GDS ) , M ( GDS ) , M p p ( GDS ) , GC ( GDS ) , GL ( GDS )
The set of potential models M p (GDS) is defined as a list of all terms involved; the set of actual models M(GDS) is a subset of M p (GDS) containing all those models which fulfil the axioms of the theory, and the set of the partial potential models M p p (GDS) is derived from M p (GDS) by omitting all terms whose meaning is only assigned by the theory, i.e., those terms which can only be measured with the help of the theory; M p p (GDS) may only contain terms measurable with the help of other theories T’ linked to GDS by intertheoretical links collected in GL. In our case the constraint is of little relevance, as it refers to relations between distinct potential models—one could think here of the history of teacher employment in Rhineland-Palatinate and other neighbouring federal states influencing each other in some way or other; another constraint could refer to another application to the same history with information on the individual successions between teachers leaving a certain school and his or her successor, as from all these successions the parameters κ and δ could be directly estimated—for such a constraint in an entirely different context see ([2], p. 73, 84).
To perform the transformation from a simulation program into a structuralist reconstruction the following steps were identified to be necessary to achieve a definition of the set of potential models of a theory (Taken from [3], pp. 174–175)—and these steps will now be taken for the MIMOSE model published in [9]:
  • Take the object types of the MIMOSE model as base sets of the definition of the potential model.
    Table 1 shows the correspondence between the object types and the base sets.
  • Take T as a set of instants and—if any random functions are applied in the MIMOSE program— Ω , F , P as a probability space to be additional base sets of the definition of a potential model.
  • Take any constant attribute of any MIMOSE object type as a function from this object type to the attribute type (for the sake of simplicity, we identify the “type” with the “set of its instances”).
    Table 2 shows the correspondence between the constant attributes of each MIMOSE type and the respective function from this object type to the respective attribute type.
    There are two more global terms (constants whose values were set in the initialisation phase) in the original MIMOSE program, namely ν and κ and one more global term first introduced in [10], namely δ which need to be mentioned in the definition of the potential model of GDS.
  • Take any variable attribute of any MIMOSE object type as a function from the cross product of object type and the set of instants T to the attribute type.
    Table 3 shows the correspondence between the variable attributes of each MIMOSE type and the respective function from this object type to the respective attribute type.
  • After these first four steps the definition of the potential model is complete.
  • Take any function application ( in MIMOSE, every variable attribute had such a function application bound to it as part of the object type definition) as an axiom of the definition of the model. This completes the definition of the model of the theory.
Finally, this leads to the definition of a potential model M p (GDS) of the gender desegregation theory GDS:
M p (GDS):
γ is a potential model of the gender desegregation theory ( γ M p (GDS)) iff there exist T , Ω , F , P , M , G , S , P , δ , κ , ν , σ , τ , x , λ , π , ϕ , β , α , ρ , ω , ϵ , μ such that
  • γ = T , Ω , F , P , M , G , S , P , δ , κ , ν , σ , τ , x , λ , π , ϕ , β , α , ρ , ω , ϵ , μ ;
  • T I N is a bijective function [labeling (or coordinatizing) the instants ( t T ) —start of a school year—with integer numbers ( I N + ) ],
  • Ω , F , P is a probability space with
    (a)
    Ω is a sample space,
    (b)
    w : S Ω is bijective,
    (c)
    F Ω is a family of events,
    (d)
    P is a probability measure defined on F .
  • A , A is a measurable space [of lots drawn to select new teachers] with A = [ 0 . 0 , 1 . 0 ) ,
  • M is a singleton [ministry],
  • G = { f , b , c } is a set [containing the types schools may belong to: girls’, boys’ and coeducative schools],
  • S is a finite set [of schools],
  • P is a finite set [of teaching persons],
  • κ is a real-valued constant [this parameter of the function π determines the strength of the influence of the current gender relation in a certain school on the employment of another female or male teacher],
  • δ I R + is a positive real-valued constant [this parameter of the function π determines the willingness of the employing ministry to use an equal-opportunities policy; δ < 1 favours men, δ > 1 favours women],
  • ν is a function with Dom ( ν ) = T and Rge ( ν ) = I R [ ν ( t ) yields a value that makes sure that the countrywide probability of newly employing a man or a woman is kept constant at all times—this probability is 0.5 if δ = 1 . 0 , for δ < 1 the probability to employ a woman is < 0 . 5 , for δ > 1 this probability is > 0 . 5 ],
  • σ is a function with Dom ( σ ) = M × G and Rge ( σ ) = I P ( S ) [ σ ( m , g ) yields the set of schools of type g G under the control of ministry m M ],
  • τ is function with Dom ( τ ) = S × T and Rge ( τ ) = I P ( P ) [ τ ( s , t ) yields the set of teaching persons employed at school s during school year t],
  • x is a function with Dom ( x ) = S × T and Rge ( x ) = [ 0 , 1 ] [ x ( s , t ) yields the proportion of women teaching at school s at time t],
  • λ is a function with Dom ( λ ) = S and Rge ( λ ) = I P ( I R ) [ λ ( s ) yields the time series of the proportion of women teaching at school s for each of the school years],
  • π is a function with Dom ( π ) = S × T and Rge ( π ) = [ 0 , 1 ) [ π ( s , t ) yields the probability that that a women will replace a retired teaching person or fill a newly created position at school s at time t],
  • ( r t , p ) t T , p P is a stochastic process on the probability space Ω , F , P with values in the measurable space A , A such that r is univariate uniform white noise [i.e. r ( t , p ) yields the number to be compared to π ( s , t ) such that a woman is employed for π ( s . t ) < r ( t ) at any point t of time and for any candidate p],
  • ϕ is a function with Dom ( ϕ ) = P and Rge ( ϕ ) = S [ ϕ ( p ) yields the school s which employs teacher p],
  • β is a function with Dom ( β ) = P and Rge ( β ) = { 0 , 1 } [ β ( p ) yields a proxy for the gender of teaching person p, where 1 means female and 0 means male],
  • α is a function with Dom ( α ) = P × T and Rge ( α ) = { 25 , , 65 } [ α ( p , t ) yields the age of teaching person p at the start of the school year t],
  • ρ is a function with Dom ( δ ) = P × T and Rge ( δ ) = { 0 , . . . , 40 } [ ρ ( p , t ) yields the number of years until a person retires, counted from the start of school year t],
  • ω is a function with Dom ( ω ) = P × T and Rge ( ω ) = { 0 , 1 } [ ω ( p , t ) is 1 if teacher p will retire at the end of school year t and 0 otherwise],
  • ϵ is a function with Dom ( ϵ ) = P × T × I P ( P ) and Rge ( ϵ ) = I P ( P ) [ ϵ ( p , t , P ) yields the set P of teachers employed at school s = ϕ ( p ) during school year t without teacher p who retires at the end of this year],
  • μ is a function with Dom ( ν ) = P × T × I P ( P ) and Rge ( ν ) = I P ( P ) [ μ ( p , t , P ) yields the union of the set of teachers employed at school s = ϕ ( p ) at the start of school year t, i.e., without those who retired at the end of the previous year, with the set which contains only the newly employed teaching person p].
  • f is a function with Dom ( f ) = I R × T and Rge ( f ) = I R + [ f ( x ; t ) is the probability density function of the distribution of the proportion of women teaching at school s S , and F : I R [ 0 , 1 ] is the corresponding cumulative density function of this proportion.
Some of these terms gain their meaning only by virtue of GDS, as without GDS they cannot be measured. The base sets (including the additional base set T ) are easily measured in real world settings, as states and their ministries, schools and their school types as well teachers are easily identified with their names. This also holds for the teaching staff of each school and the gender relation (including the history), the gender and age of all teachers at all times and the number of years until they will retire (not even excluding cases when teachers leave their jobs prematurely, which is not known in advance but anyway at the time when they announce that they want to leave). The probability density function f and the corresponding cumulative density function F are also observable without supposing GDS, as these can be easily calculated as frequencies and cumulative frequencies from the data known for all schools and all school years.
Hence what remains unmeasurable without the help of GDS which first introduces these terms is the function
π ( s , t ) = ν ( t ) δ exp [ κ x ( s , t ) ]
and its coefficients which yields the probability that a woman will replace her predecessor or fill a newly created position at school s at the beginning of school year t. According to the assumptions that went into GDS this probability depends on three parameters two of which are (in a first stage of GDS) understood as constant. The exponential function was used in analogy to earlier work by [29] as it is—unlike many other increasing functions—allows for the bimodal probability distributions which had been observed in the empirical data.
  • δ is 1, granting equal opportunities to men and women or 1 violating equal opportunities.
  • κ is used to variate the strength of the influence of an equal opportunities strategy on the gender desegregation process in the individual schools— κ = 0 means that schools dominated by female teachers or dominated by male teachers will continue to be like this for a long time, whereas κ 1 means that before long all schools will have the same desired gender relation (determined by δ ).
For calculating ν three auxiliary terms are necessary (note that ν is calculated in the old school year but applied in the next school year).
  • τ ϵ ( t ) : T × M I N yields the countrywide number of teaching persons who will leave their schools at the end of school year t:
    τ ϵ ( t , m ) = s S | τ ( s , t ) \ ϵ ( s , t )
    ϵ ( s , t ) = { p | p τ ( s , t ) ρ ( p , t ) 1 }
  • τ ϵ f ( t ) : T × S I N yields the countrywide number of teaching persons who will leave their schools at the end of school year t and would have to be replaced with women if ν ( t - 1 ) had been 1:
    τ ϵ f ( t , m ) = s S π ( s , t - 1 ) | η ( s , t ) |
    η ( s , t ) = { p | p τ ( s , t ) ρ ( p , t ) < 1 }
    ν ( t ) = τ ϵ ( t ) / ( 2 τ ϵ f ( t )
For technical reasons and also for being able to derive a probability density function and a cumulative distribution function along the lines of [29] (see Appendix A), x [ 0 , 1 ] had to be rescaled to ξ = 2 x - 1 [ - 1 , 1 ] to produce the Figure 2, Figure 3 and Figure 4. In the terms used in M p ( GDS ) the probability density function reads
f ( x ) exp [ V ( x ) ]
V ( x ) = 2 ( δ - κ ) + 2 κ ( 2 x - 1 ) 2 - [ 2 x ln ( 2 x ) - ( 2 - 2 x ) ln ( 2 - 2 x ) ]
There are at least three reasons why the process defined in [29] is different (and much less complex) than the process defined here:
  • GDS does not contain a process of switching between female and male. Instead an empty position is filled with a woman or with a man, and the function π determines how many of the free positions in a certain school should be filled with a women—and as the few free positions must be filled with integer numbers of men or women something an allocation by drawing lots is performed (in the simulation model, not necessarily in the target system) to reach the desired gender ratio in this school.
  • This replacement process is not defined on the state level but on the school level such that the probability of drawing a lot in favour of a women is not the same over all schools but, on the contrary, specific for each school.
  • The period between two replacements in which the same person is involved (first employed, later on retired) is different for all persons, as the length of this period is a random variable with different means for men and women; as this is part of the initialisation of the model (and of new teachers) this is not reflected in M p (GDS).
Nevertheless, the resulting probability density function in GDF is likely to be of the same form as in Equation (9): with appropriate κ and δ it is a good approximation for the observed frequency distributions (see Figure 2)—although the κ and δ in Equation (9) need not necessarily be the parameters that controlled the target system. We return to this form of gender relation indicator in the context of Figure 3 (see Figure 4 and the text referring to this figure).
The full model M(GDS) results from the potential model M p (GDS) by adding formulas to the functions mentioned in M p (GDS) which serve as axioms of GDS. The only axiomatic function is certainly π ( s , t ) = ν ( t ) δ exp ( κ x ( s , t ) ) which yields a time-dependent replacement probability which could replicate the documented history (we will see that for constant δ this is not accurate enough). The other necessary functions representing the variable attributes of the MIMOSE model are straightforward, and their mechanisms are observable even when nobody cares for gender desegregation: people’s ages are incremented by 1 every school year ( α ( p , t ) = α ( p , t - 1 ) + 1 ) ), and time till retirement is decremented by 1 every school year ( ρ ( p , t ) = ρ ( p , t - 1 ) - 1 ), and the consequences of age and time until retirement for the staff of each school are also observable—with the restriction that the actual time of (or age at) retirement (or death or other termination) can only be estimated probabilistically, but on the grounds of some well-established theory which is also used successfully in realms such as life insurance or life annuity.

4. From a Structuralist Reconstruction of a Theory to a Simulation Model

The transformation of a structuralist theory reconstruction into an executable NetLogo program is also straightforward:
  • Take any base set from the definition of the potential model (except a set of instants and a probability space) and transform it into a NetLogo breed. This is done by inserting
    breed [<base set name plural> <base set name singular>
    		
    for each of the base sets (except the additional T and Ω , F , P before the to setup procedure in the NetLogo program.
    If there is no set of instants the theory will not be about a dynamical process, and a simulation program is of no use. If the set of instants is continuous, a discretisation will always be necessary for any kind of (digital) computer simulation. So first a redesign of the theory will be necessary.
  • Take any function from the definition of the potential model and transform it into an attribute of the respective object type, considering the domain of the respective function. This is done by inserting
    to-report <function_name> <arguments>
    <...>
    end
    	
    anywhere in the NetLogo program.
  • Take any axiom from the definition of the model of the theory and transform it into the body of a NetLogo function. This is most easily done by inserting
     set <axiom_name> <right hand side of the axiom>
    		  
    between the corresponding
    to-report <...>
      <...>
      report <axiom_name>
    end
    		   
The approach taken here has some similarity to the approach in [30,31], as the latter shows how NetLogo models can be built from ontologies and the former shows how NetLogo models can be built from the definition of models of a theory. Salt and Polhill called their approach “’white-boxing’ models. All aspects of the model are potentially transparent, even if the code is unavailable, we have the underlying `theory’ behind the model”, and this is also true for the approach described in this paper. Moreover, both approaches can be used to “combine with other models whose semantics align” [30]—a technique which resembles the building of intertheoretical relations ([12], pp. 248–250) where two theories T 1 and T 2 are linked, for instance via a term which is T 1 -theoretical but not T 2 -theoretical. In our example, ρ could be thought of as a GDS-non-theoretical term, as the time until retirement is not anything whose measurement depends on the process of employing teachers and assigning them to certain schools (but needs to be measured in any theory which deals with employing, dismissing and pensioning off staff); on the other hand, at any point of time t and for any employee or candidate p, ρ ( p , t ) —the number of years after t until person p retires or leaves his or her job for other reasons is not directly observable at time t, but there is a probability distribution for ρ whose parameters can be estimated and which will, among others, depend on the gender β ( p ) . In the context of the current paper, both the MIMOSE and the NetLogo model include such a theory saying that ρ ( p , t 0 ) —the time until retirement from the time of first employment (The age at the time of first employment is set to a random variable with mean 40 and standard deviation 7 at the time of the initialisation of the model; later on it is set to 30; both settings are somewhat arbitrary as better estimates, particularly for 1950, were not available) is normally distributed with μ ρ = 30 for men and μ ρ = 15 for women and σ ρ = 5 for both with the additional restriction that all persons retire at an age of 65. This simple model of the ageing process is simply included in the simulation model, but it could have been programmed separately and later on “combined” in the sense of [30] with the main model. Another possible combination could be thought of with respect to the dependence of the gender relation among teachers on the gender relation among pupils. The MIMOSE model does not even model the pupils, but the NetLogo model does, although only for illustrative purposes, but a more sophisticated model of the whole process should take into account that the number of girls attending gymnasien increased considerably and much faster (from 16,817 to 31,107 or by 84.97 per cent) than the number of boys (from 23,017 to 29,020 or by 26.08 per cent) between 1950 and 1990. Hence an alternative or additional assumption would also take the changed demand side into account, for instance assuming that the change of the gender relation of teachers should reflect the change of the gender relation of pupils in some way—although this never happened as the proportion of female teachers rather decreased slightly over the years [27].
As NetLogo is a procedural language, not a declarative functional language, reporter procedures (to-report functions) are not the optimal solution with this toolbox; instead the typical NetLogo programmer is likely to prefer to update-<breed-name> (command) procedures which have to be called from within the to go procedure, see below. Hence Table 4 provides a translation from the definition of M p (GDS) to typical NetLogo code fragments (column 2 containing the declarations and colum 3 containing the assignments).
  • Finally, use NetLogo’s user interface and the to setup procedure to initialize all constants and variable attributes which must have taken values at simulation start time, and to fix the simulation parameters (time step size, break and stop condition) and run the program.
As the model is designed to be initialised with historical data (instead of random values distributed similar to historical data as in the MIMOSE version) a complicated to setup procedure is necessary (this procedure reads a map of Rhineland-Palatinate and the geographical co-ordinates of all schools that existed between 1950 and 1990 together with the teacher and pupil numbers of the school year 1950/1951 from two files); moreover output files need to be written to prepare empirical validation and particularly the calculation of the cumulated simulated frequency distributions F κ i , δ i , j s i m to compare them to the observed frequency distributions F j o b s . Moreover, one might want to embed the simulated schools in the historical geography from which the data stem, and to make the model even more illustrative, one might want to add girls and boys to be instructed by the simulated teachers, even when they have no part in GDS. From all these features, the model presented in [10] (The NetLogo model is available from https://www.comses.net/codebases/7220b8df-b820-4853-a5c8-903933b04b8a/releases/1.1.0/ together with the necessary initialisation data and an analysis program which carries out all the steps needed for Section 5) arises whose results will be presented in Section 5.

5. Model Results and Empirical Validation

5.1. Validating The Extended Model

Some of the results of a NetLogo model as described in the previous section were already published in [10]. This paper will mainly deal with the validation question and the problem of estimating or even measuring terms which were only introduced by GDS, namely κ and δ . The third term ν ( t ) , which is obviously not a GDS-non-theoretical term, turns out to be no more than a calibrating function making sure that for δ = 1 men and women have the same overall probability to be employed when a position needs to be filled. In all sensitivity analyses done with various versions of the model the value of κ seemed to be of vanishing effect, at least in the reasonable span of 0 . 3 < κ < 0 . 8 , hence, it was mainly δ whose effect on simulation results and their similarity with the historical data needed to be assessed. But a closer inspection of the results of a larger number of simulation runs revealed that there is some influence of κ , too, at least in the early years of the observed period. This effect is shown in Figure 5 which gives the reduction of the variance of the Kolmogorov-Smirnov distance θ K S = sup x I R | F i , j s i m ( x ) - F j o b s ( x ) | between the empirical cumulative density function of the proportion of women over all schools F o b s ( x ) and the respective simulation results F i , j s i m ( x ) from 660 runs ( i = 1 660 ) for 39 school years ( j = 3 41 for the school years 1952/53 ...1966/67, 1967, 1967/68 ...1989/90 (Until 1966/67, school years lasted from Easter to Easter, from 1968/1969 on they lasted from September till July, such that school year 1966 began on 1 April 1966 and ended on 30 November of the same year and school year 1967/68 lasted from 1 December 1967 till 31 July 1968. This particularity is not reflected in the model); there are no results for the first two school years, as these distances are zero or extremely small because for the first school year the simulated data are identical with the empirical data with which they were initialised while for the second school year with θ K S = 0 . 050921 the distribution is still the same in all 660 runs).
Figure 5 shows clearly that after 1969 the influence of κ on the simulation results vanished completely, but in some of the earlier years it dominated the influence of δ . If one realises what the two parameters stand for it seems that the tendency to send women applicants to women-dominated schools was still quite strong whereas the postulate to give men and women an equal chance when they applied for a teacher career was very weak (and perhaps indeed a violation of the constitutional equal opportunity postulate).
Taking into account that validity is a complicated concept we first discuss various aspects of this concept. Zeigler [32,33] distinguished replicative, predictive and structural validity, very recently [34] (see also [35]) introduced a similar distinction into input validation, process validation and output validation. While Zeigler’s structural validation is more or less the same as Tesfatsion’s and Gräbner’s process validation, Zeigler’s replicative and predictive validation aspects resemble Tesfatsion’s and Gräbner’s descriptive output validation and predictive output validation, respectively. But Tesfatsion introduced a validation aspect that was not considered by Zeigler, namely the input validation: “Are the exogenous inputs for the model empirically meaningful and appropriate for the purpose at hand? Examples of exogenous model inputs include functional forms, random shock realizations, data-based parameter estimates, and/or parameter values imported from other studies.” Not included in this enumeration is the initialisation from historical data—which is the case in our example: The simulation starts with all schools that existed in 1950 and with teacher numbers as historically recorded; the annual average increase in countrywide teacher numbers is also included in the NetLogo model (although not in the considerations in Section 4), the distribution of the duration of the period of sevice by male and female teachers is estimated from historical data (although the source is not overly reliable); κ did not seem to be a sensitive parameter, and δ = 1 in the original MIMOSE version was taken from the employer’s constitutional obligation to grant men and women the same chance to be employed. Hence it is the process validity and the predictive output validity (“How well are model-generated outputs able to forecast distributions ...for sample data withheld from model identfication ...”)—which is mainly at stake in the current context.

5.2. Measuring GDS-Theoretical Terms

In the original paper [7] as well as in [9] the predictive output validation was done only for δ = 1 and only by a visual comparison of historical and simulated histograms showing the distribution of the percentage of female teachers over all schools over the whole period from 1950/51 until 1989/90. This comparison gave the impression that the match between the stacked histograms was satisfactory. A more detailed analysis in [6], however, showed that for most of the period under observation the Kolmogorov distance between the historical distributions and the simulated distributions was smaller for δ < 1 . 0 —which means a violation of the equal opportunities principle for the whole period. An even more detailed analysis yielded different κ and δ values for different school years leading to good approximations of the simulated cumulated density functions F κ i , δ i , j s i m ( x ) to the observed functions F j o b s ( x ) . The goodness of approximation is again measured with the Kolmogorov-Smirnov distance θ K S = sup x I R | F κ i , δ i , j s i m ( x ) - F j o b s ( x ) | (runs are indexed with i = 1 660 , school years are indexed with j = 1 41 ). (All these calculations were done with the help of the C program koed which is available from https://www.comses.net/codebases/7220b8df-b820-4853-a5c8-903933b04b8a/releases/1.1.0/, too) The simulation results cannot be used for point estimations of κ and δ because quite different combinations of these parameters yield values for θ K S which are small enough to be insignificant.
This is why Figure 6 gives only boxplots for κ , δ and θ K S for those 50 runs and the school years which showed the smallest value for θ K S . As a consequence of the relative small influence of κ on θ K S (see Figure 5) the boxplot for κ shows very large ranges and quartile differences for most of the years; one can, however, see that in early years κ values around 0.75 prevailed whereas during the final 15 years κ was only about 0.4. The series of δ shows high values about 0.95 from the mid-1950s until the mid-1960s, a slow decrease to 0.85 during the second half of the 1960s, stability for the next one and a half decades and from 1983 till 1986 a steep decrease to less than 0.7. The selected 50 runs for each school year are sufficiently similar to the observed data, as θ K S is always below 0.12. This means that, according to the Kolmogorov-Smirnov two-sample test, the null hypothesis | F κ i , δ i , j s i m ( x ) = F j o b s ( x ) | does not need to be rejected for all these runs which were used to find estimates for κ and δ , and that all these runs yielded cumulative distribution functions lying well within the 80 per cent confidence band [36], ([37], chapter 7), the half width of this band being 0.14209 for a sample size of 114. Examples for the 80 per cent confidence band for two years are shown in Figure 3 which uses the conversion from x to ξ to be compatible with the relation between switching function and probability density function mentioned by [29]. There is no simulation run whose simulated distribution is within the 80 per cent confidence band around the observed distribution for all years; only run 441 with κ = 0 . 829 and δ = 0 . 831 produced distributions for all years up to 1977/78 within this confidence band (which is clearly in line with what can be observed in Figure 3).
From Figure 3, it is easily seen that for the school year 1965/66 simulation runs with high δ (blue and violet) match the observed distribution whereas for the school year 1988/89 this holds for δ 0 . 75 (green, yellow and orange).
Additionally, Figure 4 shows (for one run with κ = 0 . 5701 and δ = 0 . 9718 and one school year—1967/68—) that the probability function calculated from the resulting κ * = - 1 . 1402 and δ * = 1 . 5419 again lies well within the 80 per cent confidence band around the simulated cumulated frequency function. That κ * = - 1 . 1 and δ * = 1 . 3 leads to an even better approximation between the two curves shows that there are still differences between the approximative analytical solution following the concept of [29] and the stochastic model realised in the NetLogo model—although these differences are not statistically significant. This difference can be explained as a consequence of the fact that the process considered here is not one of individuals changing their gender according to the prevailing overall majority in their respective schools but of individuals replacing each other both locally and after a long period.

6. Conclusions

This paper showed several aspects of modelling social phenomena on several levels, aspects which are typical in multilevel and agent-based modelling:
  • the task of verification which can be supported by a structuralist reconstruction of a mental model or an available simulation model (Section 3),
  • the task of replication which can also be supported by such a reconstruction and by building a new model, perhaps with entirely different tools, on the grounds of the structuralist axiomatisation (Section 3 and Section 4),
  • the task of validation (SubSection 5.1) as the structuralist reconstruction makes clear which of the simulation model terms represent real-world terms which can be observed without using the theory whose potential and partial models are defined in this reconstructions—here GDS-non-theoretical terms—and which of these terms can only be made measurable as GDS-theoretical terms,
  • finally the task of measuring GDS-theoretical terms with the help of simulation output by finding out which values of these terms lead to simulation runs whose output fits measurements of GDS-non-theoretical terms best (SubSection 5.2).
The latter task can be compared to measuring natural constants such as Newton’s gravitational constants or Coulomb’s electrostatic constant whose values could be found out only after Newton’s and Coulomb’s laws stating the proportionality of a force to the product of two masses or charges, divided by the square of the distance, had been established. (Another task of a similar kind is deriving device constants from comparable laws, see [6] mentioning the spring constant using Hooke’s law or [38] mentioning the device constant of a crossbow using the relation between the angle at which the arrow was shot, the maximum height of the arrow’s way through the air, and the maximum length of the arrow’s flight)
Hence, the intended application of GDS to the data about the staff of German schools in the second half of the past century led to a simulation model (and some additional analysis software calculating the cumulative distribution functions of the simulation results) which allows for stating the relation between
  • the distribution F x of gender proportions x in the teaching staff of school and
  • two traits of officials responsible for employing teachers, namely
    -
    to select men and women with a certain preference for one gender ( δ 1 ) or no such preference leading to equal opportunities ( δ = 1 ) and
    -
    to send women preferably to schools dominated by women and not to send men to such schools ( κ high) or to send persons regardless of their gender to schools of any degree of gender relations ( κ low).
The simulation results showed that F ( x ) or, to be more precise, the “measure of validation” ([39], p. 163), namely the variance of θ K S = sup x I R | F i , j s i m ( x ) - F j o b s ( x ) | is so well explained by κ and δ that at least an estimation of the historical values of these two GDS-theoretical terms became possible which revealed that during the first two decades of the documented period the strategy applied was to segregate men and women (and also boys and girls), leaving f ( x ) a bimodal frequency density function, whereas in the third decade the influence of κ and κ itself decreased and f ( x ) became unimodal, δ still being high but still below the equal opportunities level of 1.0, whereas the fourth decade saw a decrease of both values, such that the allocation of applicants to schools became more and more gender-independent, and equal opportunities were not achieved (Kraul, M.; Wirrer, R. ([27], p. 322) even state that “the primacy which female teachers used to have in girls schools was given up in the process of establishing coeducation, but no kind of `compensation’ was achieved” (italics in the original, my translation) . As this happened only during the last few years of the observed period and no further data could be collected, the allocation strategies after 1990 cannot be evaluated with the help of GDS.
But anyway, the results of this paper seem to encourage to connect agent-based and multilevel simulation models to empirical data and particularly show ways to connect global parameters to emergent phenomena such as distributions of features of lower level entities, and it also shows that “the requirement of an explicit formulation of the hypotheses with the indication of the underlying assumptions is perfectly realisable when one uses the metatheoretical tool of the structuralist metatheory” ([14], my translation).

Funding

Part of this paper, particluarly Section 3 originates in the research project “Micro and multilevel modelling and simulation software development (MIMOSE)” directed by Michael Möhring and the author between 1988 and 1992 and funded by the Deutsche Forschungsgemeinschaft under grant no. Tr 225/3–1 and –2. The research from which the data stem which lead to the results of Section 5 and allowed first steps into designing the model in Section 3 received funding from Deutsche Forschungsgemeinschaft between 1991 and 1995 under grant agreement no. KR 960/5–1 and –2 (‘Einführung und Auswirkung der Koedukation. Eine Untersuchung an ausgewählten Gymnasien des Landes Rheinland-Pfalz’/‘The introduction of co-education. A study of educational history at selected grammar schools in the German State of Rhineland-Palatinate’, directed by Margret Kraul).

Acknowledgments

The diagram in Figure 1 goes back to discussions with Martin Ihrig and was slightly changed for the purposes of this paper. The paper has profited from the comments of three reviewers which are gratefully appreciated.

Conflicts of Interest

The author declares no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.

Appendix A. An Alternative Measure for the Gender Relation

With respect to x, another form of gender relation indicator (That we use both x and ξ in this paper is mainly due to the fact that in earlier publications the frequency density function f * ( ξ ) was used and that the computer program used to analyse observed and simulated data also used f * ( ξ ) instead of f ( x ) ) is possible when one goes back to ([29], pp. 40–44) who used the functions
p 12 = ν exp ( δ * + κ * ξ )
p 21 = ν exp [ - ( δ * + κ * ξ ) ]
in a model of a population consisting of individuals switching between two opinions (“yes” and “no”) where the probability of such a switch depended on the current majority—which was described by the variable
ξ = n y e s - n n o n y e s + n n o , - 1 ξ + 1
In [29] and showed that the resulting probability density function was of the form
f * ( ξ ) exp [ U ( ξ ) ]
U ( ξ ) = 2 δ * + κ * ξ 2 - [ ( 1 + ξ ) ln ( 1 + ξ ) - ( 1 - ξ ) l n ( 1 - ξ ) ]
With ξ = 2 x - 1 ( ξ = 1 is equaivalent to x = 0 or no women, ξ = - 1 is equivalent to x = 1 or no men!) this results in δ * = δ - κ and κ * = 2 κ .

References

  1. Troitzsch, K.G. Modellbildung und Simulation in den Sozialwissenschaften; Westdeutscher Verlag: Opladen, Germany, 1990. [Google Scholar]
  2. Troitzsch, K.G. Structuralist Theory Reconstruction and Specification of Simulation Models in the Social Sciences. In The Structuralist Program in Psychology: Foundations and Applications; Westmeyer, H., Ed.; Hogrefe & Huber: Seattle, WA, USA, 1992; pp. 71–86. [Google Scholar]
  3. Troitzsch, K.G. Modelling, Simulation, and Structuralism. In Structuralism and Idealization; Kuokkanen, M., Ed.; Poznań Studies in the Philosophy of the Sciences and the Humanities, Editions Rodopi: Amsterdam, The Netherlands, 1994; pp. 157–175. [Google Scholar]
  4. Troitzsch, K.G. Simulation and Structuralism. In Modelling and Simulation in the Social Sciences from a Philosophy of Science Point of View; Hegselmann, R., Mueller, U., Troitzsch, K.G., Eds.; Theory and Decision Library, Series A: Philosophy and Methodology of the Social Sciences; Kluwer: Dordrecht, The Netherlands, 1996; pp. 183–208. [Google Scholar]
  5. Troitzsch, K.G. Theory Reconstruction of Several Versions of Modern Organization Theories. In Ontology, Epistemology, and Teleology for Modeling and Simulation; Tolk, A., Ed.; Springer: Heidelberg, Germany, 2013; Volume 44, Chapter 6; pp. 121–140. [Google Scholar]
  6. Troitzsch, K.G. Axiomatic Theory and Simulation: A Philosophy of Science Perspective on Schelling’s Segregation Model. J. Artif. Soc. Soc. Simul. 2017, 20, 10. [Google Scholar] [CrossRef]
  7. Kraul, M.; Troitzsch, K.G.; Wirrer, R. Lehrerinnen und Lehrer an Gymnasien: Empirische Ergebnisse aus Rheinland-Pfalz und Resultate einer Simulationsstudie. In Kongreß der Deutschen Soziologie Halle an der Saale 1995. Kongreßband II: Berichte aus den Sektionen und Arbeitsgruppen; Sahner, H., Schwendtner, S., Eds.; Westdeutscher Verlag: Opladen, Germany, 1995; pp. 334–340. [Google Scholar]
  8. Wirrer, R. Koedukation im Rückblick. Die Entwicklung der Rheinland-Pfälzischen Gymnasien vor Dem Hintergrund Pädagogischer und Bildungspolitischer Kontroversen; Blaue Eule: Essen, Germany, 1997. [Google Scholar]
  9. Gilbert, N.; Troitzsch, K.G. Simulation for the Social Scientist, 2nd ed.; Open University Press: Maidenhead, NY, USA, 2005. [Google Scholar]
  10. Troitzsch, K.G. Using Empirical Data for Designing, Calibrating and Validating Simulation Models. In Advances in Social Simulation 2015; Jager, W., Verbrugge, R., Flache, A., de Roo, G., Hoogduin, L., Hemelrijk, C., Eds.; Springer: Cham, The Netherlands, 2017; Volume 526, pp. 413–428. [Google Scholar]
  11. Ulises Moulines, C. A logical reconstruction of simple equilibrium thermodynamics. Erkenntnis 1975, 9, 101–130. [Google Scholar] [CrossRef]
  12. Balzer, W.; Moulines, C.U.; Sneed, J.D. An Architectonic for Science. The Structuralist Program; Synthese Library; Reidel: Dordrecht, The Netherlands, 1987; Volume 186. [Google Scholar]
  13. Abreu, C.; Lorenzano, P.; Moulines, U. Bibliography of Structuralism III. Metatheoria 2013, 3, 1–36. [Google Scholar]
  14. Abreu, C. El influjo de la Teoría Sobre la Investigación Según Robert K. Merton Analizado Desde la Perspectiva de la Metateoria Estructuralista: Hacia La Retomada Del Diálogo Interrumpido. 2018. Available online: https://www.academia.edu/s/724a702bd0 (accessed on 19 April 2018).
  15. Axelrod, R. Advancing the art of simulation in the social sciences. Complexity 1997, 3, 16–22. [Google Scholar] [CrossRef]
  16. Humphreys, P. Numerical Experimentation. In Patrick Suppes: Scientific Philosopher; Humphreys, P., Ed.; Kluwer: Dordrecht, The Netherlands, 1993; Volume 2, pp. 103–122. [Google Scholar]
  17. Ostrom, T. Computer Simulation: The Third Symbol System. J. Exp. Soc. Psychol. 1988, 24, 381–392. [Google Scholar] [CrossRef]
  18. Wilensky, U. NetLogo. 1999. Available online: http://ccl.northwestern.edu/netlogo (accessed on 5 February 2019).
  19. Ihrig, M.; Troitzsch, K.G. An Extended Research Framework for the Simulation Era. In Proceedings of the Emerging M&S Applications in Industry & Academia / Modeling and Humanities Symposium, San Diego, CA, USA, 7–10 April 2013. [Google Scholar]
  20. Gilbert, N.; Terna, P. How to build and use agent-based models in social science. Mind Soc. 2000, 1, 57–72. [Google Scholar] [CrossRef]
  21. Williams, M. Making Sense of Social Research; Sage: London, UK, 2003. [Google Scholar]
  22. Fink, A. Conducting Research Literature Reviews: From Paper to the Internet; Sage: Thousand Oaks, CA, USA, 1998. [Google Scholar]
  23. Bickman, L.; Rog, D.J. Applied Research Design. A Practical Approach; Sage: Washington, DC, USA, 2009; Chapter 1; pp. 3–43. [Google Scholar]
  24. Möhring, M. Social Science Multilevel Simulation with MIMOSE. In Social Science Microsimulation; Troitzsch, K.G., Mueller, U., Gilbert, N., Doran, J.E., Eds.; Springer: Berlin, Germany, 1996; Chapter 6; pp. 123–137. [Google Scholar]
  25. Gilbert, N. Environments and Languages to Support Social Simulation. In Social Science Microsimulation; Troitzsch, K.G., Mueller, U., Gilbert, N., Doran, J.E., Eds.; Springer: Berlin, Germany, 1996; pp. 457–458. [Google Scholar]
  26. Möhring, M. MIMOSE – A Functional Language for Modelling and Simulation of Individual Behaviour in Interacting Populations. In Computer Aided Sociological Research. Proceedings of the Workshop “Computer Aided Sociological Research” (CASOR’89), Holzhau/DDR, 2–6 October 1989; Gladitz, J., Troitzsch, K.G., Eds.; Akademie-Verlag: Berlin, Germany, 1990; pp. 397–415. [Google Scholar]
  27. Kraul, M.; Wirrer, R. Koedukation gegen Lehrerinnen? Die Berufschancen von Lehrerinnen an Gymnasien des Landes Rheinland-Pfalz. Die Deutsche Schule 1996, 88, 313–327. [Google Scholar]
  28. Shorter Oxford English Dictionary, 6th ed.; Version 3.0.2.1; Oxford University Press: Oxford, UK, 2002.
  29. Weidlich, W.; Haag, G. Concepts and Models of a Quantitative Sociology. The Dynamics of Interacting Populations; Springer Series in Synergetics; Springer: Berlin, Germany, 1983; Volume 14. [Google Scholar]
  30. Salt, D.; Polhill, G. Building NetLogo Models from Ontologies as a First Step to Model Integration. In Proceedings of the Social Simulation Conference 2018, Stockholm, Sweden, 20–24 August 2018. [Google Scholar]
  31. Polhill, G. Extracting OWL Ontologies from Agent-Based Models: A NetLogo Extension. J. Artif. Soc. Soc. Simul. 2015, 18, 15. [Google Scholar] [CrossRef]
  32. Zeigler, B.P. Theory of Modelling and Simulation; Krieger: Malabar, India, 1985. Reprint, first published in 1976, Wiley, New York, NY, USA. [Google Scholar]
  33. Zeigler, B.P.; Praehofer, H.; Kim, T.G. Theory of Modelling and Simulation. Second Edition. Integrating Discrete Event Continuous Complex Dynamic Systems; Academic Press: San Diego, CA, USA, 2000. [Google Scholar]
  34. Tesfatsion, L. Modeling economic systems as locally-constructive sequential games. J. Econ. Methodol. 2017, 24, 384–409. [Google Scholar] [CrossRef]
  35. Gräbner, C. How to relate models to reality? An episte- mological framework for the validation and verificationofcomputationalmodels. J. Artif. Soc. Soc. Simul. 2018, 21. [Google Scholar] [CrossRef]
  36. Kolmogorov, A.N. Confidence Limits for an Unknown Distribution Function. Ann. Math. Stat. 1941, 12, 461–463. [Google Scholar] [CrossRef]
  37. Owen, A.B. Empirical Likelihood. In Monographs on Statistics & Applied Probability; Taylor and Francis, Chapman and Hall/CRC: Boca Raton, FL, USA, 2001; Volume 92. [Google Scholar]
  38. Troitzsch, K.G. The garbage can model of organisational behaviour: A theoretical reconstruction of some of its variants. Simul. Model. Pract. Theory 2008, 16, 218–230. [Google Scholar] [CrossRef]
  39. Polhill, G.; Salt, D. The Importance of Ontological Structure: Why Validation by ‘Fit-to-Data’ Is Insufficient. In Simulating Social Complexity. A Handbook, 2nd ed.; amf Ruth Meyer, B.E., Ed.; Springer: Berlin, Germany, 2017; Chapter 8; pp. 141–172. [Google Scholar]
Figure 1. A new research architecture.
Figure 1. A new research architecture.
Information 10 00053 g001
Figure 2. Cumulative frequency distribution (green) approximated with Equation (A5) with κ = 0 . 7700 and δ = 0 . 7548 ( θ K S = 0 . 0156 ) for school year 1950/51 (left) and κ = 0 . 4500 and δ = 0 . 5500 for 1989/90 ( θ K S = 0 . 0073 ) (right) with 80 per cent conficence bands (dark green) around the observed cumulative frequency distribution (light green).
Figure 2. Cumulative frequency distribution (green) approximated with Equation (A5) with κ = 0 . 7700 and δ = 0 . 7548 ( θ K S = 0 . 0156 ) for school year 1950/51 (left) and κ = 0 . 4500 and δ = 0 . 5500 for 1989/90 ( θ K S = 0 . 0073 ) (right) with 80 per cent conficence bands (dark green) around the observed cumulative frequency distribution (light green).
Information 10 00053 g002
Figure 3. Observed cumulative frequency distribution and its 80 per cent conficence band (black) and simulated cumulative frequency distributions for varying δ (colour) between 0.6 and 1.0 and κ between 0.0 and 1.0 (the effect of the latter is not shown ). Left: 1965/66, right: 1988/89.
Figure 3. Observed cumulative frequency distribution and its 80 per cent conficence band (black) and simulated cumulative frequency distributions for varying δ (colour) between 0.6 and 1.0 and κ between 0.0 and 1.0 (the effect of the latter is not shown ). Left: 1965/66, right: 1988/89.
Information 10 00053 g003
Figure 4. Simulated cumulative frequency distribution (red) for a run with κ = 0 . 5701 and δ = 0 . 9718 and one school year—1967/68—and its 80 per cent conficence band (dark green) and the expected cumulative frequency distributions (light green) for the resulting κ * = 1 . 1402 and δ * = 0 . 4017 (left) and with κ * = 1 . 1 and δ * = 1 . 3 corresponding to κ = 0 . 55 and δ = 0 . 75 (right).
Figure 4. Simulated cumulative frequency distribution (red) for a run with κ = 0 . 5701 and δ = 0 . 9718 and one school year—1967/68—and its 80 per cent conficence band (dark green) and the expected cumulative frequency distributions (light green) for the resulting κ * = 1 . 1402 and δ * = 0 . 4017 (left) and with κ * = 1 . 1 and δ * = 1 . 3 corresponding to κ = 0 . 55 and δ = 0 . 75 (right).
Information 10 00053 g004
Figure 5. Sensitivity analysis with respect to the parameters κ and δ ( R 2 from regressions of θ K S on κ , κ 2 (k), δ , δ 2 (d) and κ , κ 2 , δ , δ 2 , κ δ (k&d).
Figure 5. Sensitivity analysis with respect to the parameters κ and δ ( R 2 from regressions of θ K S on κ , κ 2 (k), δ , δ 2 (d) and κ , κ 2 , δ , δ 2 , κ δ (k&d).
Information 10 00053 g005
Figure 6. Left top: boxplot of the distribution of κ for the 50 best runs (out of 660 runs), right top: boxplot of the distribution of δ for the 50 best runs (out of 660 runs), bottom: boxplot of the distribution of θ K S for the 50 best runs (out of 660 runs).
Figure 6. Left top: boxplot of the distribution of κ for the 50 best runs (out of 660 runs), right top: boxplot of the distribution of δ for the 50 best runs (out of 660 runs), bottom: boxplot of the distribution of θ K S for the 50 best runs (out of 660 runs).
Information 10 00053 g006
Table 1. MIMOSE types and base sets.
Table 1. MIMOSE types and base sets.
MIMOSE TypeBase Set
system M , which is a singleton representing the whole state or its responsible ministry
schooltype G , a finite set whose elements represent three different kinds of gymnasium, those reserved for girls, those reserved for boys and coeducative schools a
school S , a finite set whose elements represent the individual gymnasia of the state in question
teacher P , a finite set whose elements represent the individual teaching persons employed by the state in question, teaching in the gymnasia of the state
a In Germany and some other Continental countries, this is a school of the highest grade, preparing pupils for universities [28].
Table 2. Constant attributes of the MIMOSE types and their corresponding function signatures.
Table 2. Constant attributes of the MIMOSE types and their corresponding function signatures.
MIMOSE TypeFunction Signature
Attribute and Type
system
schooltypes : list of schooltypes γ : M I P ( G )
schooltype
schools : list of schools σ : G I P ( S )
school(no constant attributes)
teacher
position : list of school ϕ : P S
sex : int β : P { 0 , 1 }
Table 3. Variable attributes of the MIMOSE types and their corresponding function signatures.
Table 3. Variable attributes of the MIMOSE types and their corresponding function signatures.
MIMOSE TypeFunction Signature
Attribute and Type
school
SR : reala I P ( S ) × T I R
SRp : realb I P ( S ) × T I R
lteacher : list of teacher τ : S × T I P ( T )
sexRatio : real x : S × T I R
sexRatioList : list of real λ : S × T I P ( I R )
prob1 : real π : I R × T [ 0 , 1 )
teacher
age : int α : P × T { 25 , . . , 65 }
duration : int ρ : P × T { 0 , . . , 40 }
cond : int ω : { 25 , . . , 65 } × { 0 , . . , 40 } { 0 , 1 }
death : list of teacherc ϵ : S × T I P ( T )
new : list of teacherc μ : S × T I P ( T )
a Treated as an auxiliary variable, see text below. b Treated as an auxiliary variable, see text below. c In the MIMOSE program, the retiring and replacing teacher operated on the lteacher: list of teachers of its school, deleting and appending itself, respectively. This is why the respective functions in the definition of the potential model have sets as their ranges.
Table 4. Code lines in a NetLogo model representing the terms of the structuralist reconstruction of GDS.
Table 4. Code lines in a NetLogo model representing the terms of the structuralist reconstruction of GDS.
#GDS TermNetLogo Code DeclarationsNetLogo Assignments
2 T tickstick (at the end of the to go procedure)
3 Ω , F , P (hidden in NetLogo’s pseudo-random number generator)
4 A , A (hidden in NetLogo’s pseudo-random number generator)
5 M NetLogo’s observer
9 κ kappa(set in the interface)
10 δ delta(set in the interface)
globals [to go
  ask schools [ update-school ]
  ask teachers [ update-teacher ]
13a τ ϵ   teachers-to-replace  set teachers-to-replace sum [ to-replace ] of schools
13b τ ϵ f   teachers-to-replace-with-women  set teachers-to-replace-with-women sum [ women-to-replace ] of schools
11 ν   nu  if teachers-to-replace-with-women > 0
    [ set nu teachers-to-replace / ( 2 * teachers-to-replace-with-women ) ]
25f and F 1  outfilename  report-schools
]end
6 G dispensable
12 σ dispensable
7 S breed [ schools school ]
schools own [
13 τ   teacher-list
to update-school
14x  sex-ratio  set sex-ratio ( count teacher-list with [ color = red ] ) / count teacher-list
15 λ   sex-ratio-list  set sex-ratio-list lput sex-ratio sex-ratio-list
16 π   prob  set prob nu * exp ( kappa * sex-ratio )
17r  random-float 1.0
23a n ϵ   to-replace  set to-replace count teacher-list with [ will-retire? ]
23b n ϵ f   women-to-replace  set women-to-replace to-replace * prob / nu
end
]
8 P breed [ teachers teacher ]
teachers own [
18 ϕ   my-school(initialised as constant)
19 β   sex(initialised as constant)
to update-teacher
20 α   age  set age age + 1
21 ρ   duration  set duration duration - 1
22 ω   will-retire?  if duration < 1 or age > 64
    [ set will-retire? true ]
23, 24 ϵ and μ 2   if duration < 0 or age > 65
    [ init-new-teacher ]
end
]
1f can be seen in NetLogo’s view in a histogram plot, but all data necessary to calculate better estimates of f and F are output to a file listing the number of men and women for every school and every year. 2 When a teacher has to be replaced this is done “in situ”, i.e., sex, age and duration are reset. Hence will-retire? is used only for calculating to-replace.

Share and Cite

MDPI and ACS Style

Troitzsch, K.G. Axiomatisation and Simulation. Information 2019, 10, 53. https://doi.org/10.3390/info10020053

AMA Style

Troitzsch KG. Axiomatisation and Simulation. Information. 2019; 10(2):53. https://doi.org/10.3390/info10020053

Chicago/Turabian Style

Troitzsch, Klaus G. 2019. "Axiomatisation and Simulation" Information 10, no. 2: 53. https://doi.org/10.3390/info10020053

APA Style

Troitzsch, K. G. (2019). Axiomatisation and Simulation. Information, 10(2), 53. https://doi.org/10.3390/info10020053

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop