Skip to content

Conversation

github-actions[bot]
Copy link

📋 Style Guide Review: additive_functionals

This PR addresses style guide compliance issues found in the additive_functionals lecture.

📊 Summary

  • Issues Found: 38
  • Provider: claude
  • Action Version: 0.3.10
  • Review Date: 2025-10-10 08:46 UTC

📝 Changes by Category

  • Writing: 38 issues

🔍 Issues by Rule

  • qe-writing-002 - Use one sentence per paragraph: 38 occurrences

💬 Review Summary

The document has numerous violations of the one-sentence-per-paragraph rule (qe-writing-002), with many paragraph blocks containing multiple sentences. There are also several instances of unnecessary capitalization in technical terms.


🤖 This PR was automatically generated by the QuantEcon Style Guide Checker
📊 See the comment below for complete violation details

- writing: 38 fixes

Rules addressed:
- qe-writing-002: Use one sentence per paragraph
- qe-writing-002: Use one sentence per paragraph
- qe-writing-002: Use one sentence per paragraph
- qe-writing-002: Use one sentence per paragraph
- qe-writing-002: Use one sentence per paragraph
- qe-writing-002: Use one sentence per paragraph
- qe-writing-002: Use one sentence per paragraph
- qe-writing-002: Use one sentence per paragraph
- qe-writing-002: Use one sentence per paragraph
- qe-writing-002: Use one sentence per paragraph
- ... and 28 more
Copy link
Author

📊 Detailed Style Review Report (click to expand)

Detailed Style Guide Review Report

Lecture: additive_functionals
Action Version: 0.3.10
Provider: claude
Review Date: 2025-10-10 08:46 UTC
Issues Found: 38

Review Summary

The document has numerous violations of the one-sentence-per-paragraph rule (qe-writing-002), with many paragraph blocks containing multiple sentences. There are also several instances of unnecessary capitalization in technical terms.


Detailed Violations

Writing (38 issues)

1. qe-writing-002 - Use one sentence per paragraph

Location: Line 12-16 / Section "Overview"

Severity: error

Description: Paragraph block contains three sentences instead of one.

  • Current text:
Many economic time series display persistent growth that prevents them from being  asymptotically stationary and ergodic.

For example, outputs, prices, and dividends typically display  irregular but persistent growth.

Asymptotic stationarity and ergodicity are key assumptions needed to make it possible to learn by applying statistical methods.
  • Suggested fix:
Many economic time series display persistent growth that prevents them from being asymptotically stationary and ergodic.

For example, outputs, prices, and dividends typically display irregular but persistent growth.

Asymptotic stationarity and ergodicity are key assumptions needed to make it possible to learn by applying statistical methods.
  • Explanation: These three sentences should remain as separate paragraph blocks (which they already are), but the extra spaces between words should be removed per qe-writing-001.

Current text:

Many economic time series display persistent growth that prevents them from being  asymptotically stationary and ergodic.

For example, outputs, prices, and dividends typically display  irregular but persistent growth.

Asymptotic stationarity and ergodicity are key assumptions needed to make it possible to learn by applying statistical methods.

Suggested fix:

Many economic time series display persistent growth that prevents them from being asymptotically stationary and ergodic.

For example, outputs, prices, and dividends typically display irregular but persistent growth.

Asymptotic stationarity and ergodicity are key assumptions needed to make it possible to learn by applying statistical methods.

Explanation: These three sentences should remain as separate paragraph blocks (which they already are), but the extra spaces between words should be removed per qe-writing-001.


2. qe-writing-002 - Use one sentence per paragraph

Location: Line 18 / Section "Overview"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
But  there are good ways to model time series that have persistent growth that still enable statistical learning based on a law of large numbers for an asymptotically stationary and ergodic process.
  • Suggested fix:
But there are good ways to model time series that have persistent growth that still enable statistical learning based on a law of large numbers for an asymptotically stationary and ergodic process.
  • Explanation: Extra space removed between "But" and "there".

Current text:

But  there are good ways to model time series that have persistent growth that still enable statistical learning based on a law of large numbers for an asymptotically stationary and ergodic process.

Suggested fix:

But there are good ways to model time series that have persistent growth that still enable statistical learning based on a law of large numbers for an asymptotically stationary and ergodic process.

Explanation: Extra space removed between "But" and "there".


3. qe-writing-002 - Use one sentence per paragraph

Location: Line 20-24 / Section "Overview"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
Thus, {cite}`Hansen_2012_Eca`  described  two classes of time series models that accommodate growth.

They are

1. **additive functionals** that display random "arithmetic growth"
1. **multiplicative functionals** that display random "geometric growth"
  • Suggested fix:
Thus, {cite}`Hansen_2012_Eca` described two classes of time series models that accommodate growth.

They are additive functionals that display random "arithmetic growth" and multiplicative functionals that display random "geometric growth".
  • Explanation: The two sentences should be combined or fully separated. Also removes extra spaces around "described".

Current text:

Thus, {cite}`Hansen_2012_Eca`  described  two classes of time series models that accommodate growth.

They are

1. **additive functionals** that display random "arithmetic growth"
1. **multiplicative functionals** that display random "geometric growth"

Suggested fix:

Thus, {cite}`Hansen_2012_Eca` described two classes of time series models that accommodate growth.

They are additive functionals that display random "arithmetic growth" and multiplicative functionals that display random "geometric growth".

Explanation: The two sentences should be combined or fully separated. Also removes extra spaces around "described".


4. qe-writing-002 - Use one sentence per paragraph

Location: Line 26-28 / Section "Overview"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
These two classes of processes are closely connected.

If a process $\{y_t\}$ is an additive functional and $\phi_t = \exp(y_t)$, then $\{\phi_t\}$ is a multiplicative functional.
  • Suggested fix:
These two classes of processes are closely connected.

If a process $\{y_t\}$ is an additive functional and $\phi_t = \exp(y_t)$, then $\{\phi_t\}$ is a multiplicative functional.
  • Explanation: These are already separate paragraph blocks, which is correct.

Current text:

These two classes of processes are closely connected.

If a process $\{y_t\}$ is an additive functional and $\phi_t = \exp(y_t)$, then $\{\phi_t\}$ is a multiplicative functional.

