• Tidak ada hasil yang ditemukan

Root Finiding

N/A
N/A
Protected

Academic year: 2024

Membagikan "Root Finiding"

Copied!
19
0
0

Teks penuh

(1)

Solving Stochastic Infinite Horizon Model Using Log-Linearization (1)

Tanapong Potipiti

(2)

Infinite Period Cake-Eating

(3)

Solving c

1

 

0

1 1

1

1

( 1 )

t

1

t

t

c c k

k

c

 

(4)

Time-Invariant Relationship: c

t

= f(k

t

)

Notice that

We can show that for all t

(5)

Choice and State Variables

• The above equation shows the time-invariant relationship between

– choice variable at time t: ct and kt+1

– state variable at time t: kt

• Choice variables = what the agent chooses.

• State variables contains all relevant information for making decision.

(6)

A Simple Stochastic Linear Economy

(7)

3 key equations

(The general form of TVC for infinite horizon model)

(8)

Solving c

t

Taking limit and expectation of the resource constraint

(9)

Solving c

t

(10)

Solving c

t

(11)

Simulation Code

k(1) = 0; B = 0.9; r = 1/B-1;

y = grand(1000, 1, 'uin', 0,1);

//grand generates random output for t=1:500

c(t) = (1-B)/B*k(t) + (1-B)*y(t) + B/2;

k(t+1) = (1+r)*k(t) + y(t) - c(t);

end

plot(c);

(12)

Random-Walk Consumption Path

0 50 100 150 200 250 300 350 400 450 500 -1.0

-0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8

(13)

Why Linear Model is Easy to Solve

• We can solve the previous model directly and analytically because the first order + TVC

conditions are linear.

In general, linear models are easy to solve because

We can apply Matrix algebra.

With linear function f we can deal with expectation easily: for a linear function f

E(f(x)) = f(E(x)).

(14)

Linear Approximation (Linearization)

Linear approximation of y = f(x) around point (x0,y0)

(15)

Log-Linear Approximation

(Log Linearization)

(16)

Basic Rules for Log-linearization

(17)

Basic Rules for Log-linearization

• In case that you can apply more than one rule, the basic rules have to be applied in the following order

1) Addition rule 2) Product rule 3) Power rule

4) Anything in blanket

(18)

Log-linearization Example

(19)

Solving Equations by Log linearization

Referensi

Dokumen terkait

There are three basic rules to identify the placement of the stress on trisyllabic adjectives (Liles, 1972:211). The first rule is stress on trisyllabic adjectives is placed on

As you learned on page 147, class rules give you the flexibility to apply style sheet formatting to any element, and to as many ele- ments as you want. They also help you think in

The most common way to use this filter is to set a rule that you want all browsers other than IE to apply, and then over- ride that rule in IE using the star HTML hack.. For example,

Apabila pattern matching yang dilakukan tidak sesuai dengan rules yang ada, maka data tidak akan ditampilkan pada BASE (Basic Analysis and Security Engine), baik pada

These errors came from the influence of their first language rules interlingual, some errors occurred because students generalized the rule and applied it incompletely intralingual and

Conclusions From the tablesand figures it is evident that thenew Hybridize quadrature rule when applied, each of the four integrals gives better result than that of constituent rules

The table amount of qualitative sample size as below: Table 3.1: Rules of Thumb for Qualitative Sample Size Basic Study Type Rule of Thumb Ethnography 30-50 interviews Case Study

3.3.1 Non- Application of Spelling Rules Some errors in the examples above are caused by the fact that the students did not apply a spelling rule in the English spelling system: - The