Throughout history, languages have been significantly morphed or have gone extinct. It is estimated that 90% of the languages that exist today are expected to be extinct within the next generation  . This is due to a multitude of reasons such as empires conquering regions and coercing the inhabitants to speak their language and globalization in which native speakers must learn the languages of their neighbors. This leads to bilingual speakers and in some cases death of a language entirely    .
1.1. Language Modeling
Many mathematical models have been proposed to describe the dynamics of competition between two languages in a given region. There are two primary type of models describing language competition: microscopic and macroscopic. Macroscopic models of language competition treat the population as homogeneous (all members are the same, and evenly dispersed in an area) and fully connected (all members interact with other members)  . These macroscopic models are usually described by differential equations. Microscopic models treat individual persons as nodes in a network, allowing each node to be connected to a certain number of other nodes, as well as individual transitioning probabilities. In this paper, we focus on three macroscopic version of language competition models: Abrams-Strogatz Model, Castelló Model, and Mira Model.
1.2. Abrams-Strogatz Model
Abrams and Strogatz proposed one of the first models to describe language competition using statistical physics and complex systems, which fueled other models of similar ideas to be published as well  . Abrams and Strogatz proposed a model, Abrams-Strogatz (AS) model, that describes language competition similar to the Lotka-Volterra predator-prey model, except both languages act as predator and prey to each other, as one speaker could switch from one language to another and vice versa. It assumes that the population is homogeneous and fully connected, which may not represent rural areas with sparse population or geographical separation, but could describe densely populated areas like cities. This model is described by the differential equations  :
where are the fraction of the population speaking languages and respectively, which means that the sum of the two fractions should equal one. is the probability that an individual would switch from speaking language to language . This probability is defined by:
where is the volatility of a language, or how easy it is for an individual to switch over to the other language, and is the prestige of the language, which is how attractive a language is to switch to. These two parameters are acquired by fitting this model to the data of population speaking a specific language in an area.
Equation (1) could be viewed as rate equations, where the change in population of language is simply the population of language times the probability of people speaking to change to (people speaking changing to speak ) minus the population of language times the probability of changing from to (people speaking x changing to ). This model considers the speakers of each language to be strictly monolingual.
At high volatility ( ), the few stable state (fraction of population speaking one language and the other no longer changes) of this model are when the entire population speaks one language while the other dies ( ) and when both languages have the same amount of speakers ( ). Since the condition for stability where both languages survive is so precise, the AS model almost always predicts that one language will eventually go extinct while the rest of the population adapts to the other language.
1.3. Castelló Model
Inspired by the original proposal of Wang and Minett  , Castelló, et al.’s model extends the AS model by considering a third possible state which the population could be in, which is bilingual. This allows the population to change from speaking the only language x to speaking both languages to speaking the only language , and vice versa. This model also assumes homogeneous and fully connected population. The presence of a third intermediate state slows down the process of language extinction, but still does not indefinitely prevent it  .
The differential equations that describe this model are:
Again, these equations are simply rate equations, with the probabilities:
Qualitative and quantitative analyses were both explored on complex networks and two-dimensional square lattices, and details in Ref.  . Castelló, et al. found that there exists a transition from one language dominance state to language coexistence state, and maintaining the coexistence state is very challenging under the bilinguals situation. The parameters in this model are also acquired by fitting the model to data.
1.4. Mira Model
Mira, et al.’s model is also an extension of the AS model. This model adds to the AS model by 1) introducing bilingual speakers, and 2) introducing an extra factor that describes the similarity between the two languages, k, , s, and are all acquired by fitting the model to the data as well. Mira talks about the possibility of calculating based on the similarity of the language, such as words, grammar, and structure. Mira had k = 1 to be the situation where the languages are identical and k = 0 to be where the languages are entirely different. The process of calculating can be very complicated and has yet to be developed  .
The differential equation that describes Mira’s model is the same as Equation (3), but the transition probabilities are different, as the transition probabilities must contain the value  :
Mira’s work focus on the time evolution of two coexisting languages (Castillian Spanish and Galician) under the framework of AS model. It claims that if the languages in the competition are similar enough, then a stable bilingual situation is possible. A sufficiently large value of is needed for this particular situation   .
1.5. Questions to Be Answered
While the models thus far have found the volatility to be constant to fit their model, this was something that could still be examined with more data. Also, the prestige of other languages could be determined if other data sets were considered. The other question was how these models could be added upon or improved. Given the full range of areas where language competition exists, looking at more data sets would lend to more possibilities for improving these models, especially Mira and Castelló’s models. In this research work, we focus on the macroscopic model. Macroscopic modeling was also more frequently reported, so it would be easier to check if our results are accurate.
The paper is organized as follows. Section 2 describes the method for the model validation. The first part is devoted to introduce the method we used for computing the parameters, while the second part describes the accumulated data from eight different regions. In Section 3, we carry on parameters fitting results based on the data from Section 2. The paper concludes with a discussion in Section 4.
All the models will be coded and fitted using MATLAB. The differential equations will be solved using ode 45. Ode 45 only has medium accuracy, so ode 113 is used when higher accuracy is needed. To find parameters, lsqcurvefit is used. lsqcurvefit uses the least squares regression analysis which computes the distance from the fitted curve to the data point and finds the parameters that allow for that distance to be the smallest. This method is different from Abrams and Strogatz’s method, as they wrote their own routines to numerically compute the differential equation as well as well as their own routine to compute the parameters. They used least absolute value regression, rather than least square regression, to compute their parameters, which may lead to discrepancies in their acquired parameters and our parameters  .
The dataset that we considered were of those that have direct language competition, which means that other languages are spoken in the area beside the main two account for less than 10% of the population. Most data were taken from country censuses, and some data manipulation was required.
This data (Table 1)  was chosen because it was one of the data that Abrams and Strogatz fit in their paper. The results from fitting this could be compared to the original paper.
This is also one of the data (Table 2)  that Abrams and Strogatz fit in their paper. The results from fitting this could be compared to their work.
3) Euskera-Spanish (Spain)
Euskera and Spanish are the two main languages spoken in northern Spain. This data (Table 3) only consider people who speak either Euskera, Spanish, or both. People who do not speak either are not accounted for. This data were taken from Sociolinguistic Maps Reports  .
4) French-English (Canada)
People who speak neither French nor English were not accounted for in this dataset. Canadian government has policies that support their citizens to be bilingual, as well as preserve both languages. Data (Table 4) were taken from Statistics of Canada  .
Table 1. Welsh-English data.
Table 2. Gaelic-English data.
Table 3. Euskera-Spanish data.
Table 4. French-English data.
5) French-English (Montreal)
Since the models assume even density within the population, we decided to also look at Montreal, which is a fairly dense city. Values from this dataset could be compared to values calculated from all of Canada. Data (Table 5) were also taken from Statistics of Canada  .
6) Spanish-English (Houston)
We looked at English and Spanish spoken in Houston, Texas. The data (Table 6) were taken from the American census  .
Catalan and Spanish are very closely related, such that if a person speaks Spanish, they will be able to understand someone else speaking Catalan. We decided to choose this dataset specifically to use in Mira model, where there is a parameter for the similarity between two languages. This may be challenging as
Table 5. French-English data.
Table 6. Spanish-English data.
the census only goes back to 2003. This data (Table 7) were taken from Language Use of the Population of Catalonia  .
The French and Dutch data spoken in Brussels, Belgium. This dataset (Table 8)  may not be very accurate, as the census only indicates knowledge of each language, and not if a person is bilingual or not.
3.1. Abrams-Strogatz Model
Table 9 summarizes the fitted parameters of the different language competitions using the AS model. The second s value was calculated by subtracting the first s value from 1. Most of the s values for the first language are in the mid-range ( ) except for the competition between Spanish and Euskera in Spain, where and . The values acquired were unexpectedly low ( ), since Abrams and Strogatz got values that were close to 1.33. This could be caused by the fact that we used a different fitting routine than Abrams and Strogatz.
Since the initial values for each parameter were randomized, which could affect the outcome of the parameters. This happened in French/English (Canada), French/English (Montreal), French/Dutch, Spanish/English, and Spanish/Euskera. Parameters calculated for these datasets turn out to be entirely different depending on the initial value for the parameter. This behavior does not show in datasets Welsh/English and Spanish/English. This is because the two datasets show the population increasing/decreasing in the rapid growth/decay part of the curve, while the others did not show large change in a fraction of the
Table 7. Catalan-Spanish data.
Table 8. French-Dutch data.
Table 9. Parameters of different language competitions using the Abrams-Strogatz model.
population over the years, or the dataset only contained data for a short period. The determination of and s depends heavily on the shape and length of the rapid growth/decay region of the graphs, so without sufficient data in that region, the values of and s could vary depending on what initial value was given to lsqcurvefit. This problem applies to all three models.
These parameters calculated were also used to predict the outcome of the competition between each language. The AS model expectedly predicts that one language will disappear except for French/Dutch in Brussels, and Spanish/English in Houston. For the case of Brussels, this result could be from the fact that the data itself was faulty, because the census was not consistent, and the data did not show a steady growth/decay like the model expects.
3.2. Castelló Model
Table 10 shows the resulting parameter values from fitting the Castelló model to different language competition data. In this model, the s values of the second language should be assumed to be ; however, in data for French/Dutch, Spanish/Euskera, and French/English (Montreal), we were not able to acquire proper fit to the data, due to the lack of strictly increasing or decreasing trend. To get the fit to work properly, we allowed lsqcurvefit to fit different s values for the two languages, instead of treating the other as (1 − s). This allowed the graphs to have a nice fit, but the s values for the two languages could add up to more than 1. Other data that are not problematic fitted with this method still yielded s values that add up very close to 1.
Besides languages that turn out having higher than one sum of s values, other exciting points include French in Montreal having a shallow s value of 0.0489. This is very interesting as the s value for French in all of Canada is 0.6664, which is much higher. This could be due to the fact that, despite a large number of people living in Canada are French monolinguals, most people in Montreal are English monolinguals.
The s value for Gaelic is very small as well, 0.0122. This could be explained by the fact that the number of people who speak Welsh is tiny, even to begin with, 5.2%, and after 1971, there are no more monolingual Welsh speakers.
As mentioned in the previous section, parameters for some datasets were also heavily dependent on the initial value declared for the parameter, so the values in the table displayed were chosen by what gives the best looking fit.
The parameters calculated in this model also predict that one language would disappear eventually, except for Spanish/English in Houston. This could possibly be caused by the last several data in the dataset slowing down in decay, leading the model to predict that the population steadies out.
3.3. Mira Model
Table 11 shows the fitted and values for each language. As mentioned in Introduction section that the similarity between languages, , is
Table 10. Parameters of different language competitions using the Castelló model.
Table 11. Parameters of different language competitions using the Mira model.
not calculated but fitted with data instead, since the calculation for has yet to be done, and if so, it would be very complicated. Some interesting results regarding values fitted with the data include: Catalan/Spanish (k = 0.1852) and Gaelic/English (k = 0.9255). k = 0 means that a language is completely different while k = 1 means the languages are identical. Catalan and Spanish are similar enough that Catalonan speakers and Spanish speakers should be able to understand each other; however, in our fit, Catalan and Spanish only have a value of 0.1852, indicating minimal similarity. This could be due to the fact that the Catalan/Spanish dataset only contains 3 points over ten years, which is not long enough to see a significant increase or decrease in the fraction of people speaking a language, which could make it hard to determine fitting parameters for the dataset.
In the Abrams-Strogatz model, the primary assumption made was that only monolingual people exist. This is not quite accurate in the real world since these type of situations rarely exist, especially for a very long time. In this paper, only the macroscopic level was examined, which assumed that all people spoke to each other. The results presented in the Abrams-Strogatz model are reasonably accurate for modeling how languages die since the trend for AS tends to match the trends seen in the Castelló model. The results presented within were a relatively close to what was reported, and the main reason for possible discrepancies is that Abrams created his fitting which was no longer available.
The Castelló model on a macroscopic level assumes that all people are interacting with each other. This level of modeling is not as accurate since not all people interact with each other in real life. This model is more valid for large cities like Houston, Brussels or small countries like Catalonia since more people are likely to interact mutually. Our results are perhaps more valid for these situations. This model also assumes that only two languages are spoken. For some data sets, the languages spoken were the majority, but there might be other languages that were assumed to be part of the minority. For the Castelló model, the prestige and volatility seemed, for the most part, to vaguely match what was expected. If the fit was bad, this is most likely due to insufficient data. This is especially true for Catalonia. Another reason our model yielded unexpected results is that some countries have policies in place to keep these languages alive. Montreal is very adamant about keeping French as an active language, so there isn’t a precise curve because of this.
For the Mira model, similar assumptions were made from the Castelló model. Mira, et al. assumed that the similarity, k, could be found from a fitting parameter. However, this parameter doesn’t seem to accurately depict the similarity between languages. It assumes that languages that have no similarity have k = 0. However this doesn’t seem to be accurate. It was found that languages that should have had high values of did not and languages that should have had low values sometimes had high values. This was even found for extensive data sets such as that from Welsh and English. for Welsh and English was found to be about 0.7, which is much too high for languages that do not have commonalities. This problem for adding in language similarity could be rectified by defining as value determined from the languages themselves and not from a best fit line.
In this paper, we have carried out the validations for three macroscopic language models with datasets from eight different regions. Through linear regression method, we have derived the key fitting parameters for each model. The results imply that Abrams-Strogatz original model corporates well with most of the datasets. A similar conclusion can be derived for Castelló model, although small divergences can also be addressed. However, the parameter of language similarity in Mira model has a limited description regarding the fitting data.
Modeling language competition can be mainly divided into two categories: equation-based model and agent-based model. While equation-based models have been a very popular approach for describing language shift and most of them perform good fit with empirical data, the limitations still cannot be ignored. Coupling with agent-based model is one of the key obstacles. More details regarding the limitation of equation-based model can be viewed in Ref.  . Prochazka and Vogl’s model  presented a new approach through a microscopic description of language shift from Slovenian to German in southern Carinthia on a fine spatial scale.
This research is supported by UE Global Scholar Grant. The authors appreciate the anonymous referee for the constructive review of the paper which has greatly improve the quality of the article. The authors would also like to thank the generous support from the mathematics department at University of Evansville.
 Castelló, X., Eguíluz, V.M. and San Miguel, M. (2006) Ordering Dynamics with Two Non-Excluding Options: Bilingualism in Language Competition. New Journal of Physics, 8, 308.
 Vazquez, F., Castelló, X. and San Miguel, M. (2010) Agent Based Models of Language Competition: Macroscopic Descriptions and Order-Disorder Transitions. Journal of Statistical Mechanics: Theory and Experiment, 2010, P04007.
 Mira, J., Seoane, L. and Nieto, J. (2011) The Importance of Interlinguistic Similarity and Stable Bilingualism when Two Languages Compete. New Journal of Physics, 13, Article ID: 033007.
 Zhang, M. and Gong, T. (2013) Principles of Parametric Estimation in Modeling Language Competition. Proceedings of the National Academy of Sciences of the United States of America, 110, 9698-9703.
 Wichmann, S. (2014) The Challenges of Languages Dynamics: Comment on “Modelling Language Evolution: Examples and Predictions” by Gong, Shuai, and Zhang. Physics of Life Reviews, 11, 303-304.
 Prochazka, K. and Vogl, G. (2017) Quantifying the Driving Factors for Language Shift in a Bilingual Region. Proceedings of the National Academy of Sciences of the United States of America, 114, 4365-4369.