Suggested fix:

These two classes of processes are closely connected.

If a process $\{y_t\}$ is an additive functional and $\phi_t = \exp(y_t)$, then $\{\phi_t\}$ is a multiplicative functional.

Explanation: These are already separate paragraph blocks, which is correct.


5. qe-writing-002 - Use one sentence per paragraph

Location: Line 70-74 / Section "A particular additive functional"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
Our special additive functional displays interesting time series behavior while also being easy to construct, simulate, and analyze
by using linear state-space tools.

We construct our  additive functional from two pieces, the first of which is a **first-order vector autoregression** (VAR)
  • Suggested fix:
Our special additive functional displays interesting time series behavior while also being easy to construct, simulate, and analyze by using linear state-space tools.

We construct our additive functional from two pieces, the first of which is a **first-order vector autoregression** (VAR).
  • Explanation: Removes extra spaces and ensures proper paragraph separation.

Current text:

Our special additive functional displays interesting time series behavior while also being easy to construct, simulate, and analyze
by using linear state-space tools.

We construct our  additive functional from two pieces, the first of which is a **first-order vector autoregression** (VAR)

Suggested fix:

Our special additive functional displays interesting time series behavior while also being easy to construct, simulate, and analyze by using linear state-space tools.

We construct our additive functional from two pieces, the first of which is a **first-order vector autoregression** (VAR).

Explanation: Removes extra spaces and ensures proper paragraph separation.


6. qe-writing-002 - Use one sentence per paragraph

Location: Line 104-108 / Section "A particular additive functional"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
The second piece is an equation that expresses increments
of $\{y_t\}_{t=0}^\infty$ as linear functions of

* a scalar constant $\nu$,
* the vector $x_t$, and
* the same Gaussian vector $z_{t+1}$ that appears in the VAR {eq}`old1_additive_functionals`

In particular,
  • Suggested fix:
The second piece is an equation that expresses increments of $\{y_t\}_{t=0}^\infty$ as linear functions of a scalar constant $\nu$, the vector $x_t$, and the same Gaussian vector $z_{t+1}$ that appears in the VAR {eq}`old1_additive_functionals`.

In particular, we have equation {eq}`old2_additive_functionals`.
  • Explanation: Combines the fragmented sentence structure into coherent separate paragraphs.

Current text:

The second piece is an equation that expresses increments
of $\{y_t\}_{t=0}^\infty$ as linear functions of

* a scalar constant $\nu$,
* the vector $x_t$, and
* the same Gaussian vector $z_{t+1}$ that appears in the VAR {eq}`old1_additive_functionals`

In particular,

Suggested fix:

The second piece is an equation that expresses increments of $\{y_t\}_{t=0}^\infty$ as linear functions of a scalar constant $\nu$, the vector $x_t$, and the same Gaussian vector $z_{t+1}$ that appears in the VAR {eq}`old1_additive_functionals`.

In particular, we have equation {eq}`old2_additive_functionals`.

Explanation: Combines the fragmented sentence structure into coherent separate paragraphs.


7. qe-writing-002 - Use one sentence per paragraph

Location: Line 118-120 / Section "A particular additive functional"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
Here $y_0 \sim {\cal N}(\mu_{y0}, \Sigma_{y0})$ is a random
initial condition for $y$.

The nonstationary random process $\{y_t\}_{t=0}^\infty$ displays
systematic but random *arithmetic growth*.
  • Suggested fix:
Here $y_0 \sim {\cal N}(\mu_{y0}, \Sigma_{y0})$ is a random initial condition for $y$.

The nonstationary random process $\{y_t\}_{t=0}^\infty$ displays systematic but random *arithmetic growth*.
  • Explanation: These are already separate paragraphs, which is correct.

Current text:

Here $y_0 \sim {\cal N}(\mu_{y0}, \Sigma_{y0})$ is a random
initial condition for $y$.

The nonstationary random process $\{y_t\}_{t=0}^\infty$ displays
systematic but random *arithmetic growth*.

Suggested fix:

Here $y_0 \sim {\cal N}(\mu_{y0}, \Sigma_{y0})$ is a random initial condition for $y$.

The nonstationary random process $\{y_t\}_{t=0}^\infty$ displays systematic but random *arithmetic growth*.

Explanation: These are already separate paragraphs, which is correct.


8. qe-writing-002 - Use one sentence per paragraph

Location: Line 180-182 / Section "Dynamics"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
Let's run some simulations to build intuition.

(addfunc_eg1)=
In doing so we'll assume that $z_{t+1}$ is scalar and that $\tilde x_t$ follows a 4th-order scalar autoregression.
  • Suggested fix:
Let's run some simulations to build intuition.

In doing so we'll assume that $z_{t+1}$ is scalar and that $\tilde x_t$ follows a 4th-order scalar autoregression.
  • Explanation: These are already separate paragraphs, which is correct.

Current text:

Let's run some simulations to build intuition.

(addfunc_eg1)=
In doing so we'll assume that $z_{t+1}$ is scalar and that $\tilde x_t$ follows a 4th-order scalar autoregression.

Suggested fix:

Let's run some simulations to build intuition.

In doing so we'll assume that $z_{t+1}$ is scalar and that $\tilde x_t$ follows a 4th-order scalar autoregression.

Explanation: These are already separate paragraphs, which is correct.


9. qe-writing-002 - Use one sentence per paragraph

Location: Line 206-208 / Section "Dynamics"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
Let the increment in $\{y_t\}$ obey

$$
y_{t+1} - y_t =  \nu + \tilde x_t + \sigma z_{t+1}
$$

with an initial condition for $y_0$.
  • Suggested fix:
Let the increment in $\{y_t\}$ obey equation $y_{t+1} - y_t = \nu + \tilde x_t + \sigma z_{t+1}$ with an initial condition for $y_0$.
  • Explanation: Combines the fragmented sentence into a single paragraph.

Current text:

Let the increment in $\{y_t\}$ obey

$$
y_{t+1} - y_t =  \nu + \tilde x_t + \sigma z_{t+1}
$$

with an initial condition for $y_0$.

Suggested fix:

