Learn R Programming

exuber (version 0.2.1)

sim_blan: Simulation of a Blanchard (1979) bubble process

Description

Simulation of a Blanchard (1979) rational bubble process.

Usage

sim_blan(n, pi = 0.7, sigma = 0.03, r = 0.05)

Arguments

n

A strictly positive integer specifying the length of the simulated output series.

pi

A positive value in (0, 1) which governs the probability of the bubble continuing to grow.

sigma

A positive scalar indicating the standard deviation of the innovations.

r

A positive scalar that determines the growth rate of the bubble process.

Value

A numeric vector of length n.

Details

Blanchard's bubble process has two regimes, which occur with probability \(\pi\) and \(1-\pi\). In the first regime, the bubble grows exponentially, whereas in the second regime, the bubble collapses to a white noise.

With probability \(\pi\): $$B_{t+1} = \frac{1+r}{\pi}B_t+\epsilon_{t+1}$$ With probability \(1 - \pi\): $$B_{t+1} = \epsilon_{t+1}$$

where r is a positive constant and \(\epsilon \sim iid(0, \sigma^2)\).

References

Blanchard, O. J. (1979). Speculative bubbles, crashes and rational expectations. Economics letters, 3(4), 387-389.

See Also

sim_dgp1, sim_dgp2, sim_evans

Examples

Run this code
# NOT RUN {
sim_blan(n = 100)
# }

Run the code above in your browser using DataLab