class EconomicModel extends AnyRef
The EconomicModel
class provides a simple model of can economy.
- Alphabetic
- By Inheritance
- EconomicModel
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
EconomicModel(n: Int, l0: Int, k0: Int, f: (Int) ⇒ Int, g: (Int) ⇒ Int)
- n
the ???
- l0
the labor capacity at time 't0'
- k0
the capital capacity at time 't0'
- f
the production function
- g
the growth function
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cO(t: Int): Int
Estimate the consumption amount when the person is old.
Estimate the consumption amount when the person is old. Bequests are ignored, so this equals his/her consumption in the next period when old by. Thus, the intertemporal budget constraint is relates cO to cY.
- t
the current time
-
def
cY(t: Int): Int
Estimate the personal consumption amount when young (wages - savings).
Estimate the personal consumption amount when young (wages - savings).
- t
the current time
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
df(x: Int): Int
Compute the derivative/difference of the production function 'f'.
Compute the derivative/difference of the production function 'f'.
- x
the current value
-
def
e(t: Int): Int
Estimate the total earned return when the person is old.
Estimate the total earned return when the person is old.
- t
the current time
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
h(rt: Int): Int
Estimate the savings function based on wages and interest rate.
Estimate the savings function based on wages and interest rate.
- rt
the interest rate at time t+1
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
k(t: Int): Int
Estimate the amount of productive capital at time 't'.
Estimate the amount of productive capital at time 't'. Initially k(t) = k0'. Subsequently, it is paid for by workers: There are 'l(t)' workers and total savings must finance the capital next period.
- t
the current time
-
def
kp(t: Int): Int
Estimate the capital per worker.
Estimate the capital per worker.
- t
the current time
-
def
l(t: Int): Int
Estimate the labor capacity/number of young (workers) at time 't'
Estimate the labor capacity/number of young (workers) at time 't'
- t
the current time
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
r(t: Int): Int
Estimate the marginal product of capital reflected as an interest rate.
Estimate the marginal product of capital reflected as an interest rate. May be viewed as a derivative/difference 'fk(k(t), l(t)) = fʹ(k(t))'.
- t
the current time
-
def
s(t: Int): Int
Estimate the personal savings amount when the person is young.
Estimate the personal savings amount when the person is young.
- t
the current time
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
w(t: Int): Int
Estimate the wage.
Estimate the wage.
- t
the current time
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
y(t: Int): Int
Estimate the output per worker: y(t) = f(k(t)) where f(k) is the production function.
Estimate the output per worker: y(t) = f(k(t)) where f(k) is the production function.
- t
the current time
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated