<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>Financial Risk Forecasting - Errata</title>
    <subtitle>Market risk forecasting with R, Julia, Python and Matlab. Code, lecture slides, implementation notes, seminar assignments and questions.</subtitle>
    <link rel="self" type="application/atom+xml" href="https://www.financialriskforecasting.com/errata/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2022-10-18T00:00:00+00:00</updated>
    <id>https://www.financialriskforecasting.com/errata/atom.xml</id>
    <entry xml:lang="en">
        <title>Figure 1.3</title>
        <published>2022-10-18T00:00:00+00:00</published>
        <updated>2022-10-18T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/figure10/"/>
        <id>https://www.financialriskforecasting.com/errata/figure10/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/figure10/">&lt;p&gt;My FM442 student Jingxuan Chen pointed out that the reference in the first line of the second paragraph on page 10 is not quite correct. It says Figure 1.1 but refers to Figure 1.3 on the same page.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Tail index in dependent data</title>
        <published>2019-03-28T00:00:00+00:00</published>
        <updated>2019-03-28T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/tail-dependence/"/>
        <id>https://www.financialriskforecasting.com/errata/tail-dependence/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/tail-dependence/">&lt;p&gt;Antonella Altamura and Marco Bee spotted that the language of the discussion on tail index for ARCH type data was not correct. It said that&lt;&#x2F;p&gt;