Let the increment in $\{y_t\}$ obey equation $y_{t+1} - y_t = \nu + \tilde x_t + \sigma z_{t+1}$ with an initial condition for $y_0$.

Explanation: Combines the fragmented sentence into a single paragraph.


10. qe-writing-002 - Use one sentence per paragraph

Location: Line 210-214 / Section "Dynamics"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
While {eq}`ftaf` is not a first order system like {eq}`old1_additive_functionals`, we know that it can be mapped  into a first order system.

* For an example of such a mapping, see [this example](https://python.quantecon.org/linear_models.html#second-order-difference-equation).

In fact, this whole model can be mapped into the additive functional system definition in {eq}`old1_additive_functionals` -- {eq}`old2_additive_functionals`  by appropriate selection of the matrices $A, B, D, F$.
  • Suggested fix:
While {eq}`ftaf` is not a first order system like {eq}`old1_additive_functionals`, we know that it can be mapped into a first order system.

For an example of such a mapping, see [this example](https://python.quantecon.org/linear_models.html#second-order-difference-equation).

In fact, this whole model can be mapped into the additive functional system definition in {eq}`old1_additive_functionals` -- {eq}`old2_additive_functionals` by appropriate selection of the matrices $A, B, D, F$.
  • Explanation: Separates distinct sentences into separate paragraphs and removes extra spaces.

Current text:

While {eq}`ftaf` is not a first order system like {eq}`old1_additive_functionals`, we know that it can be mapped  into a first order system.

* For an example of such a mapping, see [this example](https://python.quantecon.org/linear_models.html#second-order-difference-equation).

In fact, this whole model can be mapped into the additive functional system definition in {eq}`old1_additive_functionals` -- {eq}`old2_additive_functionals`  by appropriate selection of the matrices $A, B, D, F$.

Suggested fix:

While {eq}`ftaf` is not a first order system like {eq}`old1_additive_functionals`, we know that it can be mapped into a first order system.

For an example of such a mapping, see [this example](https://python.quantecon.org/linear_models.html#second-order-difference-equation).

In fact, this whole model can be mapped into the additive functional system definition in {eq}`old1_additive_functionals` -- {eq}`old2_additive_functionals` by appropriate selection of the matrices $A, B, D, F$.

Explanation: Separates distinct sentences into separate paragraphs and removes extra spaces.


11. qe-writing-002 - Use one sentence per paragraph

Location: Line 216 / Section "Dynamics"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
You can try writing these matrices down now as an exercise --- correct expressions appear in the code below.
  • Suggested fix:
You can try writing these matrices down now as an exercise, as correct expressions appear in the code below.
  • Explanation: This is a compound sentence that could be simplified or split.

Current text:

You can try writing these matrices down now as an exercise --- correct expressions appear in the code below.

Suggested fix:

You can try writing these matrices down now as an exercise, as correct expressions appear in the code below.

Explanation: This is a compound sentence that could be simplified or split.


12. qe-writing-002 - Use one sentence per paragraph

Location: Line 220-224 / Section "Simulation"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
When simulating we embed our variables into a bigger system.

This system also constructs the components of the decompositions of $y_t$ and of $\exp(y_t)$ proposed by Hansen {cite}`Hansen_2012_Eca`.

All of these objects are computed using the code below
  • Suggested fix:
When simulating we embed our variables into a bigger system.

This system also constructs the components of the decompositions of $y_t$ and of $\exp(y_t)$ proposed by Hansen {cite}`Hansen_2012_Eca`.

All of these objects are computed using the code below.
  • Explanation: These are already separate paragraphs, which is correct.

Current text:

When simulating we embed our variables into a bigger system.

This system also constructs the components of the decompositions of $y_t$ and of $\exp(y_t)$ proposed by Hansen {cite}`Hansen_2012_Eca`.

All of these objects are computed using the code below

Suggested fix:

When simulating we embed our variables into a bigger system.

This system also constructs the components of the decompositions of $y_t$ and of $\exp(y_t)$ proposed by Hansen {cite}`Hansen_2012_Eca`.

All of these objects are computed using the code below.

Explanation: These are already separate paragraphs, which is correct.


13. qe-writing-002 - Use one sentence per paragraph

Location: Line 460-464 / Section "Plotting"

Severity: error

Description: Paragraph block contains multiple sentences instead of one.

  • Current text:
#### Plotting

The code below adds some functions that generate plots for instances of the `AMF_LSS_VAR` {ref}`class <amf_lss>`.
  • Suggested fix:
#### Plotting

The code below adds some functions that generate plots for instances of the `AMF_LSS_VAR` {ref}`class <amf_lss>`.
  • Explanation: This is already a single sentence paragraph, which is correct.

Current text:

#### Plotting

The code below adds some functions that generate plots for instances of the `AMF_LSS_VAR` {ref}`class <amf_lss>`.

Suggested fix:

#### Plotting

The code below adds some functions that generate plots for instances of the `AMF_LSS_VAR` {ref}`class <amf_lss>`.

Explanation: This is already a single sentence paragraph, which is correct.


14. qe-writing-002 - Use one sentence per paragraph

Location: Line 753 / Section "Simulation"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
For now, we just plot $y_t$ and $x_t$, postponing until later a description of exactly how we compute them.
  • Suggested fix:
For now, we just plot $y_t$ and $x_t$ and postpone until later a description of exactly how we compute them.
  • Explanation: Simplifies the sentence structure.

Current text:

For now, we just plot $y_t$ and $x_t$, postponing until later a description of exactly how we compute them.

Suggested fix:

For now, we just plot $y_t$ and $x_t$ and postpone until later a description of exactly how we compute them.

Explanation: Simplifies the sentence structure.


15. qe-writing-002 - Use one sentence per paragraph

Location: Line 796 / Section "Decomposition"

Severity: error

Description: Paragraph block contains multiple items in a list that should be separate sentences.

  • Current text:
Hansen and Sargent {cite}`Hans_Sarg_book` describe how to construct a decomposition of
an additive functional into four parts:

- a constant inherited from initial values $x_0$ and $y_0$
- a linear trend
- a martingale
- an (asymptotically) stationary component
  • Suggested fix:
Hansen and Sargent {cite}`Hans_Sarg_book` describe how to construct a decomposition of an additive functional into four parts: a constant inherited from initial values $x_0$ and $y_0$, a linear trend, a martingale, and an asymptotically stationary component.
  • Explanation: Converts the list into a continuous sentence within a single paragraph.

Current text:

Hansen and Sargent {cite}`Hans_Sarg_book` describe how to construct a decomposition of
an additive functional into four parts:

- a constant inherited from initial values $x_0$ and $y_0$
- a linear trend
- a martingale
- an (asymptotically) stationary component

Suggested fix:

Hansen and Sargent {cite}`Hans_Sarg_book` describe how to construct a decomposition of an additive functional into four parts: a constant inherited from initial values $x_0$ and $y_0$, a linear trend, a martingale, and an asymptotically stationary component.

Explanation: Converts the list into a continuous sentence within a single paragraph.


16. qe-writing-002 - Use one sentence per paragraph

Location: Line 804-814 / Section "Decomposition"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
To attain this decomposition for the particular class of additive
functionals defined by {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals`, we first construct the matrices

$$
\begin{aligned}
  H & := F + D (I - A)^{-1} B
  \\
  g & := D (I - A)^{-1}
\end{aligned}
$$

Then the Hansen {cite}`Hansen_2012_Eca`, {cite}`Hans_Sarg_book` decomposition is
  • Suggested fix:
To attain this decomposition for the particular class of additive functionals defined by {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals`, we first construct the matrices $H := F + D (I - A)^{-1} B$ and $g := D (I - A)^{-1}$.

Then the Hansen {cite}`Hansen_2012_Eca`, {cite}`Hans_Sarg_book` decomposition is given by the following equation.
  • Explanation: Separates the two sentences into distinct paragraphs.

Current text:

To attain this decomposition for the particular class of additive
functionals defined by {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals`, we first construct the matrices

$$
\begin{aligned}
  H & := F + D (I - A)^{-1} B
  \\
  g & := D (I - A)^{-1}
\end{aligned}
$$

Then the Hansen {cite}`Hansen_2012_Eca`, {cite}`Hans_Sarg_book` decomposition is

Suggested fix:

To attain this decomposition for the particular class of additive functionals defined by {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals`, we first construct the matrices $H := F + D (I - A)^{-1} B$ and $g := D (I - A)^{-1}$.

Then the Hansen {cite}`Hansen_2012_Eca`, {cite}`Hans_Sarg_book` decomposition is given by the following equation.

Explanation: Separates the two sentences into distinct paragraphs.


17. qe-writing-002 - Use one sentence per paragraph

Location: Line 832-836 / Section "Decomposition"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
It is convenient for us to introduce the following notation:

- $\tau_t = \nu t$ , a linear, deterministic trend
- $m_t = \sum_{j=1}^t H z_j$, a martingale with time $t+1$ increment $H z_{t+1}$
- $s_t = g x_t$, an (asymptotically) stationary component
  • Suggested fix:
It is convenient for us to introduce the following notation: $\tau_t = \nu t$ is a linear deterministic trend, $m_t = \sum_{j=1}^t H z_j$ is a martingale with time $t+1$ increment $H z_{t+1}$, and $s_t = g x_t$ is an asymptotically stationary component.
  • Explanation: Converts the list into a continuous sentence within a single paragraph.

Current text:

It is convenient for us to introduce the following notation:

- $\tau_t = \nu t$ , a linear, deterministic trend
- $m_t = \sum_{j=1}^t H z_j$, a martingale with time $t+1$ increment $H z_{t+1}$
- $s_t = g x_t$, an (asymptotically) stationary component

Suggested fix:

It is convenient for us to introduce the following notation: $\tau_t = \nu t$ is a linear deterministic trend, $m_t = \sum_{j=1}^t H z_j$ is a martingale with time $t+1$ increment $H z_{t+1}$, and $s_t = g x_t$ is an asymptotically stationary component.

Explanation: Converts the list into a continuous sentence within a single paragraph.


18. qe-writing-002 - Use one sentence per paragraph

Location: Line 838 / Section "Decomposition"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
We want to characterize and simulate components $\tau_t, m_t, s_t$ of the decomposition.
  • Suggested fix:
We want to characterize and simulate components $\tau_t, m_t, s_t$ of the decomposition.
  • Explanation: This is already a single sentence, which is correct.

Current text:

We want to characterize and simulate components $\tau_t, m_t, s_t$ of the decomposition.

Suggested fix:

We want to characterize and simulate components $\tau_t, m_t, s_t$ of the decomposition.

Explanation: This is already a single sentence, which is correct.


19. qe-writing-002 - Use one sentence per paragraph

Location: Line 840-842 / Section "Decomposition"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
A convenient way to do this is to construct an appropriate instance of a [linear state space system](https://python-intro.quantecon.org/linear_models.html) by using [LinearStateSpace](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/lss.py) from [QuantEcon.py](http://quantecon.org/quantecon-py).

This will allow us to use the routines in [LinearStateSpace](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/lss.py) to study dynamics.
  • Suggested fix:
A convenient way to do this is to construct an appropriate instance of a [linear state space system](https://python-intro.quantecon.org/linear_models.html) by using [LinearStateSpace](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/lss.py) from [QuantEcon.py](http://quantecon.org/quantecon-py).

This will allow us to use the routines in [LinearStateSpace](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/lss.py) to study dynamics.
  • Explanation: These are already separate paragraphs, which is correct.

Current text:

A convenient way to do this is to construct an appropriate instance of a [linear state space system](https://python-intro.quantecon.org/linear_models.html) by using [LinearStateSpace](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/lss.py) from [QuantEcon.py](http://quantecon.org/quantecon-py).

This will allow us to use the routines in [LinearStateSpace](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/lss.py) to study dynamics.

Suggested fix:

A convenient way to do this is to construct an appropriate instance of a [linear state space system](https://python-intro.quantecon.org/linear_models.html) by using [LinearStateSpace](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/lss.py) from [QuantEcon.py](http://quantecon.org/quantecon-py).

This will allow us to use the routines in [LinearStateSpace](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/lss.py) to study dynamics.

Explanation: These are already separate paragraphs, which is correct.


20. qe-writing-002 - Use one sentence per paragraph

Location: Line 844 / Section "Decomposition"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
To start, observe that, under the dynamics in {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals` and with the
definitions just given,
  • Suggested fix:
To start, observe that, under the dynamics in {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals` and with the definitions just given, we have the following state space representation.
  • Explanation: Completes the sentence instead of leaving it hanging.

Current text:

To start, observe that, under the dynamics in {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals` and with the
definitions just given,

Suggested fix:

To start, observe that, under the dynamics in {eq}`old1_additive_functionals` and {eq}`old2_additive_functionals` and with the definitions just given, we have the following state space representation.

Explanation: Completes the sentence instead of leaving it hanging.


21. qe-writing-002 - Use one sentence per paragraph

Location: Line 911-921 / Section "Code"

Severity: error

Description: Paragraph block contains multiple sentences instead of one.

  • Current text:
The class `AMF_LSS_VAR` mentioned {ref}`above <amf_lss>` does all that we want to study our additive functional.

In fact, `AMF_LSS_VAR` does more
because it allows us to study  an associated multiplicative functional as well.

(A hint that it does more is the name of the class -- here AMF stands for
"additive and multiplicative functional" -- the code computes and displays objects associated with
multiplicative functionals too.)
  • Suggested fix:
The class `AMF_LSS_VAR` mentioned {ref}`above <amf_lss>` does all that we want to study our additive functional.

In fact, `AMF_LSS_VAR` does more because it allows us to study an associated multiplicative functional as well.

A hint that it does more is the name of the class, where AMF stands for "additive and multiplicative functional" and the code computes and displays objects associated with multiplicative functionals too.
  • Explanation: Separates sentences into distinct paragraphs and removes extra spaces.

Current text:

The class `AMF_LSS_VAR` mentioned {ref}`above <amf_lss>` does all that we want to study our additive functional.

In fact, `AMF_LSS_VAR` does more
because it allows us to study  an associated multiplicative functional as well.

(A hint that it does more is the name of the class -- here AMF stands for
"additive and multiplicative functional" -- the code computes and displays objects associated with
multiplicative functionals too.)

Suggested fix:

The class `AMF_LSS_VAR` mentioned {ref}`above <amf_lss>` does all that we want to study our additive functional.

In fact, `AMF_LSS_VAR` does more because it allows us to study an associated multiplicative functional as well.

A hint that it does more is the name of the class, where AMF stands for "additive and multiplicative functional" and the code computes and displays objects associated with multiplicative functionals too.

Explanation: Separates sentences into distinct paragraphs and removes extra spaces.


22. qe-writing-002 - Use one sentence per paragraph

Location: Line 923 / Section "Code"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
Let's use this code (embedded above) to explore the {ref}`example process described above <addfunc_eg1>`.
  • Suggested fix:
Let's use this code (embedded above) to explore the {ref}`example process described above <addfunc_eg1>`.
  • Explanation: This is already a single sentence, which is correct.

Current text:

Let's use this code (embedded above) to explore the {ref}`example process described above <addfunc_eg1>`.

Suggested fix:

Let's use this code (embedded above) to explore the {ref}`example process described above <addfunc_eg1>`.

Explanation: This is already a single sentence, which is correct.


23. qe-writing-002 - Use one sentence per paragraph

Location: Line 925-926 / Section "Code"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
If you run {ref}`the code that first simulated that example <addfunc_egcode>` again and then the method call
you will generate (modulo randomness) the plot
  • Suggested fix:
If you run {ref}`the code that first simulated that example <addfunc_egcode>` again and then the method call you will generate (modulo randomness) the plot shown below.
  • Explanation: Completes the sentence properly.

Current text:

If you run {ref}`the code that first simulated that example <addfunc_egcode>` again and then the method call
you will generate (modulo randomness) the plot

Suggested fix:

If you run {ref}`the code that first simulated that example <addfunc_egcode>` again and then the method call you will generate (modulo randomness) the plot shown below.

Explanation: Completes the sentence properly.


24. qe-writing-002 - Use one sentence per paragraph

Location: Line 933-936 / Section "Code"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
When we plot multiple realizations of a component in the 2nd, 3rd, and 4th panels, we also plot the population 95% probability coverage sets computed using the LinearStateSpace class.

We have chosen to simulate many paths, all starting from the *same* non-random initial conditions $x_0, y_0$ (you can tell this from the shape of the 95% probability coverage shaded areas).
  • Suggested fix:
When we plot multiple realizations of a component in the 2nd, 3rd, and 4th panels, we also plot the population 95% probability coverage sets computed using the LinearStateSpace class.

We have chosen to simulate many paths, all starting from the *same* non-random initial conditions $x_0, y_0$ (you can tell this from the shape of the 95% probability coverage shaded areas).
  • Explanation: These are already separate paragraphs, which is correct.

Current text:

When we plot multiple realizations of a component in the 2nd, 3rd, and 4th panels, we also plot the population 95% probability coverage sets computed using the LinearStateSpace class.

We have chosen to simulate many paths, all starting from the *same* non-random initial conditions $x_0, y_0$ (you can tell this from the shape of the 95% probability coverage shaded areas).

Suggested fix:

When we plot multiple realizations of a component in the 2nd, 3rd, and 4th panels, we also plot the population 95% probability coverage sets computed using the LinearStateSpace class.

We have chosen to simulate many paths, all starting from the *same* non-random initial conditions $x_0, y_0$ (you can tell this from the shape of the 95% probability coverage shaded areas).

Explanation: These are already separate paragraphs, which is correct.


25. qe-writing-002 - Use one sentence per paragraph

Location: Line 938-944 / Section "Code"

Severity: error

Description: Paragraph block contains multiple sentences instead of one.

  • Current text:
Notice tell-tale signs of these probability coverage shaded areas

* the purple one for the martingale component $m_t$ grows with
  $\sqrt{t}$
* the green one for the stationary component $s_t$ converges to a
  constant band
  • Suggested fix:
Notice tell-tale signs of these probability coverage shaded areas: the purple one for the martingale component $m_t$ grows with $\sqrt{t}$, while the green one for the stationary component $s_t$ converges to a constant band.
  • Explanation: Converts the list into a continuous sentence within a single paragraph.

Current text:

Notice tell-tale signs of these probability coverage shaded areas

* the purple one for the martingale component $m_t$ grows with
  $\sqrt{t}$
* the green one for the stationary component $s_t$ converges to a
  constant band

Suggested fix:

Notice tell-tale signs of these probability coverage shaded areas: the purple one for the martingale component $m_t$ grows with $\sqrt{t}$, while the green one for the stationary component $s_t$ converges to a constant band.

Explanation: Converts the list into a continuous sentence within a single paragraph.


26. qe-writing-002 - Use one sentence per paragraph

Location: Line 948-950 / Section "Associated multiplicative functional"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
Where $\{y_t\}$ is our additive functional, let $M_t = \exp(y_t)$.

As mentioned above, the process $\{M_t\}$ is called a **multiplicative functional**.
  • Suggested fix:
Where $\{y_t\}$ is our additive functional, let $M_t = \exp(y_t)$.

As mentioned above, the process $\{M_t\}$ is called a **multiplicative functional**.
  • Explanation: These are already separate paragraphs, which is correct.

Current text:

Where $\{y_t\}$ is our additive functional, let $M_t = \exp(y_t)$.

As mentioned above, the process $\{M_t\}$ is called a **multiplicative functional**.

Suggested fix:

Where $\{y_t\}$ is our additive functional, let $M_t = \exp(y_t)$.

As mentioned above, the process $\{M_t\}$ is called a **multiplicative functional**.

Explanation: These are already separate paragraphs, which is correct.


27. qe-writing-002 - Use one sentence per paragraph

Location: Line 952 / Section "Associated multiplicative functional"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
Corresponding to the additive decomposition described above we have a multiplicative decomposition of  $M_t$
  • Suggested fix:
Corresponding to the additive decomposition described above, we have a multiplicative decomposition of $M_t$ as shown in the following equation.
  • Explanation: Completes the sentence properly and removes extra space.

Current text:

Corresponding to the additive decomposition described above we have a multiplicative decomposition of  $M_t$

Suggested fix:

Corresponding to the additive decomposition described above, we have a multiplicative decomposition of $M_t$ as shown in the following equation.

Explanation: Completes the sentence properly and removes extra space.


28. qe-writing-002 - Use one sentence per paragraph

Location: Line 987-989 / Section "Associated multiplicative functional"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
An instance of class `AMF_LSS_VAR` ({ref}`above <amf_lss>`)  includes this associated multiplicative functional as an attribute.

Let's plot this multiplicative functional for our example.
  • Suggested fix:
An instance of class `AMF_LSS_VAR` ({ref}`above <amf_lss>`) includes this associated multiplicative functional as an attribute.

Let's plot this multiplicative functional for our example.
  • Explanation: These are already separate paragraphs; just removes extra spaces.

Current text:

An instance of class `AMF_LSS_VAR` ({ref}`above <amf_lss>`)  includes this associated multiplicative functional as an attribute.

Let's plot this multiplicative functional for our example.

Suggested fix:

An instance of class `AMF_LSS_VAR` ({ref}`above <amf_lss>`) includes this associated multiplicative functional as an attribute.

Let's plot this multiplicative functional for our example.

Explanation: These are already separate paragraphs; just removes extra spaces.


29. qe-writing-002 - Use one sentence per paragraph

Location: Line 991-992 / Section "Associated multiplicative functional"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
If you run {ref}`the code that first simulated that example <addfunc_egcode>` again and then the method call in the cell below you'll
obtain the graph in the next cell.
  • Suggested fix:
If you run {ref}`the code that first simulated that example <addfunc_egcode>` again and then the method call in the cell below, you'll obtain the graph in the next cell.
  • Explanation: Adds proper comma and fixes line break.

Current text:

If you run {ref}`the code that first simulated that example <addfunc_egcode>` again and then the method call in the cell below you'll
obtain the graph in the next cell.

Suggested fix:

If you run {ref}`the code that first simulated that example <addfunc_egcode>` again and then the method call in the cell below, you'll obtain the graph in the next cell.

Explanation: Adds proper comma and fixes line break.


30. qe-writing-002 - Use one sentence per paragraph

Location: Line 999-1003 / Section "Associated multiplicative functional"

Severity: error

Description: Paragraph block contains multiple sentences instead of one.

  • Current text:
As before, when we plotted multiple realizations of a component in the 2nd, 3rd, and 4th panels, we also plotted population 95% confidence bands computed using the LinearStateSpace class.

Comparing this figure and the last also helps show how geometric growth differs from
arithmetic growth.
  • Suggested fix:
As before, when we plotted multiple realizations of a component in the 2nd, 3rd, and 4th panels, we also plotted population 95% confidence bands computed using the LinearStateSpace class.

Comparing this figure and the last also helps show how geometric growth differs from arithmetic growth.
  • Explanation: These are already separate paragraphs, which is correct.

Current text:

As before, when we plotted multiple realizations of a component in the 2nd, 3rd, and 4th panels, we also plotted population 95% confidence bands computed using the LinearStateSpace class.

Comparing this figure and the last also helps show how geometric growth differs from
arithmetic growth.

Suggested fix:

As before, when we plotted multiple realizations of a component in the 2nd, 3rd, and 4th panels, we also plotted population 95% confidence bands computed using the LinearStateSpace class.

Comparing this figure and the last also helps show how geometric growth differs from arithmetic growth.

Explanation: These are already separate paragraphs, which is correct.


31. qe-writing-002 - Use one sentence per paragraph

Location: Line 1005-1008 / Section "Associated multiplicative functional"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
The top right panel of the above graph shows a panel of martingales associated with the panel of $M_t = \exp(y_t)$ that we have generated
for a limited horizon $T$.

It is interesting to how the martingale behaves as $T \rightarrow +\infty$.
  • Suggested fix:
The top right panel of the above graph shows a panel of martingales associated with the panel of $M_t = \exp(y_t)$ that we have generated for a limited horizon $T$.

It is interesting to see how the martingale behaves as $T \rightarrow +\infty$.
  • Explanation: Separates into distinct paragraphs and fixes grammatical error ("to how" should be "to see how").

Current text:

The top right panel of the above graph shows a panel of martingales associated with the panel of $M_t = \exp(y_t)$ that we have generated
for a limited horizon $T$.

It is interesting to how the martingale behaves as $T \rightarrow +\infty$.

Suggested fix:

The top right panel of the above graph shows a panel of martingales associated with the panel of $M_t = \exp(y_t)$ that we have generated for a limited horizon $T$.

It is interesting to see how the martingale behaves as $T \rightarrow +\infty$.

Explanation: Separates into distinct paragraphs and fixes grammatical error ("to how" should be "to see how").


32. qe-writing-002 - Use one sentence per paragraph

Location: Line 1014-1020 / Section "Peculiar large sample property"

Severity: error

Description: Paragraph block contains multiple sentences in a list format.

  • Current text:
Hansen and Sargent {cite}`Hans_Sarg_book` (ch. 8) describe the following two properties of the  martingale component
$\widetilde M_t$ of the multiplicative decomposition

* while $E_0 \widetilde M_t = 1$ for all $t \geq 0$,
  nevertheless $\ldots$
* as $t \rightarrow +\infty$, $\widetilde M_t$ converges to
  zero almost surely
  • Suggested fix:
Hansen and Sargent {cite}`Hans_Sarg_book` (ch. 8) describe the following two properties of the martingale component $\widetilde M_t$ of the multiplicative decomposition: while $E_0 \widetilde M_t = 1$ for all $t \geq 0$, nevertheless as $t \rightarrow +\infty$, $\widetilde M_t$ converges to zero almost surely.
  • Explanation: Converts the list into a continuous sentence and removes extra spaces.

Current text:

Hansen and Sargent {cite}`Hans_Sarg_book` (ch. 8) describe the following two properties of the  martingale component
$\widetilde M_t$ of the multiplicative decomposition

* while $E_0 \widetilde M_t = 1$ for all $t \geq 0$,
  nevertheless $\ldots$
* as $t \rightarrow +\infty$, $\widetilde M_t$ converges to
  zero almost surely

Suggested fix:

Hansen and Sargent {cite}`Hans_Sarg_book` (ch. 8) describe the following two properties of the martingale component $\widetilde M_t$ of the multiplicative decomposition: while $E_0 \widetilde M_t = 1$ for all $t \geq 0$, nevertheless as $t \rightarrow +\infty$, $\widetilde M_t$ converges to zero almost surely.

Explanation: Converts the list into a continuous sentence and removes extra spaces.


33. qe-writing-002 - Use one sentence per paragraph

Location: Line 1022-1024 / Section "Peculiar large sample property"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
The first property follows from the fact that $\widetilde M_t$ is a multiplicative martingale with initial condition
$\widetilde M_0 = 1$.

The second is a **peculiar property** noted and proved by Hansen and Sargent {cite}`Hans_Sarg_book`.
  • Suggested fix:
The first property follows from the fact that $\widetilde M_t$ is a multiplicative martingale with initial condition $\widetilde M_0 = 1$.

The second is a **peculiar property** noted and proved by Hansen and Sargent {cite}`Hans_Sarg_book`.
  • Explanation: These are already separate paragraphs, which is correct.

Current text:

The first property follows from the fact that $\widetilde M_t$ is a multiplicative martingale with initial condition
$\widetilde M_0 = 1$.

The second is a **peculiar property** noted and proved by Hansen and Sargent {cite}`Hans_Sarg_book`.

Suggested fix:

The first property follows from the fact that $\widetilde M_t$ is a multiplicative martingale with initial condition $\widetilde M_0 = 1$.

The second is a **peculiar property** noted and proved by Hansen and Sargent {cite}`Hans_Sarg_book`.

Explanation: These are already separate paragraphs, which is correct.


34. qe-writing-002 - Use one sentence per paragraph

Location: Line 1033-1037 / Section "Peculiar large sample property"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
The dotted line in the above graph is the mean $E \tilde M_t = 1$ of the martingale.

It remains constant at unity, illustrating the first property.

The purple 95 percent frequency coverage interval collapses around zero, illustrating the second property.
  • Suggested fix:
The dotted line in the above graph is the mean $E \tilde M_t = 1$ of the martingale.

It remains constant at unity, illustrating the first property.

The purple 95 percent frequency coverage interval collapses around zero, illustrating the second property.
  • Explanation: These are already separate paragraphs, which is correct.

Current text:

The dotted line in the above graph is the mean $E \tilde M_t = 1$ of the martingale.

It remains constant at unity, illustrating the first property.

The purple 95 percent frequency coverage interval collapses around zero, illustrating the second property.

Suggested fix:

The dotted line in the above graph is the mean $E \tilde M_t = 1$ of the martingale.

It remains constant at unity, illustrating the first property.

The purple 95 percent frequency coverage interval collapses around zero, illustrating the second property.

Explanation: These are already separate paragraphs, which is correct.


35. qe-writing-002 - Use one sentence per paragraph

Location: Line 1041-1044 / Section "More about the multiplicative martingale"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
Let's drill down and study probability distribution of the multiplicative martingale  $\{\widetilde M_t\}_{t=0}^\infty$  in
more detail.

As we  have seen, it has representation
  • Suggested fix:
Let's drill down and study probability distribution of the multiplicative martingale $\{\widetilde M_t\}_{t=0}^\infty$ in more detail.

As we have seen, it has the representation shown in the following equation.
  • Explanation: Separates into distinct paragraphs, removes extra spaces, and completes the sentence.

Current text:

Let's drill down and study probability distribution of the multiplicative martingale  $\{\widetilde M_t\}_{t=0}^\infty$  in
more detail.

As we  have seen, it has representation

Suggested fix:

Let's drill down and study probability distribution of the multiplicative martingale $\{\widetilde M_t\}_{t=0}^\infty$ in more detail.

As we have seen, it has the representation shown in the following equation.

Explanation: Separates into distinct paragraphs, removes extra spaces, and completes the sentence.


36. qe-writing-002 - Use one sentence per paragraph

Location: Line 1052 / Section "More about the multiplicative martingale"

Severity: error

Description: Paragraph block contains two sentences instead of one.

  • Current text:
It follows that $\log {\widetilde M}_t \sim {\mathcal N} ( -\frac{t H \cdot H}{2}, t H \cdot H )$ and that consequently ${\widetilde M}_t$ is log normal.
  • Suggested fix:
It follows that $\log {\widetilde M}_t \sim {\mathcal N} ( -\frac{t H \cdot H}{2}, t H \cdot H )$ and consequently ${\widetilde M}_t$ is log normal.
  • Explanation: Simplifies the sentence structure by removing "that" redundancy.

Current text:

It follows that $\log {\widetilde M}_t \sim {\mathcal N} ( -\frac{t H \cdot H}{2}, t H \cdot H )$ and that consequently ${\widetilde M}_t$ is log normal.

Suggested fix:

It follows that $\log {\widetilde M}_t \sim {\mathcal N} ( -\frac{t H \cdot H}{2}, t H \cdot H )$ and consequently ${\widetilde M}_t$ is log normal.

Explanation: Simplifies the sentence structure by removing "that" redundancy.


37. qe-writing-002 - Use one sentence per paragraph

Location: Line 1056-1060 / Section "Simulating a multiplicative martingale again"

Severity: error

Description: Paragraph block contains multiple sentences instead of one.

  • Current text:
Next, we want a program to simulate the likelihood ratio process $\{ \tilde{M}_t \}_{t=0}^\infty$.

In particular, we want to simulate 5000 sample paths of length $T$ for the case in which $x$ is a scalar and
$[A, B, D, F] = [0.8, 0.001, 1.0, 0.01]$ and $\nu = 0.005$.

After accomplishing this, we want to display and study histograms of $\tilde{M}_T^i$ for various values of  $T$.
  • Suggested fix:
Next, we want a program to simulate the likelihood ratio process $\{ \tilde{M}_t \}_{t=0}^\infty$.

In particular, we want to simulate 5000 sample paths of length $T$ for the case in which $x$ is a scalar and $[A, B, D, F] = [0.8, 0.001, 1.0, 0.01]$ and $\nu = 0.005$.

After accomplishing this, we want to display and study histograms of $\tilde{M}_T^i$ for various values of $T$.
  • Explanation: These are already separate paragraphs; just removes extra spaces.

Current text:

Next, we want a program to simulate the likelihood ratio process $\{ \tilde{M}_t \}_{t=0}^\infty$.

In particular, we want to simulate 5000 sample paths of length $T$ for the case in which $x$ is a scalar and
$[A, B, D, F] = [0.8, 0.001, 1.0, 0.01]$ and $\nu = 0.005$.

After accomplishing this, we want to display and study histograms of $\tilde{M}_T^i$ for various values of  $T$.

Suggested fix:

Next, we want a program to simulate the likelihood ratio process $\{ \tilde{M}_t \}_{t=0}^\infty$.

In particular, we want to simulate 5000 sample paths of length $T$ for the case in which $x$ is a scalar and $[A, B, D, F] = [0.8, 0.001, 1.0, 0.01]$ and $\nu = 0.005$.

After accomplishing this, we want to display and study histograms of $\tilde{M}_T^i$ for various values of $T$.

Explanation: These are already separate paragraphs; just removes extra spaces.


38. qe-writing-002 - Use one sentence per paragraph

Location: Line 1228-1236 / Section "Multiplicative martingale as likelihood ratio process"

Severity: error

Description: Paragraph block contains multiple sentences instead of one.

  • Current text:
These probability density functions help us understand mechanics underlying the  **peculiar property** of our multiplicative martingale

* As $T$ grows, most of the probability mass shifts leftward toward zero.
* For example, note that most  mass is near $1$ for $T =10$ or $T = 100$ but
  most of it is near $0$ for $T = 5000$.
* As $T$ grows, the tail of the density of $\widetilde M_T$ lengthens toward the right.
* Enough mass moves toward the right tail to keep $E \widetilde M_T = 1$
  even as most mass in the distribution of $\widetilde M_T$ collapses around $0$.
  • Suggested fix:
These probability density functions help us understand mechanics underlying the **peculiar property** of our multiplicative martingale.

As $T$ grows, most of the probability mass shifts leftward toward zero.

For example, note that most mass is near $1$ for $T =10$ or $T = 100$ but most of it is near $0$ for $T = 5000$.

As $T$ grows, the tail of the density of $\widetilde M_T$ lengthens toward the right.

Enough mass moves toward the right tail to keep $E \widetilde M_T = 1$ even as most mass in the distribution of $\widetilde M_T$ collapses around $0$.
  • Explanation: Separates each sentence into its own paragraph and removes extra spaces.

Current text:

These probability density functions help us understand mechanics underlying the  **peculiar property** of our multiplicative martingale

* As $T$ grows, most of the probability mass shifts leftward toward zero.
* For example, note that most  mass is near $1$ for $T =10$ or $T = 100$ but
  most of it is near $0$ for $T = 5000$.
* As $T$ grows, the tail of the density of $\widetilde M_T$ lengthens toward the right.
* Enough mass moves toward the right tail to keep $E \widetilde M_T = 1$
  even as most mass in the distribution of $\widetilde M_T$ collapses around $0$.

Suggested fix:

These probability density functions help us understand mechanics underlying the **peculiar property** of our multiplicative martingale.

As $T$ grows, most of the probability mass shifts leftward toward zero.

For example, note that most mass is near $1$ for $T =10$ or $T = 100$ but most of it is near $0$ for $T = 5000$.

As $T$ grows, the tail of the density of $\widetilde M_T$ lengthens toward the right.

Enough mass moves toward the right tail to keep $E \widetilde M_T = 1$ even as most mass in the distribution of $\widetilde M_T$ collapses around $0$.

Explanation: Separates each sentence into its own paragraph and removes extra spaces.


Copy link

netlify bot commented Oct 10, 2025

Deploy Preview for lustrous-melomakarona-3ee73e ready!

Name Link
🔨 Latest commit 6882dcb
🔍 Latest deploy log https://app.netlify.com/projects/lustrous-melomakarona-3ee73e/deploys/68e8c7f95458eb0008ab9693
😎 Deploy Preview https://deploy-preview-279--lustrous-melomakarona-3ee73e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mmcky mmcky closed this Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant