GitHub

Original file line numberDiff line numberDiff line change

@@ -20,10 +20,6 @@ kernelspec:

2020
2121

# Irrelevance of Capital Structures with Complete Markets

2222
23-

```{contents} Contents

24-

:depth: 2

25-

```

26-
2723

In addition to what's in Anaconda, this lecture will need the following libraries:

2824
2925

```{code-cell} ipython

@@ -872,7 +868,6 @@ import matplotlib.pyplot as plt

872868

from scipy.stats import norm

873869

from numba import njit, prange

874870

from quantecon.optimize import root_finding

875-

%matplotlib inline

876871

```

877872
878873

```{code-cell} python3

Original file line numberDiff line numberDiff line change

@@ -22,10 +22,6 @@ kernelspec:

2222
2323

# Equilibrium Capital Structures with Incomplete Markets

2424
25-

```{contents} Contents

26-

:depth: 2

27-

```

28-
2925

In addition to what's in Anaconda, this lecture will need the following libraries:

3026
3127

```{code-cell} ipython3

Original file line numberDiff line numberDiff line change

@@ -25,10 +25,6 @@ kernelspec:

2525

```{index} single: Models; Additive functionals

2626

```

2727
28-

```{contents} Contents

29-

:depth: 2

30-

```

31-
3228

In addition to what's in Anaconda, this lecture will need the following libraries:

3329
3430

```{code-cell} ipython3

@@ -78,7 +74,6 @@ import numpy as np

7874

import scipy.linalg as la

7975

import quantecon as qe

8076

import matplotlib.pyplot as plt

81-

%matplotlib inline

8277

from scipy.stats import norm, lognorm

8378

```

8479
Original file line numberDiff line numberDiff line change

@@ -20,10 +20,6 @@ kernelspec:

2020
2121

# Optimal Taxation without State-Contingent Debt

2222
23-

```{contents} Contents

24-

:depth: 2

25-

```

26-
2723

In addition to what's in Anaconda, this lecture will need the following libraries:

2824
2925

```{code-cell} ipython

Original file line numberDiff line numberDiff line change

@@ -20,10 +20,6 @@ kernelspec:

2020
2121

# Fluctuating Interest Rates Deliver Fiscal Insurance

2222
23-

```{contents} Contents

24-

:depth: 2

25-

```

26-
2723

In addition to what's in Anaconda, this lecture will need the following libraries:

2824
2925

```{code-cell} ipython

@@ -89,7 +85,6 @@ Let's start with some imports:

8985
9086

```{code-cell} ipython

9187

import matplotlib.pyplot as plt

92-

%matplotlib inline

9388

from scipy.optimize import fsolve, fmin

9489

```

9590
Original file line numberDiff line numberDiff line change

@@ -20,10 +20,6 @@ kernelspec:

2020
2121

# Fiscal Risk and Government Debt

2222
23-

```{contents} Contents

24-

:depth: 2

25-

```

26-
2723

In addition to what's in Anaconda, this lecture will need the following libraries:

2824
2925

```{code-cell} ipython

@@ -74,7 +70,6 @@ Let's start with some imports:

7470
7571

```{code-cell} ipython

7672

import matplotlib.pyplot as plt

77-

%matplotlib inline

7873

from scipy.optimize import minimize

7974

```

8075
Original file line numberDiff line numberDiff line change

@@ -20,10 +20,6 @@ kernelspec:

2020
2121

# Default Risk and Income Fluctuations

2222
23-

```{contents} Contents

24-

:depth: 2

25-

```

26-
2723

In addition to what's in Anaconda, this lecture will need the following libraries:

2824
2925

```{code-cell} python

@@ -78,9 +74,7 @@ Let's start with some imports:

7874

import matplotlib.pyplot as plt

7975

import numpy as np

8076

import quantecon as qe

81-
8277

from numba import njit, prange

83-

%matplotlib inline

8478

```

8579
8680

## Structure

Original file line numberDiff line numberDiff line change

@@ -20,10 +20,6 @@ kernelspec:

2020
2121

# {index}`Covariance Stationary Processes <single: Covariance Stationary Processes>`

2222
23-

```{contents} Contents

24-

:depth: 2

25-

```

26-
2723

In addition to what's in Anaconda, this lecture will need the following libraries:

2824
2925

```{code-cell} ipython

@@ -95,7 +91,6 @@ Let's start with some imports:

9591

```{code-cell} ipython

9692

import numpy as np

9793

import matplotlib.pyplot as plt

98-

%matplotlib inline

9994

import quantecon as qe

10095

```

10196
Original file line numberDiff line numberDiff line change

@@ -17,10 +17,6 @@ kernelspec:

1717

```{index} single: Elementary Asset Pricing

1818

```

1919
20-

```{contents} Contents

21-

:depth: 2

22-

```

23-
2420

## Overview

2521
2622

This lecture is about some implications of asset-pricing theories that are based on the equation

@@ -356,7 +352,6 @@ In drawing a frontier, we'll set $\sigma(m) = .25$ and $E m = .99$, values rough

356352

```{code-cell} ipython3

357353

import matplotlib.pyplot as plt

358354

import numpy as np

359-

%matplotlib inline

360355
361356

# Define the function to plot

362357

def y(x, alpha, beta):

@@ -590,7 +585,6 @@ Let's start with some imports.

590585

import numpy as np

591586

import statsmodels.api as sm

592587

import matplotlib.pyplot as plt

593-

%matplotlib inline

594588

```

595589
596590

Lots of our calculations will involve computing population and sample OLS regressions.

Original file line numberDiff line numberDiff line change

@@ -23,10 +23,6 @@ kernelspec:

2323
2424

# Two Modifications of Mean-Variance Portfolio Theory

2525
26-

```{contents} Contents

27-

:depth: 2

28-

```

29-
3026

## Overview

3127
3228

This lecture describes extensions to the classical mean-variance portfolio theory summarized in our lecture [Elementary Asset Pricing Theory](https://python-advanced.quantecon.org/asset_pricing_lph.html).

@@ -87,7 +83,6 @@ Let's start with some imports:

8783

import numpy as np

8884

import scipy.stats as stat

8985

import matplotlib.pyplot as plt

90-

%matplotlib inline

9186

from ipywidgets import interact, FloatSlider

9287

```

9388

Read the original on github.com ↗