Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dynamic Modeling II Drawn largely from Sage QASS #27, by Huckfeldt, Kohfeld, and Likens. Courtney Brown, Ph.D. Emory University.

Similar presentations


Presentation on theme: "Dynamic Modeling II Drawn largely from Sage QASS #27, by Huckfeldt, Kohfeld, and Likens. Courtney Brown, Ph.D. Emory University."— Presentation transcript:

1 Dynamic Modeling II Drawn largely from Sage QASS #27, by Huckfeldt, Kohfeld, and Likens. Courtney Brown, Ph.D. Emory University

2 Nonlinear Difference Equation Models Most of nature is nonlinear. It makes sense to create nonlinear mathematical models of society. The most basic forms of nonlinear components for dynamic models include power and interaction terms.

3 Constant Source Gains Constant source gains can be thought of as gains due to a process that does not mathematically depend on interactions between population groups. For example, exponential growth of a population simply requires that future states grow exponentially from past states. Thus, the rate of growth is dependent on the value of the current state.

4 Thomas Malthus Exponential growth of a population is a feature of ideas raised by Thomas Malthus. Here we can frame these ideas with the exponential growth model, dY/dt = aY, where growth in the population Y depends on its current value. The solution for this is Y t = Y 0 e at. Note the exponential character of the solution.

5 A difference equation version of this model is ΔY(t) = cY(t), or Y(t+1) = (1+c)Y(t). Thus, a future state [Y(t+1)] is the result of a constant (1+c) times a past state [Y(t)]. We can think of this as constant growth. Constant growth processes of change include things like vote mobilization through the use of broadcast media, like television commercials.

6 Interactive Gains: A Mobilization Example Interactive gains require the interaction between two identifiable groups in the population, such as those who are already mobilized and those who are not yet mobilized. We can write such a model as ΔM t = sM t (1-M t ), where M t can be thought of as those who are already mobilized and (1-M t ) represents those who are not yet mobilized.

7 Combining Constant Source and Interactive Gains By combining various gain components in one model, we can enrich the specification of the dynamic process. Combining constant source and interactive components as described previously, we have, ΔM t = gM t + sM t (1-M t ). We can think of this model as capturing mobilization via radio broadcasts (gM t ) and interpersonal interaction [sM t (1-M t )].

8 Adding Losses But most processes of change have losses as well as gains. We can model this as| ΔM(t) = (constant source gains) + (interactive gains) – (decay losses). To make things easy, we can begin with losses being similar to constant source gains, but with a different sign. Thus, we can have losses = -fM t

9 This would produce the following model: ΔM t = gM t + sM t (1-M t ) – fM t Let us add some realism by giving a limit to the proportion of the population that is available for mobilization. Now we have ΔM t = g(L-M t ) + sM t (L-M t ) – fM t, where L is the mobilization limit. Note that we use this limit in the constant source and interactive components of the model. But now note that we are double counting, since people can be mobilized through the constant source and the interactive components.

10 To get rid of the double counting, we can subtract the constant source gains from the possible interactive gains. Now we have ΔM t = g(L-M t ) + sM t [(L-M t ) - g(L-M t )] - fM t, or ΔM t = (sg-s)M t 2 + (sL-f-g-sgL)M t + gL, or M t+1 = (sg-s)M t 2 + (1+sL-f-g-sgL)M t + gL This is a first-order nonlinear difference equation of degree two.

11 If the double counting check was not included in the model, the model would have been ΔM t = g(L-M t ) + sM t (L-M t ) - fM t, or M t+1 = -sM t 2 + (1-f-g+sL)M t + gL But accounting for double counting is more realistic, and thus better. We will use the better version for the rest of this presentation.

12 Parameter Restrictions We begin with simple descriptive contraints. 0 ≤ L, g, f ≤ 1 We also know that 0<s. But s is not necessarily less than 1. (See the top of page 34 in Huckfeldt, Kohfeld, and Likens.) The possibilities for interaction are: M t M t, yielding no spread (L-M t )(L-M t ), yielding no spread M t (L-M t ), yielding the possibility of spread (L-M t )M t, yielding the possibility of spread

13 Thus, there are two paths along which interactions between mobilized and nonmobilized individuals in the population can occur and produce interactive gains. This can be described probabilistically in terms of their relative frequency as 2(L-M t )M t. It is customary to simply drop the 2 above, and let this be absorbed in the estimated value of the parameter s. This is why the parameter s can be greater than 1. But it still would be nice if we could get an upper limit for s.

14 Additionally, total gains must be less than or equal to all those available for mobilization. Thus we have 0 ≤ g(L-M t ) + sM t [(L-M t ) - g(L-M t )] ≤ (L-M t ), which is saying 0 ≤ total gains ≤ those available

15 Now, let us take this and try to isolate g. 0 ≤ g(L-M t ) + sM t [(L-M t ) - g(L-M t )] ≤ (L-M t ) and divide by (L-M t ) to obtain 0 ≤ g + sM t (1 – g) ≤ 1, for M t ≠ L. Let us call this “Result A.” We can re-arrange this and obtain 0 ≤ g (1 - sM t ) ≤ (1 - sM t ), or 0 ≤ g ≤ 1. This is the same as before. All this work did not get us any further. 

16 But now let us go back to Result A, and solve the restriction for s instead of g. Again, Result A is 0 ≤ g + sM t (1 – g) ≤ 1, for M t ≠ L. Re-arrange this as follows: 0 ≤ g/(1-g) + sM t ≤ 1/(1-g), for g≠1 -g/(1-g) ≤ sM t ≤ 1/(1-g) – g/(1-g) -g/(1-g) ≤ sM t ≤ (1-g)/(1-g) = 1. Divide by M t and you have -g/[(1-g)M t ] ≤ s ≤ 1/M t. But 0 ≤ s, so 0 ≤ s ≤ 1/M t. This give us an upper bound for s based on M t.

