From 03cb9894c558fceafc0c537202551ac8122f2887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Argos=29?= <stepan@adjemian.eu> Date: Mon, 4 Mar 2024 10:40:01 +0100 Subject: [PATCH] Fix description of the horizon option for var_expectation_model command. --- doc/manual/source/the-model-file.rst | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst index 99ec3998d4..0f79c48d70 100644 --- a/doc/manual/source/the-model-file.rst +++ b/doc/manual/source/the-model-file.rst @@ -14556,9 +14556,9 @@ Finite discounted sums can also be considered. .. math :: - \sum_{h=a}^b \mathbb \beta^{h-\tau}\mathbb E[y_{t+h}|\mathcal{Y}_{\underline{t-\tau}}] + \sum_{h=a}^b \beta^{h-\tau}\mathbb E[y_{t+h}|\mathcal{Y}_{\underline{t-\tau}}] - where :math:`(a,b)\in\mathbb N^2` with :math:`a<b`, :math:`\beta\in(0,1]` is a discount factor, + where :math:`(a,b)\in\mathbb N^2` with :math:`a<b` and :math:`a<\infty`, :math:`\beta\in(0,1]` is a discount factor, and :math:`\tau` is a finite positive integer. *Options* @@ -14581,14 +14581,19 @@ Finite discounted sums can also be considered. .. option:: horizon = INTEGER | [INTEGER:INTEGER] - The upper limit :math:`b` of the horizon :math:`h` (in which case :math:`a=0`), or range of periods - :math:`a:b` over which the discounted sum is computed (the upper bound can be ``Inf``). + If the value of ``horizon`` is a finite integer scalar, the following expectation is computed: + + .. math :: + + \beta^{h-\tau}\mathbb E[y_{t+h}|\mathcal{Y}_{\underline{t-\tau}}] + + + otherwise the value is a range of periods :math:`a:b` over which the expected discounted sum is computed (the upper bound can be ``Inf``). .. option:: time_shift = INTEGER Shift of the information set (:math:`\tau`), default value is 0. - .. operator:: var_expectation (NAME_OF_VAR_EXPECTATION_MODEL); |br| This operator is used instead of a leaded variable, e.g. ``X(1)``, in the -- GitLab