Dynamic effects of social influence on asset prices

This paper examines the dynamic effects of Social Influence on asset prices in the presence of heterogeneous expectations among investors. In our model, the choices of investors’ trading strategies are influenced not only by past payoffs but also by their neighbors’ choices in the social network. To obtain tractable results with generic implications for social structure, we use a mean-field approximation approach rather than specifying the exact structure of social network. Analytical conditions for the existence and local stability of equilibria of price dynamics are established and validated through numerical simulations. Our analysis shows that social influence increases the dimension of the dynamical system and that equilibria can only be expressed implicitly as solutions of certain equations. We also investigate the long-run behavior of price and fraction of trading strategies using numerical simulation under a scale-free network and a power function type social influence factor. Our results suggest that the system tends to be stable when social influence is small but exhibit complex periodic orbits and even chaos when social influence is large. These findings yield valuable insights into the role of social influence in financial markets.


Introduction
In the conventional rational asset pricing models (such as Sharpe 1964 andRoss 2013), the capital market is assumed to be efficient. Asset prices reflect all available information and fluctuate around a general equilibrium (Fama 1970). Investors are rational and they incorporate all available information into their investment decisions. While these conventional models have been proven to be useful in predicting asset prices in regular time periods, real-world capital markets often exhibit excess volatility and returns that such models are unable to account for (Shiller 1992). This led to the development of alternative theories, such as behavioral finance, which attempt to explain the irrational behavior of investors that can lead to bubbles and crashes in financial markets. Shiller (1984) and West (1988) have found early empirical evidences that support the use of behavior model in the financial market as early as the 1980s.
A large number of nonlinear dynamic asset pricing models have been developed ever since to incorporate behavior elements into the financial market. They emphasize the role of heterogeneous expectations in leading to the complexity of asset price dynamics. Some examples include De Long et al. (1990); Day and Huang (1990); Chiarella (1992); Kirman (1993); Lux (1995); Chiarella and He (2003); Chiarella et al. (2009), andzhu et al. (2009), among others. The literature that is most relevant to our work are Brock andHommes (1997, 1998). They explored the possible routes that lead to the complex behavior of asset prices analytically and numerically, where chaotic attractors are found for a wide range of parameters. Nevertheless, these models focus on whether "irrational" traders could survive in the market but do not provide a "real" framework to capture how investors switch between expectations. In Brock and Hommes (1998)' framework, investors choose from a finite set of heterogeneous expectations based on a simple discrete choice probability model. 1 It assumes that agents make decisions individually and information is freely accessible to everyone. This is far from reality where investors are influenced by their peers and information is not free. In fact, the financial market is well known for its information asymmetry. Less informed investors may heavily rely on their social network to obtain information and make decisions.
The way this paper contributes to this body of literature is to bring in ideas from social network literature and introduce social influence elements into a heterogeneous agent-based asset pricing model. The heterogenous expectations are defined as in Brock and Hommes (1998) and Chiarella and He (2003). The way in which interacting investors update their expectations is determined by both the social influence and the characteristics of investors' expectation types. In other words, investors are not only influenced by their beliefs but also by the beliefs of others in their social network. By incorporating social influence elements into the model, it offers a more realistic representation of how financial markets operate. It attempts to bridge the gap between the asset pricing literature and the social network literature, highlighting the importance of social influence in financial markets. Shiller (1984Shiller ( ,1988 can be seen as the earliest literature that challenge the efficient market hypothesis and bring the concept of social influence into finance research under the name of fashions, or fads. However, at that time, the model of social influence was rarely explicit. Many other early studies tend to represent social influence as the herding behavior of investors. That is, the decision of an investor is influenced by the fractions of different types of investors in the market. This line of literature includes Lux (1995Lux ( , 1998; Diks and van der Weide (2005); Satchell and Yang (2007); Chang (2007); Alfarano et al. (2008); Lux (2009) ;Franke and Westerhoff (2012); Di Guilm et al. (2014), among others. In particular, in Lux (1995) and its followers, the probabilities that investors change their types from one to another are explicitly formulated, where the social influence appears as a single variable which affects the transition probabilities.
Modelling social influence with exact network structures and full information on local interactions is challenging since the exact social structure makes the model intractable quickly when the population becomes large. It is difficult to obtain analytical results unless the communication network exhibits very special characteristics (e.g. regular networks or stars, as in Panchenko et al. (2013)). For example, Alfarano and Milakovic (2009) provides a microscopic interpretation of the herding factor in Lux (1995) transition probability approach using an exact social network structure. It brings more information to the theory but at the same time, it causes a heavy burden to analysis and evaluation. Therefore, the authors employ a mean-field approximation approach in their general analysis and only discuss several typical network structures as special cases. Yang (2009) incorporates social networks into opinion formation in the study of price stability. The forecast of the future price of an investor is influenced by the opinion of neighbors in the social network, where the way of influence is captured by a weight matrix. Since the exact network structure is itself difficult to work with, these papers only consider a very simple framework, such as a single-asset market, simple price formation mechanism, and homogeneous investors. Similarily, Panchenko et al. (2013) analyse local interactions in a two-type heterogeneous expectation model and investigate four commonly considered network topologies: a fully connected network, a regular lattice, a small world, and a random graph. They find that these network structures affect the stability of asset price dynamics and the amplitude of fluctuations and statistical properties. Makarewicz (2017) puts local peer effects into price expectation and studies the emergence of contrarian strategy with agent-based simulation using small and large networks.
In those studies, when exact social structure is used, most practical implications will be restrictive to that particular structure and therefore, very little can say about generality. To overcome this weakness, in this paper, we employ a mean-field approximation to embed the social network structure through a function of individual degrees into the discrete choice model. The degree is the number of neighbors that an individual has in their social network, which is used to measure to what extent a person can be influenced by others around her. By focusing on the degree and employing meanfield approximation, we are able to derive general analytical results with much richer structural settings compared to exact social structure, but still maintain the tractability of the model. We follow the line of research on the discrete choice of strategies with social interactions started by Blume (1993) and Brock (1993), and followed by Brock and Durlauf (2001), Brock and Durlauf (2002). In these models, the individual utility of choosing a strategy is expressed by the sum of the individual's private utility determined by the choice of the individual, the social utility determined by the choices of all individuals in the society, and an idiosyncratic random utility. A basic functional form for social utility considers that the quantity is proportional to the sum of the expected utilities of the individual given the choices of others. This formulation leads to a discrete choice probability. This approach carries the idea that individuals are influenced by the information aggregated from the whole society. The ability of individuals to reach information, as well as their intensity of choice, is assumed to be identical among all individuals. In our model, to utilise mean field approximation, we keep the assumption that each individual has the same ability to gather information but assume that the intensity of choice may differ with different positions in the social network. The characteristic of an individuals' network position is the degree, which is a measure of sociability partially reflects what extent a person can be influenced by others around her. The modelling of heterogeneous expectations formation is in line with Chiarella and He (2003), with two classes of expectations, fundamentalists and trend chasers, and a market maker.
The remainder paper is organised as follows. An asset pricing model with heterogeneous agents and social influence are developed in Sect. 2. The equilibrium solution is obtained in Sect. 3. Section 4 studies the dynamic behavior of the system, and Sect. 5 provides numerical simulations. We conclude the paper in Sect. 6. All the proofs are collected in Appendix.

The model
We build our model on a standard heterogeneous agent asset pricing model in discrete time based on Chiarella and He (2003). There are three classes of participants in the market: investors with heterogenous expectations, the fundamentalists and the trend chasers, 2 and a market maker. The investors are assumed to be boundedly rational. Intuitively, the fundamentalists make forecasts on future fundamentals only using the information that they privately observed, while the trend chasers rely on simple measures about price changes in the past but not on fundamentals. The market maker acts as both a liquidity provider and an active investor in a market. 3 Additionally, investors are influenced by their social connections in the decision of switching strategies, i.e., from a fundamentalist to a trend chaser or vice versa. Social connections are aggregatively characterised by a degree distribution where the degree of an agent represents the number of agents to whom she is connected. The magnitude of influence depends on the degree distribution as well as the degree itself. This is a mean-field approximation to the model with exact social network structures. 4 In the following we describe the building blocks of the model in detail.

Market price under a market maker scenario
Suppose that there are two assets in the market, one risky asset whose supply is fixed and one risk-free asset whose supply is perfectly elastic. Let the gross return of riskfree asset be R = 1 + r > 1 for each period, where r is the risk-free rate. Denote p t the (ex-dividend) price per share of the risky asset at period t, and {y t } the stochastic dividend process of the risky asset. Let W t be the wealth of a typical investor at period t, then where z t is the number of shares of the risky asset purchased by the investor at period t.
The information set at t is denoted by F t = {p t , p t−1 , . . . ; y t , y t−1 , . . . }. Let E t and V t be the conditional expectation and conditional variance functions, respectively, based on F t . Let h ∈ {1, 2} denote the type of investors, where h = 1 indicates a fundamentalist and h = 2 represents a trend chaser. We use E h,t and V h,t to express the beliefs of type h investors at period t about the conditional expectation and conditional variance, respectively, of a random variable at period t + 1. Denote R t+1 the excess return at t + 1, that is Then, one has where z h,t is the number of shares of the risky asset purchased by type h investors. Both types of investors are assumed to be expected-utility maximisers, i.e., assets with high expected return and low expected risk are preferred. However, different types of investors have different risk attitudes. The risk attitude of type h investor is characterised by the risk-aversion coefficient a h . Then, the demand of risky asset z h,t for type h investors is given by Let n h,t be the fraction of type h investors at period t so that h n h,t = 1. In the subsequent subsections we will specify a way of approximating these fractions using a modification of the discrete choice model with social influence. By assuming a zero supply of outside shares, the excess demand for the risky asset is given by The market maker takes a long position when the excess demand of the risky asset is negative (z e,t < 0), and a short position when it is positive (z e,t > 0), in order to clear the market. Furthermore, at the end of period t, the marker maker sets the price for the next period that moves in the direction of reducing the excess demand. By considering a simple linear price adjustment function, the price in period t + 1 is given by where μ is the market friction coefficient describing the speed of price adjustment of the market maker. When μ = 0, p t+1 = p t , the market maker does not adjust actively, while when μ > 0, the market maker adjusts the price in response to excess demand and clears the market. Here we use the same setting as in Chiarella and He (2003) to maintain simplicity since our main focus is on social influence. 5

Heterogeneous beliefs
The fundamental solution of price p * t under rational expectation satisfies the equation Let the dividend process {y t } be i.i.d., then E t [y t+1 ] =ȳ is constant. Under the nobubble condition lim t→∞ E t−1 p t /R = 0, Equation (8) has a unique solution p * =ȳ/r . 6 The conditional expectations and conditional variances of the two types of investors are given by and where θ > 0 and σ 2 are constant. Equation (9) describes that the fundamentalists believe the prices will move towards their fundamental values, while Equation (10) shows that the trend chasers expect that the prices move away from the fundamental values by the deviation of weighted moving-average prices f t multiplied by the extrapolation rate θ . It is usually considered that the risk attitudes of the two types of investors are different. As pointed out by Campbell and Kyle (1993), fundamentalists are considered to be more risk-averse than trend chasers. It follows that we set the risk-aversion coefficient of fundamentalist higher than the one of trend chasers, i.e., a 1 > a 2 > 0. We consider a geometric decay process (GDP) for the extrapolating term f t : where b measures the decay rate of the memory, with b = 1/ L−1 i=0 ω i , ω ∈ [0, 1], and 0 0 = 1 for convenience.

Adaptive belief and social influence
Let x t = p t − p * t denotes the deviation of price p t from the fundamental price p * t . Then, the excess return defined in (2) can be rewritten as where {δ t+1 } is a martingale difference sequence with respect to F t , i.e., E t [δ t+1 ] = 0 for all t. One then has where Let π h,t be the realized profits of investor of type h at period t. Therefore, with In the Brock and Hommes (1997) model, agents switch their types (trading strategies) in each period according to discrete choice probabilities. That is to say, although the beliefs are adaptive, agents make their decisions independently and are not influenced by the information from their connections, such as friends, families or colleagues. However, both theoretical and empirical studies suggest that communication connection is a very important piece in investors' decision-making process (Shiller and Pound 1989;Arnswald 2001;Özsöylev 2005;Özsöylev and Walden 2011;Steiger and Pelster 2020). Therefore, we extend the discrete choice probabilities by introducing social influence into the choice of strategies. We assume that the investors are connected so that they form a social network to receive information. In practice, it is intractable to model the whole exact network when the number of agents is large. Instead, as proposed by Jackson and Yariv (2005), a mean-field approximation approach can be used to express the average behavior of investors where only the degree distribution of the social connections is used. This approximation makes sense if the social network is randomly re-formed in each period rather than fixed over time. 7 Indeed, our social connections are evolving all the time in the sense that new friends are made and old ones are alienated if not contacted for a long time. Formally, let P(d) denote the fraction of investors with degree d ∈ {0, 1, 2, . . . }, where the degree of an investor is the number of neighbors she has in the network. The degree of an investor (and therefore the degree distribution) is fixed for each period but to whom an investor will connect can be random. It is known that a random neighbor of some investor (either randomly chosen or not) has a probabilityP(d) Newman, 2010, Chapter 13 for details). Let n d h,t be the fraction of type h investors within the investors of degree d at period t, and definẽ to be the link-weighted average of the fraction of type h investors.ñ h,t is then the fraction of type h investors that an investor is expected to connect.
Here we assume that n d h,t is updated according to the following discrete choice probability where C h is the cost of type h investors. It is assumed that the cost of fundamentalists is higher than the cost of trend chasers due to the need to collect more information. Furthermore, without loss of generality, we set C 1 = C > 0 and C 2 = 0. The function 7 In the same spirit, Giovannetti (2021) employs mean-field approximation in a dynamic model that explains the formation of internal capital markets (a type of decentralized market taking place within business groups). They assume that the participating firms match randomly to exchange loans obtained from an institutional investor. The mean-field approximation is used in the analysis of the distribution of inter-firm loans.
g(d) measures the intensity of choice for investors with degree d. In Sect. 5 we follow Jackson and Yariv (2005) to consider a case g(d) = αd β with α > 0, but now we just leave it as a general non-negative function of d with g(0) = 0. Remark that the value of β in g(d) controls the effect of degree on the speed of switching. When β > 0, investors with higher degrees have a faster speed of switching, and when β < 0, investors with higher degrees switch slower. A larger value of g(d) indicates a greater tendency towards switching to the strategy with the highest net profit. The more the value of g(d) is close to zero, the more the investors choose strategies randomly. Investors are influenced by each other. If one has more connections with a particular type of investor, she is more incline to take a similar strategy of that type. Hence, the switching probability is also affected byñ h,t as appeared in the exponential functions in (20). If an investor is isolated from the others, i.e., d = 0, equation (20) implies that this investor randomly chooses a strategy. This coincides with our intuition that the isolated investor is unable to collect information from others and therefore has no idea about the differences between strategies.
Note that the update of the fractions of types h for degree d investors (n d h,t ) uses the information of the approximated fractions of types of all investors in the previous period (ñ h,t−1 ). This is fundamentally different from Chiarella and He (2003), in which the fractions are only based on the information of the same period. In other words, even if we let g(d) be constant over degrees, our model will not be simplified to that of Chiarella and He (2003). Furthermore, we assume that n h,t is approximated byñ h,t which is based on local information that each agent can obtain.

The dynamic system of price and fractions of investors
The adaptive belief system under social influence is given by where By defining m t =ñ 1,t −ñ 2,t ,ñ 1,t = (1 + m t )/2 andñ 2,t = (1 − m t )/2, system (21) can be rewritten as where System (23) is a two-dimensional nonlinear stochastic system of (x, m) because of the random term δ t . It becomes a deterministic system of order L + 1 when δ t = 0 for all t, which is called the deterministic skeleton of (23). In the next section, we study the equilibrium solutions of this deterministic skeleton.

Equilibrium solutions
In this section, we consider the equilibrium state of the deterministic skeleton of the system (23). We first obtain a general result about the existence of equilibria and then discuss some special cases of social influence structures. Define and m eq be the unique solution of Then, the deterministic skeleton of (x t , m t ) in system (23) always has a fundamental equilibrium (0, m eq ) with −1 < m eq < 0. Furthermore, when one of the following conditions holds: (23) has two other non-fundamental equilibria (±x # , m # ).
Proposition 3.1 are consistent with the results of Chiarella and He (2003) but the two differ in detail. System (23) is a real two-dimensional system of (x, m) whereas the model in Chiarella and He (2003) is essentially a one-dimensional one in which m only depends on the values of x up to the current period but not on the previous values of its own. In particular, m eq defined in (28), see Proposition 3.1, cannot be expressed explicitly, and the conditions of having non-fundamental equilibria are slightly more complicated. This difference remains even if when g(d) is constant, i.e., the intensities of choice of investors are not degree dependent. Nevertheless, it follows the same intuition as in Chiarella and He (2003) that the fundamental equilibrium is stable when the extrapolation rate θ is small enough and becomes unstable otherwise. Analysis in Section 4 provides more results on the local stability of the fundamental equilibrium.
The effect of the network connection on the equilibrium analysis is involved in both the expression and the condition of equilibria. Compared with Chiarella and He (2003), one can no longer solve for m eq and x # analytically because of the weighted averaging of nonlinear terms associated with different degrees, while this averaging was not necessary for Chiarella and He (2003). This could be seen as the price of enriching the structure of the problem. However, it still can be said that, when the network has a relatively uniform structure, i.e., that g(d) does not differ so much for different values of d, it is easier to check the conditions and to find the equilibria. The following special case gives a clear description of this point.

Regular networks
By letting all agents have the same number of neighbors, we are able to simplify the expressions of our model to characterise equilibrium solutions. In the social network literature, this is the case of regular networks, which contains a special case that everyone is connected to everyone, i.e., a complete network, and simply means that all agents are identical with respect to social influence. More precisely, let the set of degrees be {k} where k is a constant such that 0 ≤ k ≤ N − 1, and N denotes the number of agents. Then, one has P(d) =P(d) = 1 for d = k and P(d) We assume that D = 0 if and only if k = 0. By Proposition 3.1 and with some algebra, one can explicitly express the non-fundamental equilibria with simplified conditions. Corollary 3.2 When the social influence structure follows a regular network with k > 0, under the conditions of Proposition 3.1, the deterministic skeleton of (x t , m t ) in system (23) always has a fundamental equilibrium (0, m eq ) such that m eq = tanh − DC 4 (m eq + 1) .
This implies −1 < m eq < 0. Furthermore, when one of the following conditions holds, It is easy to see that when the uniform degree k of agents increases, D = g(k) increases. If g(d) is an increasing function of d, m eq decreases (increases in magnitude) as well as x # . The value of m # is not affected by k. Intuitively, this means, holding all the other factors fixed, when individuals have more social connections, they are more likely to be influenced by trend chasers and therefore to become a trend chaser, which decreases the value of m eq in the fundamental equilibrium. In the non-fundamental equilibria, only if a small deviated price (a lower x # ) can keep the same fractions of types of investors (a fixed m # ).
An extreme case of regular networks is for k = 0. In this case, every individual is isolated from the rest of society. It leads to D = 0 and n 1,t = n 2,t = 1/2, i.e., individuals choose their types randomly. Obviously, the only equilibrium of (23) in such a world is (x # , m # ) = (0, 0).

Simple core-periphery structure
Now, we consider another special network structure where the set of degrees is {d 1 , d 2 } with 0 < d 1 < d 2 and P(d 1 ) > P(d 2 ). In other words, there are two groups of individuals. Group 1 contains the ones who have fewer connections but make up the majority of society, and group 2 consists of the rest who have more connections. This is a simple example of the core-periphery structure (Borgatti and Everett 2000) that is observed in many real-world networks. It describes the phenomenon that a small part of people (the core) is better connected than the others (the periphery). In this case, the value of m eq in the fundamental equilibrium is bounded in the way stated in the following corollary, which follows from Proposition 3.1.

Corollary 3.3
When the social influence structure follows a simple core-periphery network with 0 < d 1 < d 2 and P(d 1 ) > P(d 2 ), and if g(d) is increasing in d, then the fundamental equilibrium (0, m eq ) of (23) satisfies −1 < m eq 2 < m eq < m eq 1 < 0, where m eq 1 and m eq 2 are the values of m eq in the fundamental equilibrium in Corollary 3.2 for k = d 1 and k = d 2 , respectively.

Nonlinear dynamic behavior
In this section, we examine the dynamic behavior of our nonlinear asset pricing model in the presence of social influence. We focus on the local stability of the fundamental equilibrium and provide two propositions to illustrate the conditions for stability. We will also investigate the time series properties of the model.
As stated in Chiarella and He (2003), it is generally difficult to derive sufficient conditions for the local stability of the fundamental equilibrium for general lag length, however, stability results for lower lag length such as L = 1, 2, 3 can be obtained and can provide some insights into the stability for the general case. In order to analyse the local stability of (L + 1) dimensional first-order system defined by (32), we follow the usual procedure consisting in studying the characteristic polynomial of the Jacobian matrix and in analysing its eigenvalues. In particular, the following Proposition establishes conditions for the modulus of all eigenvalues λ i to be lower than one, i.e., |λ i | < 1.
Proposition 4.1 For L = 1, 2, 3, the fundamental equilibrium (0, m eq ) of (32) is locally asymptotically stable if and only if conditions C a , C b and C L hold true.
Period-doubling bifurcations occur at τ = 1 or at γ = γ * L (L = 1, 2, 3), and pitchfork bifurcations occur at θ = θ * . Furthermore, one has γ * 2 < γ * 3 < γ * 1 . It is not surprising that condition C L in Proposition 4.1 coincides with the conditions in Proposition 2 of Chiarella and He (2003). Condition C a is due to the social influence in the decision of switching strategies. Apparently, involving the network effect adds some complexity to the conditions, as it should, but does not change the structure dramatically. In particular, the geometric decay for the extrapolation of past prices for trend chasers to the behavior of the system is not directly affected by the network setting, since the social influence is only embedded into the model through strategy choices. Therefore, the difference made by different values of lag length L and weight parameter ω has the same structure as that is discussed in Chiarella and He (2003), so we will not repeat the analysis again. However, there is an indirect effect through m eq , which depends on social structure g(d) and appears both in conditions C a and C L . This dependence leads to different values of γ * L , but does not change the expression of condition C L . Condition C a tends to be satisfied when g(d) has small values for all d, or a large g(d) is associated with a smallP(d) so that the expected impact is kept small. This is because the value of the expression inside the curly brackets on the right-hand side of equation (34) is bounded by 0 and 1. Intuitively, if the social structure does not result in a big difference among individuals with different degrees, the system will behave much like that of the system without social influence.
The following result on the local stability of the fundamental equilibrium for general L > 1 can be derived by applying Rouché's theorem 8 . The proof is similar to that of Proposition 3 of Chiarella and He (2003) and therefore is omitted.

Proposition 4.2 For L > 1, it holds that
(i) The fundamental equilibrium (0, m eq ) of (32) is locally asymptotically stable if conditions C a and C b hold, and (ii) The fundamental equilibrium (0, m eq ) of (32) is unstable if conditions C a and C b hold, and γ > γ * 1 .

Time series properties
It is usually difficult to draw general conclusions on the motion of a higher-order nonlinear system. However, for the system considered in this paper, it is possible to obtain some time series properties. The following proposition states that if two trajectories of system (32) start at initial states that are symmetric about x 0 = 0, then the trajectories are symmetric about x t = 0 for all t > 0.
and (x 2 t , m 2 t ) denote two trajectories of system (32). If

Numerical simulation
In this section, we conduct numerical simulations of the deterministic skeleton of the system (32) to provide insights on how social influence affects the local stability of the fundamental equilibrium and the bifurcations of price dynamics. From now on we consider g(d) = αd β . The role of social influence is implied by the effect of parameters α and β. α is considered to be positive and functions as a linear amplifier of the social influence captured by the degree d. β adjust the effect in a non-linear way such that, if β > 0, social influence shows a positive effect and people with more connections have a larger tendency of following crowds; on the contrary if β < 0, people exhibit negative feedback to social influence and tend to behave oppositely from the crowds. The underlying social network is assumed to follow a power law distribution P(d) ∝ d −ζ with d ∈ {1, 2, · · · , 100}. Networks with a power law degree distribution are also called scale-free networks. Many real-world networks, including the WWW, the Internet, science collaboration networks, citation networks, and metabolic networks, are proven to exhibit scale-free property with a value of ζ roughly between 2 and 3. 9 Table 1 summarises the baseline values of the parameters we used in the simulation. 10 Most parameter values are chosen as close as to those used in Brock and Hommes (1998) and Chiarella and He (2003) for comparison purposes. A few important numerical tools are used to describe the long-run behavior of the system such as 9 See Barabási (2016) for a comprehensive introduction. 10 When we discuss a particular parameter (α or β), the other parameters take the baseline values.  (−0.5, 0), and is computed for 10000 periods with the value of β ranging from −0.5 to 3.5. It can be observed that the orbits of x for the two sets of initial values are symmetric about x = 0, but the orbits of m coincide (thus shown as black points). This has also been proven in Proposition 4.3. A hopf bifurcation occurs at β = 0.72. The system loses stability and exhibits periodic and quasi-periodic dynamics from there, which can be observed from the Lyapunov exponent plot as well. As β increases, the dynamical instability of the system varies, with the most complexity arising when β ∈ [1.05, 1.23]. However, the system converges to a stable regime after a supercritical hopf bifurcation appears at β = 3.24. The system is stabilised when the strength of social influence is large enough. This can also be seen in Fig. 2 which illustrates the time series and limiting orbits for selected values of β. For β = 0.6, the system converges to a fixed steady state. The time series and limiting orbit change dramatically at β = 1.1, where both the trajectory and the frequency of oscillation show a great level of complexity. At β = 1.78, the trajectory simplifies to a loop, but the frequency is not clear.
These results suggest that social influence contributes to complex and unstable nonlinear dynamics in financial markets. As investors become more inclined to imitate each other, the percentage of trend chasers increases. This, in turn, amplifies price deviations from the fundamental level, which can lead to complex price dynamics. However, this analysis also highlights that cyclical behavior is only observed in situations where the degree-dependent social influence parameter β is positive and moderate. If β is large, it stabilises the system, but also results in a limiting price that is farther away from the fundamental level.

Social influence parameter α (Linear amplifier)
The bifurcation diagrams and the Lyapunov exponents on the value of α are illustrated in Fig. 3, with α varying within the interval [4,12]. β is fixed at 0.2 in the simulation. α has a linear effect on all agents across social network so it is not influenced by degrees. The bifurcation diagrams show the behavior of the system as the parameter α is varied. The diagrams indicates that there is a primary period-doubling bifurcation, which is followed by several bifurcations before the system exhibits chaos. Specifically, a pitchfork bifurcation occurs at α = 6.47, and two hopf bifurcations appear at α = 6.66 and α = 7.25, with one being supercritical and the other subcritical. With a larger social influence parameter α, the system exhibits chaos at α = 8.88, which is consistent with the corresponding Lyapunov exponents and the time series and phase plot in Fig. 4.
The social influence parameter α has a linear effect on all agents across social network and is not influenced by degrees. When the value of α is large, the power of social influence increases across the entire society. This can result in a highly unstable situation, as indicated by the chaotic region in the graph. Note that this is observed with a low level of β, which means degree dependent influence is ignorable.

Summary
We conducted numerical simulations to analyse the impact of social influence parameters β and α on the long-run local instability of the system. The results suggest that the model can exhibit complex dynamics, including periodic, quasi-periodic, and chaotic behavior, depending on the values of β and α. When social influence is small, the system tends to be more stable and converges to the fundamental equilibrium. However, with an increase in social influence parameters, both β and α, the system can become more complex and unstable. The economic rationale behind these bifurcations is as follows. When social influence is low, investors make decisions independently, which can lead to a more stable market. They have less connections and they are less likely to be influenced by their neighbors in the social network. However, when more investors have access to larger number of connections, they are more likely to be influenced by their peers, which can lead to increased complexity and instability. In times of crisis, social influence can amplify small market fluctuations, leading to larger market fluctuations and even market crashes. The study by Brunetti et al. (2019) provides evidence for the impact of social connectedness on market dynamics during the 2008 global financial crisis. Increased connectedness among banks led to greater correlation in bank stock returns and amplified the impact of small fluctuations, contributing to the larger market fluctuations seen during the crisis.

Concluding remarks
In this paper we provide a way to incorporate social influence and heterogenous expectations into asset pricing models, allowing for a more nuanced understanding of market dynamics. We focus on the dynamic effects of social influence on asset prices. We examined the existence and local stability of equilibria of the dynamics both analytically and numerically under a range of parameters. To incorporate social influence and obtain analytical results with generic implications for social structure, a mean-field approximation is employed to keep the model tractable. This approach allows for the analysis of large populations, which is a major advantage when studying the impact of social influence in the real world.
We observed that the embedment of social influence in the model fundamentally increased the dimensionality of the system, and thus imposing more restrictions on the existence and stability of equilibria. It implies that the presence of social influence can lead to greater instability in asset price dynamics compared to benchmark models that do not include social influence, as in Brock and Hommes (1998) and Chiarella and He (2003). High levels of social influence creates complexity and chaos universally and degree-dependently. 12 These findings have important implications for understanding the role of social influence in financial markets and the potential for market instability.
The results also yield important insights into policies for monitoring the instability of financial markets. As suggested by the results, high levels of social influence can increase the complexity of the system and potentially lead to market instability and crashes. Policymakers should closely monitor the level of social influence in financial market and take action to prevent the system from reaching dangerous levels of instability. By understanding the role of social influence in financial markets, policy makers can take proactive steps to promote market stability and prevent catastrophic events.
The work in this paper could be extended in several ways. One possible extension is to calibrate the model to real-world data and test the robustness of the findings. The model could also be modified to study the impact of different types of social influence on asset price dynamics, such as the influence of social media or news media. Additionally, more realistic assumptions could be considered by using machine learning algorithms.

Conflicts of interest
The authors declare that there is no conflict of interest. They have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. provided θ = (1 − a)R. By substituting m * = m # in to (40), one has In order to have m # ∈ [−1, 1] one needs θ ≥ R, otherwise there is no meaningful solution. When θ = R one has m # = −1. The R.H.S. of (45) is always 0, so there is no solution. When R < θ < (1 + a)R, one has −1 < m # < 0 and the range of the graph of the R.H.S. of (45) is [M, 1). Since M < 0, the number of solutions is determined by the values of m # and M, that is When θ = (1 + a)R, m # = 0, and the R.H.S. of (45) equals 0 if and only if implying that x * = ± Ca 2 σ 2 2a R(R−1) . When θ > (1 + a)R, one has m # > 1 and the range of the R.H.S. of (45) is [M, 1) with M < 0, therefore there are always two solutions.

A.2 Proof of Proposition 4.1
Equation (32) is a two-dimensional Lth-order system with L + 1 variables. In the following analysis we let . . .