17 0 ≤ s ≤ 1/M t. It is good to have an upper bound for s. Note that this is different from the upper bounds for L, g, and f. This upper bound can vary, and depends on the dependent variable. Such constraints can often be used after estimates are obtained for the parameters. This offers a test of reliability (or believability).

18 Estimation We estimate the model as M t+1 = β 2 M t 2 + β 1 M t + β 0, and we obtain estimates for β 0, β 1, and β 2. From this we have β 0 = gL β 1 = 1 + sL – f – g - sgL β 2 = sg – s, which is three equations and four unknowns.

19 To solve this problem of having an over- determined system, you can make L=1 as an easy way out. Thus, you would have β 0 = g β 1 = 1 + s – f – g - sg β 2 = sg – s, which is three equations and three unknowns. But if you have another way to get L, use it. Perhaps you can use historical data.

20 Equilibria Set all of the M t equal to M*, and solve for M*. Thus, ΔM t = 0 = (sg-s)M* 2 + (sL-f-g-sgL)M* + gL This is a quadratic equation. We use the quadratic formula to get the roots.

21 The Quadratic Formula For a quadratic equation set equal to zero, we find the roots with the following formulas: 0 = ax 2 + bx + c x roots = [-b ± √(b 2 – 4ac)]/2a

22 Solving the Quadratic Thus, for our model, we note the following: ΔM t = 0 = (sg-s)M* 2 + (sL-f-g-sgL)M* + gL a = (sg-s) b = (sL-f-g-sgL) c = gL Substitute these quantities into the quadratic formula, and solve for the roots. This will give you two roots. One will be spurious. But remember 0<M*. From the example used in Huckfeldt, Kohfeld, and Likens (p. 40), M* = 0.54 and -0.66. The answer is 0.54, and the value of -0.66 is a spurious root.

23 Local Stability Analysis Now that we have a value for the equilibrium of the dependent variable of our model, M*, it would be nice to know if that equilibrium is a stable or unstable equilibrium. A stable equilibrium attracts. An unstable equilibrium repels. The idea is that M t may move away from M* if the equilibrium is unstable. But M t will get closer to M* if the equilibrium is stable.

24 The Neighborhood of the Equilibrium With local stability analysis, we are concerned about how M t behaves in the local neighborhood of M*. That is, we want to know what will happen to M t when it is close to M*. This is different from a global stability analysis. With global stability, we are interested in whether or not M* attracts M t regardless of the value of M t.

25 Setting up the Local Stability Analysis One way to conduct local stability analysis is to look at small perturbations around M*. M t = M* + X t X t is the disturbance to M*. X 0 is the initial disturbance. We want to model the long-term impact of X t on M t. Consider the difference equation, ΔX t = aX t, or equivalently, X t+1 = (1 + a)X t. If we can model X t, we can know if the perturbations around M* will decay.

26 From our knowledge of first-order linear difference equations with constant coefficients, we know that if (1+a) is between -1 and 1, then we will have convergence to the equilibrium value for X t. In this instance, note that the equilibrium value for X t is zero. Thus, if we have convergence for X t, then the convergence is to zero and the perturbation dies away. The solution form for the first-order linear difference equation with constant coefficients tells us that X t = X 0 (1+a) t. Note what happens when -1<(1+a)<1, or equivalently, when -2 < a < 0.

27 The Taylor Series Expansion Now we want to expand our equation for ΔM t around M* to see if M t converges to M*. A Taylor series does this. Recall our model for ΔM t. ΔM t = (sg-s)M t 2 + (sL-f-g-sgL)M t + gL Now we want to calculate the first two terms of the Taylor series for this function around M*. The first two terms of the Taylor series is the equation of the line that is tangent to the model when M t = M*. These two terms are (1) ΔM t when M t =M* and (2) (dΔM t /dM t )(M t -M*) = (d ΔM t /dM t )X t.

28 The first term equals zero since ΔM t =0 when M t =M*. Thus, we only have the second term to work with. For the second term, we need to obtain the value of the derivative of ΔM t with respect to M t when M t =M*. dΔM t /dM t = 2(sg-s)M* + sL-f-g-sgL This derivative is actually our value of the parameter a in ΔX t = aX t. How do we know this? Since M t = M* + X t, we can multiply through by the linear operator Δ to obtain ΔM t = ΔM* + ΔX t. Since M* is a constant, ΔM t = ΔX t and dΔM t /dM t = dΔX t /dM t = a.

29 Thus, our Taylor series expansion of our model yields ΔM t = ΔX t = (dΔM t /dM t )X t. Substituting for dΔM t /dM t we have ΔX t = [2(sg-s)M* + sL - f - g - sgL]X t or equivalently, X t+1 = [1 + 2(sg-s)M* + sL - f - g - sgL] X t. Note that 1 + a = [1 + 2(sg-s)M* + sL - f - g - sgL] Huckfeldt, Kohfeld, and Likens estimate their model using election data for Essex County and find that (1+a) = 0.46 for M*=0.54. This tells us that the equilibrium of 0.54 is stable, since -1<(1+a)<1.


Download ppt "Dynamic Modeling II Drawn largely from Sage QASS #27, by Huckfeldt, Kohfeld, and Likens. Courtney Brown, Ph.D. Emory University."

Similar presentations


Ads by Google