&lt;p&gt;\begin{equation*}
\Gamma(\iota&#x2F;2+1&#x2F;2)=\sqrt{\pi}(2\alpha)^{-\iota&#x2F;2}
\end{equation*}
was  the unconditional
distribution of \( Y \) which of course does not make sense.&lt;&#x2F;p&gt;
&lt;p&gt;Instead it should say that  the value of \(\iota\) can be found by solving for \(\iota\) in the equation.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Arch kurtosis</title>
        <published>2018-01-28T00:00:00+00:00</published>
        <updated>2018-01-28T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/arch-kurtosis/"/>
        <id>https://www.financialriskforecasting.com/errata/arch-kurtosis/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/arch-kurtosis/">&lt;p&gt;Stefano Soccorsi pointed out that the one of the Kurtosis equations on page 37 is wrong. The rest of of it is correct, as is the final Kurtosis value. The typo was in the second equation below:&lt;p&gt;&lt;&#x2F;p&gt;
&lt;p&gt;\begin{align*}
E(Y^4) &amp;amp;= 3 E\left(\left(\omega+\alpha Y_{t-1}^2\right)^2\right) \
&amp;amp;= 3 \omega^2+ 6\alpha \omega E(Y^2)+3 \alpha^2 E(Y^4)\
&amp;amp;= 3 \omega^2+ 6\alpha \omega \frac{\omega}{1-\alpha}+3 \alpha^2 E(Y^4)\
\end{align*}&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Sequential moments</title>
        <published>2018-01-22T00:00:00+00:00</published>
        <updated>2018-01-22T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/sequential-moments/"/>
        <id>https://www.financialriskforecasting.com/errata/sequential-moments/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/sequential-moments/">&lt;p&gt;Stefano Soccorsi pointed out that the sequential moments equation on page 19 is wrong. It should be:&lt;p&gt;&lt;&#x2F;p&gt;
&lt;p&gt;\begin{equation*}
\frac{1}{t}\sum\limits_{i=1}^{t}x_i^m.
\end{equation*}&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Testing the independence of violations, Section 8.3.2 p. 155-6</title>
        <published>2017-12-27T00:00:00+00:00</published>
        <updated>2017-12-27T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/Independence-of-violations/"/>
        <id>https://www.financialriskforecasting.com/errata/Independence-of-violations/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/Independence-of-violations/">&lt;p&gt;My FM320 students Hongshen Chen,  Yida Li and Yanfei Zhou pointed out that the discussion in Section 8.3.2 could be more clear, so I repeat the relevant parts of the section here with more clarifications. &lt;p&gt;&lt;&#x2F;p&gt;
&lt;p&gt;We  need to calculate the probabilities of two consecutive violations, \(p_{11}\), as well the probability of a violation, if there was no violation on the previous day, i.e.  \(p_{01}\). More generally, where \(i\) and \(j\) are either 0 or 1:
\begin{equation*}
p_{ij}=\Pr \left( \eta_{t}=j|\eta_{t-1}=i\right).
\end{equation*}
The violation process can be represented as a Markov chain with two states, so the first order transition probability matrix is defined as:
\begin{equation*}
\Pi_1=\left(
\begin{array}{cc}
1-p_{01} &amp;amp; p_{01} \
1-p_{11} &amp;amp; p_{11}
\end{array}
\right) .
\end{equation*}
The likelihood function is:
\begin{equation}
L_1(\Pi_1)  =\left( 1-p_{01}\right) ^{v_{00}}p_{01}^{v_{01}}\left( 1-p_{11}\right) ^{v_{10}}p_{11}^{v_{11}} \tag{8.5}\label{eq:risk2:lik:bt:int}
\end{equation}
where \(v_{ij}\) is the  number of observations where \(j\) follows \(i\).&lt;&#x2F;p&gt;
&lt;p&gt;
The maximum likelihood (ML) estimates are obtained by maximizing the likelihood function  which is simple since the parameters are the ratios of the counts of the outcomes:
\begin{gather*}
	\hat{\Pi}_{1}=
	\begin{pmatrix}
		\frac{v_{00}}{v_{00}+v_{01}} &amp; \frac{v_{01}}{v_{00}+v_{01}} \\\\[-2mm]
		\frac{v_{10}}{v_{10}+v_{11}} &amp; \frac{v_{11}}{v_{10}+v_{11}} \\ 
	\end{pmatrix} .
\end{gather*}
Under the null hypothesis of no clustering, the probability of a violation tomorrow does not depend on today being a violation, then \\(p_{01}=p_{11}=p\\)  and the  transition matrix is simply:
\begin{align*}
	\Pi_{2} &amp; =\left( 
	\begin{array}{cc}
		1-p &amp; p \\
		1-p &amp; p 
	\end{array}
	\right)
\end{align*}
and the ML estimate is:
\[		\hat{p}  =\frac{v_{01}+v_{11}}{v_{00}+v_{10}+v_{01}+v_{11}}.
\]
so
\begin{align*}
	\hat{\Pi}_{2} &amp; =\left( 
	\begin{array}{cc}
		1-\hat{p} &amp; \hat{p} \\
		1-\hat{p} &amp; \hat{p} 
	\end{array}
	\right)
\end{align*}
&lt;p&gt;	
The likelihood function then is
\begin{equation}
	L_2(\Pi_2)  =\left( 1-p\right) ^{v_{00}+v_{10}} p^{v_{01}+v_{11}} .\tag{8.6} \label{eq:risk2:lik:bt:int2} 
\end{equation}
&lt;p&gt;
Note in \eqref{eq:risk2:lik:bt:int2} we impose independence but do not in \eqref{eq:risk2:lik:bt:int}. Replace the \\(\Pi\\) by the estimated numbers, \\(\hat{\Pi}\\). The LR test is then:
\begin{equation*}
	LR=2\left( \log L_1\left( \hat{\Pi}_{1}\right)  -\log  L_2\left( \hat{\Pi}_{2}\right) \right) \overset{\rm asymptotic}{\sim}\chi _{\left( 1\right) }^{2}. 
\end{equation*}
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Example 4.4</title>
        <published>2017-05-16T00:00:00+00:00</published>
        <updated>2017-05-16T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/example-4.4/"/>
        <id>https://www.financialriskforecasting.com/errata/example-4.4/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/example-4.4/">&lt;p&gt;Example 4.4 could be more clear, it is not strictly wrong, but could be better, i.e. have weights on the right side of the inequality, i.e.&lt;&#x2F;p&gt;
&lt;p&gt;$$
VaR^{5\%}(0.5 X+ 0.5 Y) \approx 50 &amp;gt; 0.5 VaR^{5\%}(X) + 0.5 VaR^{5\%}(Y) = 0+0.
$$&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Example 4.5</title>
        <published>2016-10-30T00:00:00+00:00</published>
        <updated>2016-10-30T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/example-4.5/"/>
        <id>https://www.financialriskforecasting.com/errata/example-4.5/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/example-4.5/">&lt;p&gt;My FM320 student Emily Wong spotted a typo in line 3, Example 4.5. The VaRs in the equation are missing a minus, and should be
$$ 0 &amp;gt; - VaR_1 &amp;gt; -VaR_0$$&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>E and ES and Q</title>
        <published>2015-06-17T00:00:00+00:00</published>
        <updated>2015-06-17T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/Q-ES/"/>
        <id>https://www.financialriskforecasting.com/errata/Q-ES/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/Q-ES/">&lt;p&gt;My FM320 student and summer intern Yiying Zhong spotted a typo in Chapter 4 page 86. The ES equation at the bottom of the page says
$$ ES = - [Q|Q \le -VaR(p)]$$
but is missing the expectation
$$ ES = - E[Q|Q \le -VaR(p)]$$&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Listings 3.3, 3.4</title>
        <published>2015-03-19T00:00:00+00:00</published>
        <updated>2015-03-19T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/listings-3-3-3-4/"/>
        <id>https://www.financialriskforecasting.com/errata/listings-3-3-3-4/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/listings-3-3-3-4/">&lt;p&gt;It had been pointed out that Listings 3.3, 3.4 might be better if they had  y[i-1]  inside the loop. It is not wrong as it is, but this is better&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>few issues</title>
        <published>2015-02-05T00:00:00+00:00</published>
        <updated>2015-02-05T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/few-issues/"/>
        <id>https://www.financialriskforecasting.com/errata/few-issues/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/few-issues/">&lt;p&gt;My FM447 student Gevorg Saakyan pointed out a few typos&lt;&#x2F;p&gt;
&lt;p&gt;The tail index on page 1 uses the letter \(t\) where it  should use \(\iota\).&lt;&#x2F;p&gt;
&lt;p&gt;Chapter 1, page 8. The date in the code comment does not correspond to the date in the code.&lt;&#x2F;p&gt;
&lt;p&gt;Chapter 8.2 Backtesting the S&amp;amp;P 500, pages 147-148. The dates in the text do not correspond with the dates in the code, the code should use February 2, this means that the  number of observations is not 4000.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Table 2.2</title>
        <published>2014-05-19T00:00:00+00:00</published>
        <updated>2014-05-19T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/table-2-2/"/>
        <id>https://www.financialriskforecasting.com/errata/table-2-2/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/table-2-2/">&lt;p&gt;My Fm320 student, Chetan Varsani, noted that it might be better to reverse the first line of the table, i.e. ARCH(1) and ARCH(4)&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Listings 8.9 to 8.12</title>
        <published>2013-05-12T00:00:00+00:00</published>
        <updated>2013-05-12T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/listings-8-9-to-8-12/"/>
        <id>https://www.financialriskforecasting.com/errata/listings-8-9-to-8-12/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/listings-8-9-to-8-12/">&lt;p&gt;the code in Listings 8.9 to 8.12 is correct, but it can have numerical problems when sample size is large. It is better to do the code in logs.  Here is Listing 8.9 with that alternative, and it would be straightforward to do same adjustment to the other 3.&lt;&#x2F;p&gt;
&lt;pre class=&quot;giallo&quot; style=&quot;color: #24292E; background-color: #FFFFFF;&quot;&gt;&lt;code data-lang=&quot;r&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;bern_test&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;=function&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;p&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;,&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;){&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;# calculation with numerical problems when sample size is large&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;	a&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;=&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;p&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;^&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;sum&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;))&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;*&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #005CC5;&quot;&gt;1&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;p&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;^&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;length&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;sum&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;))&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;	b&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;=&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;sum&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;&#x2F;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;length&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;))&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;^&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;sum&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;))&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;*&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #005CC5;&quot;&gt;1&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;sum&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;&#x2F;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;length&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;)))&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;^&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;length&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;sum&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;))&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;#	return(-2*log(a&#x2F;b))&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;# more stable calculation when sample size is large&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;	lv&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;=&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;length&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;	sv&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;=&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;sum&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;v&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;	al&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;=&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;log&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;p&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;*&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;sv&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;+&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;log&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #005CC5;&quot;&gt;1&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;p&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;*&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;lv&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;sv&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;	bl&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;=&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;log&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;sv&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;&#x2F;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;lv&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;*&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;sv&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt; +&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;log&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #005CC5;&quot;&gt;1&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;sv&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;&#x2F;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;lv&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;*&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;lv&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;sv&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;	return&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span style=&quot;color: #005CC5;&quot;&gt;2&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;*&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;al&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;bl&lt;&#x2F;span&gt;&lt;span&gt;))&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;}&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Section 8.3.2</title>
        <published>2013-05-06T00:00:00+00:00</published>
        <updated>2013-05-06T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/section-8-3-2/"/>
        <id>https://www.financialriskforecasting.com/errata/section-8-3-2/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/section-8-3-2/">&lt;p&gt;Gian Giacomo pointed our that the likelihoods in the independence discussion are mislabeled, so restricted is unrestricted, and vice versa.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Figure 8.1</title>
        <published>2013-04-20T00:00:00+00:00</published>
        <updated>2013-04-20T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/figure-8-1/"/>
        <id>https://www.financialriskforecasting.com/errata/figure-8-1/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/figure-8-1/">&lt;p&gt;My FM320 student Chi Li spotted yet another problem in the cursed  Figure 8.1, where MW should be MA.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>More on ES for the normal</title>
        <published>2013-04-20T00:00:00+00:00</published>
        <updated>2013-04-20T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/more-on-es-for-the-normal/"/>
        <id>https://www.financialriskforecasting.com/errata/more-on-es-for-the-normal/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/more-on-es-for-the-normal/">&lt;p&gt;My FM320 student Richard Dunn spotted that second equation under section 5.3.4 is missing a minus in front.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>page 189, endogenous price section</title>
        <published>2013-04-20T00:00:00+00:00</published>
        <updated>2013-04-20T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/page-189-endogenous-price-section/"/>
        <id>https://www.financialriskforecasting.com/errata/page-189-endogenous-price-section/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/page-189-endogenous-price-section/">&lt;p&gt;My FM320 student Richard Dunn spotted that below the equation the \(\Delta P\) was incorrectly defined. It should be:
$$\Delta P_2=P_2-P_1$$&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>page 48.</title>
        <published>2013-04-20T00:00:00+00:00</published>
        <updated>2013-04-20T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/page-48/"/>
        <id>https://www.financialriskforecasting.com/errata/page-48/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/page-48/">&lt;p&gt;My FM320 student Chi Li spotted that  section 2.6.4 second paragraph, last sentence: This is consistent with the residual analysis in Table 2.4. This should instead be Table 2.5.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Table 8.3 and 8.4</title>
        <published>2013-04-20T00:00:00+00:00</published>
        <updated>2013-04-20T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/table-8-3-and-8-4/"/>
        <id>https://www.financialriskforecasting.com/errata/table-8-3-and-8-4/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/table-8-3-and-8-4/">&lt;p&gt;My FM320 students Jocelyn Tete and Chi Li independently spotted incorrect references where the reference to the four VaR models reported in Table 8.2&#x2F;8.3 should have been 8.1 and 8.2 instead.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>page 90</title>
        <published>2012-11-08T00:00:00+00:00</published>
        <updated>2012-11-08T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/page-90/"/>
        <id>https://www.financialriskforecasting.com/errata/page-90/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/page-90/">&lt;p&gt;my FM320 student Richard Dunn  spotted a typo on page 90. The 10th word on the 5th line should be ‘variance’ instead of ’variable&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>page 44, 149</title>
        <published>2012-06-14T00:00:00+00:00</published>
        <updated>2012-06-14T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/376/"/>
        <id>https://www.financialriskforecasting.com/errata/376/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/376/">&lt;p&gt;My FM320 student Alexander Stampfer found a number of small typos&lt;&#x2F;p&gt;
&lt;p&gt;The last  paragraph ion page 44 “ The restricted log-likelihood minus the unrestricted log-likelihood” which should be reversed.&lt;&#x2F;p&gt;
&lt;p&gt;Page 149.  There is a bracket missing in the Matlab code in the very last line of the page for EWMA&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>4 and 20 on page 96</title>
        <published>2012-06-09T00:00:00+00:00</published>
        <updated>2012-06-09T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/4-and-20-on-page-96/"/>
        <id>https://www.financialriskforecasting.com/errata/4-and-20-on-page-96/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/4-and-20-on-page-96/">&lt;p&gt;My FM320 student Akash Jhunjhunwala points out that on  page 96, the last line on the first paragraph, the 1% and 5% levels corresponds to the 4th and 20th values respectively, not the 5th and 25th as suggested in the brackets.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>LR ratio in (8.4) page 154</title>
        <published>2012-06-05T00:00:00+00:00</published>
        <updated>2012-06-05T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/lr-ratio-in-8-4-page-154/"/>
        <id>https://www.financialriskforecasting.com/errata/lr-ratio-in-8-4-page-154/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/lr-ratio-in-8-4-page-154/">&lt;p&gt;My FM320 student, Bide Liu, spotted that the LR test in (8.4) has the wrong order in the first line. Should be unrestricted - the restricted, i.e. something like
$$ LR=2(\log L_U (\hat{p})- \log L_R (p)) $$&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>\(p_{ij}\) and \(p_{ji}\) bottom of page 155</title>
        <published>2012-06-05T00:00:00+00:00</published>
        <updated>2012-06-05T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/pij-and-pji-bottom-of-page-155/"/>
        <id>https://www.financialriskforecasting.com/errata/pij-and-pji-bottom-of-page-155/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/pij-and-pji-bottom-of-page-155/">&lt;p&gt;My FM320 student, Bide Liu, spotted that I should have \(p_{ji}\) and not \(p_{ij}\) in the penultimate equation on page 155. It should read like
$$p_{ji}= \Pr (\eta_t=i | \eta_{t-1} = j)$$&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>standard deviation not variance on page 44</title>
        <published>2012-06-05T00:00:00+00:00</published>
        <updated>2012-06-05T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/standard-deviation-not-variance-on-page-44/"/>
        <id>https://www.financialriskforecasting.com/errata/standard-deviation-not-variance-on-page-44/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/standard-deviation-not-variance-on-page-44/">&lt;p&gt;My FM320 student Amith Bhattacharyya spotted that on the penultimate line on page 42 standard deviation should replace variance.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Var(WE+1) and not Var(WT+1) on page 144</title>
        <published>2012-06-05T00:00:00+00:00</published>
        <updated>2012-06-05T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/varwe1-and-not-varwt1-on-page-144/"/>
        <id>https://www.financialriskforecasting.com/errata/varwe1-and-not-varwt1-on-page-144/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/varwe1-and-not-varwt1-on-page-144/">&lt;p&gt;My class teacher Marcela Valenzuela and Ehsan Ramezanifar, University of Tehran, both spotted a typo in the middle of page 144, where the subscript T should be E.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>example 4.3</title>
        <published>2011-11-16T00:00:00+00:00</published>
        <updated>2011-11-16T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/example-4-3/"/>
        <id>https://www.financialriskforecasting.com/errata/example-4-3/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/example-4-3/">&lt;p&gt;My FM320 student Daniel Payne pointed out that in example 4.3 in third line from the bottom the subscript on the weight is wrong, its right in the preceding line, so in both cases it should be:$$ (w_X \sigma_X + w_Y \sigma_Y)^2$$&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>page 85 ( and not [</title>
        <published>2011-11-16T00:00:00+00:00</published>
        <updated>2011-11-16T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/page-85-and-not/"/>
        <id>https://www.financialriskforecasting.com/errata/page-85-and-not/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/page-85-and-not/">&lt;p&gt;My MF320 student Ken Starling pointed out that in the penultimate line on page 85 the left side of the interval should be ( since infinity is not included, so $$ (- \infty ,-VaR(p)] $$&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>vol and mean numbers page 104</title>
        <published>2011-11-16T00:00:00+00:00</published>
        <updated>2011-11-16T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/vol-and-mean-numbers-page-104/"/>
        <id>https://www.financialriskforecasting.com/errata/vol-and-mean-numbers-page-104/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/vol-and-mean-numbers-page-104/">&lt;p&gt;My MF320 student Ken Starling pointed out that I refer to Table 1.2 on page 104, but cite different numbers, so instead of  0.021% and 1.1%  for mean and vol, use 0.019% and 1.16%.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Wrong word order on page 44</title>
        <published>2011-10-26T00:00:00+00:00</published>
        <updated>2011-10-26T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/wrong-word-order-on-page-44/"/>
        <id>https://www.financialriskforecasting.com/errata/wrong-word-order-on-page-44/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/wrong-word-order-on-page-44/">&lt;p&gt;My FM320 student Daniel Payne pointed out that  the words restricted and unrestricted are reversed on the bottom of page 44. It should read:
“The unrestricted log-likelihood minus the restricted log-likelihood”&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>3rd equation from the bottom on page 38</title>
        <published>2011-10-22T00:00:00+00:00</published>
        <updated>2011-10-22T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/3rd-equation-from-the-bottom-on-page-38/"/>
        <id>https://www.financialriskforecasting.com/errata/3rd-equation-from-the-bottom-on-page-38/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/3rd-equation-from-the-bottom-on-page-38/">&lt;p&gt;My FM320 student Ken Starling pointed out a missing +  in the 3rd equation from the bottom on page 38, it should be
$$\sigma^2= E(\omega+\alpha Y_{t-1}^2 +\beta \sigma_{t-1}^2) =\omega+\alpha \sigma^2 +\beta \sigma^2.
$$&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Equation on top of page 37</title>
        <published>2011-10-22T00:00:00+00:00</published>
        <updated>2011-10-22T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/equation-on-top-of-page-37/"/>
        <id>https://www.financialriskforecasting.com/errata/equation-on-top-of-page-37/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/equation-on-top-of-page-37/">&lt;p&gt;My FM320 student Yong Bin Ng pointed out a typo in the equation on top of page 37. It should be:$$
E(Y^4)=3E\left[(\omega+\alpha Y_{t-1}^2)^2\right]=3(\omega^2+2\alpha \omega \sigma^2 + \alpha^2 E(Y^4))$$&lt;&#x2F;p&gt;
&lt;p&gt;Also, in case you were wondering how to derive the equation we use previous results on page 36, independence of Y’s and Z and properties of the normal distribution, and it’s done as follows.
\begin{aligned}
E(Y^4)&amp;amp;=E(Y_t^4)\
&amp;amp;=E(\sigma_t^4 Z_t^4)\
&amp;amp;=E(\sigma_t^4)E(Z_t^4)\
&amp;amp;=E(\sigma_t^4)3(E(Z_t^2))^2\
&amp;amp;=3E((\sigma_t^2)^2)\
&amp;amp;=3E\left[(\omega+\alpha Y_{t-1}^2)^2\right]\
&amp;amp;=3(\omega^2+2\alpha \omega \sigma^2 + \alpha^2 E(Y_{t-1}^4))\
&amp;amp;=3\omega^2+6\alpha \omega \sigma^2 + 3\alpha^2 E(Y^4)\
&amp;amp;=3\omega^2+6\alpha \omega \frac{\omega}{1-\alpha} + 3\alpha^2 E(Y^4)
\end{aligned}
then,&lt;&#x2F;p&gt;
&lt;p&gt;$$
E(Y^4)(1-3\alpha^2)(1-\alpha) =3\omega^2(1-\alpha)+6\alpha \omega^2
$$&lt;&#x2F;p&gt;
&lt;p&gt;and
$$
E(Y^4)=\frac{3\omega^2(1+\alpha)}{(1-3\alpha^2)(1-\alpha)}
$$&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Multiperiod volatility</title>
        <published>2011-10-22T00:00:00+00:00</published>
        <updated>2011-10-22T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/multiperiod-volatility/"/>
        <id>https://www.financialriskforecasting.com/errata/multiperiod-volatility/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/multiperiod-volatility/">&lt;p&gt;My FM320 student Dominic Clark pointed out that I could have been more clear on page 39 in the last text paragraph. Its not wrong, but a better way is:&lt;&#x2F;p&gt;
&lt;p&gt;where \( E_t(Y^2_{t+1})\) indicates volatility…&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Table 1.5</title>
        <published>2011-10-22T00:00:00+00:00</published>
        <updated>2011-10-22T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/table-1-5/"/>
        <id>https://www.financialriskforecasting.com/errata/table-1-5/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/table-1-5/">&lt;p&gt;My FM320 student Han Wang pointed out that Table 1.5 is not right. It is supposed to have a two tailed probability of outcomes, but the %1 number is 1-the one tailed prob, and the rest are one tailed. So, here are the correct numbers. Set the volatility to 1.16 as per Table 1.2, and get&lt;&#x2F;p&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1%&lt;&#x2F;td&gt;
&lt;td&gt;0.3886496&lt;&#x2F;td&gt;
&lt;&#x2F;tr&gt;
&lt;tr&gt;
&lt;td&gt;2%&lt;&#x2F;td&gt;
&lt;td&gt;0.08468295&lt;&#x2F;td&gt;
&lt;&#x2F;tr&gt;
&lt;tr&gt;
&lt;td&gt;3%&lt;&#x2F;td&gt;
&lt;td&gt;0.009703866&lt;&#x2F;td&gt;
&lt;&#x2F;tr&gt;
&lt;tr&gt;
&lt;td&gt;5%&lt;&#x2F;td&gt;
&lt;td&gt;1.630002e-05&lt;&#x2F;td&gt;
&lt;&#x2F;tr&gt;
&lt;tr&gt;
&lt;td&gt;15%&lt;&#x2F;td&gt;
&lt;td&gt;3.007448e-38&lt;&#x2F;td&gt;
&lt;&#x2F;tr&gt;
&lt;tr&gt;
&lt;td&gt;23%&lt;&#x2F;td&gt;
&lt;td&gt;1.721029e-87&lt;&#x2F;td&gt;
&lt;&#x2F;tr&gt;
&lt;&#x2F;tbody&gt;
&lt;&#x2F;table&gt;
with the R code to do the calculation
&lt;pre class=&quot;giallo&quot; style=&quot;color: #24292E; background-color: #FFFFFF;&quot;&gt;&lt;code data-lang=&quot;r&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #005CC5;&quot;&gt;2&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;*&lt;&#x2F;span&gt;&lt;span style=&quot;color: #6F42C1;&quot;&gt;pnorm&lt;&#x2F;span&gt;&lt;span&gt;(&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;-&lt;&#x2F;span&gt;&lt;span style=&quot;color: #005CC5;&quot;&gt;23&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;,&lt;&#x2F;span&gt;&lt;span style=&quot;color: #E36209;&quot;&gt;sd&lt;&#x2F;span&gt;&lt;span style=&quot;color: #D73A49;&quot;&gt;=&lt;&#x2F;span&gt;&lt;span style=&quot;color: #005CC5;&quot;&gt;1.16&lt;&#x2F;span&gt;&lt;span&gt;)&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Figure 8.1 backtesting</title>
        <published>2011-05-24T00:00:00+00:00</published>
        <updated>2011-05-24T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/figure-8-1-backtesting/"/>
        <id>https://www.financialriskforecasting.com/errata/figure-8-1-backtesting/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/figure-8-1-backtesting/">&lt;p&gt;Philippe Mueller spotted a bug in the legend of Figure 8.1. It is an unwieldy figure, with almost too much going on, and hard to see in black and white. The color plot below is much clearer, and hopefully correct. Also, I called returns, volatility. Guess the pic was cursed. Finally, one could specify the probability, 1%. In any case, here is the correct.
 
&lt;a href=&quot;&#x2F;images&#x2F;plot.png&quot;&gt;&lt;img class=&quot;size-full wp-image-255&quot; title=&quot;Figure 8.1 Backtesting a $1,000 portfolio of S&amp;amp;P 500 returns&quot; src=&quot;&#x2F;images&#x2F;plot.png&quot; alt=&quot;Figure 8.1 Backtesting a $1,000 portfolio of S&amp;amp;P 500 returns&quot; width=&quot;560&quot; height=&quot;720&quot; &#x2F;&gt;&lt;&#x2F;a&gt;&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Monte Carlo VaR with one basic asset</title>
        <published>2011-05-24T00:00:00+00:00</published>
        <updated>2011-05-24T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/monte-carlo-var-with-one-basic-asset/"/>
        <id>https://www.financialriskforecasting.com/errata/monte-carlo-var-with-one-basic-asset/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/monte-carlo-var-with-one-basic-asset/">&lt;p&gt;item 2 on page 133 has an incorrect second index for the y. It should be
\(y_{t+1,i}\) not
\(y_{t+1,t}\)&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Typo in equation for ES for the normal</title>
        <published>2011-05-07T00:00:00+00:00</published>
        <updated>2011-05-07T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Jon Danielsson
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://www.financialriskforecasting.com/errata/typo-in-equation-for-es-for-the-normal/"/>
        <id>https://www.financialriskforecasting.com/errata/typo-in-equation-for-es-for-the-normal/</id>
        
        <content type="html" xml:base="https://www.financialriskforecasting.com/errata/typo-in-equation-for-es-for-the-normal/">&lt;p&gt;I do thank Oliver Linton for spotting a typo in the equation of ES for the normal at the bottom of page 103 and top of page 104. The setup and derivation is correct, but somehow the \(\sigma\)  became  \(\sigma^2\). The correct equation (bottom page 103)
$$\text{ES}=-\frac{\sigma \phi(-\text{VaR}(p))}{p}$$
and the corresponding equation at the top of 104
$$\text{ES}=-\varphi \frac{\sigma \phi(-\text{VaR}(p))}{p}$$&lt;&#x2F;p&gt;
</content>
        
    </entry>
</feed>
