<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Backtesting</id>
	<title>Backtesting - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Backtesting"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Backtesting&amp;action=history"/>
	<updated>2026-05-04T20:03:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Backtesting&amp;diff=4423311&amp;oldid=prev</id>
		<title>imported&gt;Jarble: /* Financial analysis */ paraphrasing</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Backtesting&amp;diff=4423311&amp;oldid=prev"/>
		<updated>2024-08-25T01:42:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Financial analysis: &lt;/span&gt; paraphrasing&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{short description|Testing a predictive model on historical data}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backtesting&amp;#039;&amp;#039;&amp;#039; is a term used in modeling to refer to testing a [[predictive modelling|predictive model]] on historical data.  Backtesting is a type of [[retrodiction]], and a special type of [[Cross-validation (statistics)|cross-validation]] applied to previous time period(s).&lt;br /&gt;
&lt;br /&gt;
== Financial analysis==&lt;br /&gt;
In the economic and financial field, backtesting seeks to estimate the performance of a strategy or model if it had been employed during a past period. This requires simulating past conditions with sufficient detail, making one limitation of backtesting the need for detailed historical data.  A second limitation is the inability to model strategies that would affect historic prices. Finally, backtesting, like other modeling, is limited by potential [[overfitting]]. That is, it is often possible to find a strategy that would have worked well in the past, but will not work well in the future.&amp;lt;ref&amp;gt;{{cite web|title=Pseudo-mathematics and financial charlatanism. Notices of the American Mathematical Society, Volume 61, Number 5, pp. 458-471|url=https://www.ams.org/notices/201405/rnoti-p458.pdf|author=Bailey, Borwein, Lopez de Prado, Zhu (2014)}}&amp;lt;/ref&amp;gt; Despite these limitations, backtesting provides information not available when models and strategies are tested on synthetic data.&lt;br /&gt;
&lt;br /&gt;
Historically, backtesting was only performed by large institutions and professional money managers due to the expense of obtaining and using detailed datasets. However, backtesting is increasingly used on a wider basis, and independent web-based backtesting platforms have emerged. Although the technique is widely used, it is prone to weaknesses.&amp;lt;ref&amp;gt;{{cite web|title=Issues related to back testing|url=http://www.financialtrading.com/issues-related-to-back-testing/|author=FinancialTrading|date=2013-04-27}}&amp;lt;/ref&amp;gt; [[Basel Accords|Basel financial regulations]] require large financial institutions to backtest certain risk models.&lt;br /&gt;
&lt;br /&gt;
For a [[Value at risk|Value at Risk]] 1-day at 99% backtested 250 days in a row, the test is considered green (0-95%), orange (95-99.99%) or red (99.99-100%) depending on the following table:&amp;lt;ref&amp;gt;{{cite web| title=Supervisory framework for the use of &amp;quot;backtesting&amp;quot; in conjunction with the internal models approach to market risk capital requirements|url=https://www.bis.org/publ/bcbs22.pdf | publisher=Basle Committee on Banking Supervision |date=January 1996 | page=14}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
[[Image:Backtesting exceptions 1Dx250.png|backtesting exceptions 1Dx250|thumb|500x500px]]&lt;br /&gt;
 {| class=&amp;quot;wikitable alternance&amp;quot;&lt;br /&gt;
 |+ 1-day VaR at 99% backtested 250 days&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;col&amp;quot; | Zone&lt;br /&gt;
 ! scope=&amp;quot;col&amp;quot; | Number exceptions&lt;br /&gt;
 ! scope=&amp;quot;col&amp;quot; | Probability&lt;br /&gt;
 ! scope=&amp;quot;col&amp;quot; | Cumul&lt;br /&gt;
 |-&lt;br /&gt;
 | rowspan=&amp;quot;5&amp;quot; | Green&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 0&lt;br /&gt;
 | 8.11%&lt;br /&gt;
 | 8.11%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 1&lt;br /&gt;
 | 20.47%&lt;br /&gt;
 | 28.58%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 2&lt;br /&gt;
 | 25.74%&lt;br /&gt;
 | 54.32%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 3&lt;br /&gt;
 | 21.49%&lt;br /&gt;
 | 75.81%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 4&lt;br /&gt;
 | 13.41%&lt;br /&gt;
 | 89.22%&lt;br /&gt;
 |-&lt;br /&gt;
 | rowspan=&amp;quot;5&amp;quot; | Orange&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 5&lt;br /&gt;
 | 6.66%&lt;br /&gt;
 | 95.88%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 6&lt;br /&gt;
 | 2.75%&lt;br /&gt;
 | 98.63%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 7&lt;br /&gt;
 | 0.97%&lt;br /&gt;
 | 99.60%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 8&lt;br /&gt;
 | 0.30%&lt;br /&gt;
 | 99.89%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 9&lt;br /&gt;
 | 0.08%&lt;br /&gt;
 | 99.97%&lt;br /&gt;
 |-&lt;br /&gt;
 | rowspan=&amp;quot;3&amp;quot; | Red&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 10&lt;br /&gt;
 | 0.02%&lt;br /&gt;
 | 99.99%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 11&lt;br /&gt;
 | 0.00%&lt;br /&gt;
 | 100.00%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | ...&lt;br /&gt;
 | ...&lt;br /&gt;
 | ...&lt;br /&gt;
 |}&lt;br /&gt;
For a [[Value at risk|Value at Risk]] 10-day at 99% backtested 250 days in a row, the test is considered green (0-95%), orange (95-99.99%) or red (99.99-100%) depending on the following table: &lt;br /&gt;
[[Image:Backtesting exceptions 10Dx250.png|backtesting exceptions 10Dx250|thumb|500x500px]]&lt;br /&gt;
{| class=&amp;quot;wikitable alternance&amp;quot;&lt;br /&gt;
 |+ 10-day VaR at 99% backtested 250 days&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;col&amp;quot; | Zone&lt;br /&gt;
 ! scope=&amp;quot;col&amp;quot; | Number exceptions&lt;br /&gt;
 ! scope=&amp;quot;col&amp;quot; | Probability&lt;br /&gt;
 ! scope=&amp;quot;col&amp;quot; | Cumul&lt;br /&gt;
 |-&lt;br /&gt;
 | rowspan=&amp;quot;9&amp;quot; | Green&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 0&lt;br /&gt;
 | 36.02%&lt;br /&gt;
 | 36.02%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 1&lt;br /&gt;
 | 15.99%&lt;br /&gt;
 | 52.01%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 2&lt;br /&gt;
 | 11.58%&lt;br /&gt;
 | 63.59%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 3&lt;br /&gt;
 | 8.90%&lt;br /&gt;
 | 72.49%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 4&lt;br /&gt;
 | 6.96%&lt;br /&gt;
 | 79.44%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 5&lt;br /&gt;
 | 5.33%&lt;br /&gt;
 | 84.78%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 6&lt;br /&gt;
 | 4.07%&lt;br /&gt;
 | 88.85%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 7&lt;br /&gt;
 | 3.05%&lt;br /&gt;
 | 79.44%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 8&lt;br /&gt;
 | 2.28%&lt;br /&gt;
 | 94.17%&lt;br /&gt;
 |-&lt;br /&gt;
 | rowspan=&amp;quot;3&amp;quot; | Orange&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 9&lt;br /&gt;
 | 1.74%&lt;br /&gt;
 | 95.91%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | ...&lt;br /&gt;
 | ...&lt;br /&gt;
 | ...&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 24&lt;br /&gt;
 | 0.01%&lt;br /&gt;
 | 99.99%&lt;br /&gt;
 |-&lt;br /&gt;
 | rowspan=&amp;quot;2&amp;quot; | Red&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | 25&lt;br /&gt;
 | 0.00%&lt;br /&gt;
 | 99.99%&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | ...&lt;br /&gt;
 | ...&lt;br /&gt;
 | ...&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Hindcast &amp;lt;!--[[Hindcast]] redirects here --&amp;gt; ==&lt;br /&gt;
[[File:Hindcasting.jpeg|200px|thumb|right|Temporal representation of hindcasting.&amp;lt;ref&amp;gt;Taken from p.145 of [https://archive.org/details/TECA2004 Yeates, L.B., &amp;#039;&amp;#039;Thought Experimentation: A Cognitive Approach&amp;#039;&amp;#039;,  Graduate Diploma in Arts (By Research) dissertation, University of New South Wales, 2004.]&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
In [[oceanography]]&amp;lt;ref&amp;gt;{{cite web|title= Hindcast approach|url= http://www.oceanweather.com/research/HindcastApproach.html|publisher= OceanWeather Inc.|accessdate= 22 January 2013}}&amp;lt;/ref&amp;gt; and [[meteorology]],&amp;lt;ref&amp;gt;{{cite journal|last= Huijnen|first= V. |author2= J. Flemming |author3= J. W. Kaiser |author4= A. Inness |author5= J. Leitão |author6= A. Heil |author7= H. J. Eskes |author8= M. G. Schultz |author9= A. Benedetti |author10= J. Hadji-Lazaro |author11= G. Dufour |author12= M. Eremenko|title= Hindcast experiments of tropospheric composition during the summer 2010 fires over western Russia|journal= Atmos. Chem. Phys.|year= 2012|volume= 12|issue= 9 |pages= 4341–4364|url= http://www.atmos-chem-phys.net/12/4341/2012/acp-12-4341-2012.html|accessdate= 22 January 2013|doi= 10.5194/acp-12-4341-2012|bibcode= 2012ACP....12.4341H |doi-access= free }}&amp;lt;/ref&amp;gt; &amp;#039;&amp;#039;backtesting&amp;#039;&amp;#039; is also known as &amp;#039;&amp;#039;hindcasting&amp;#039;&amp;#039;: a &amp;#039;&amp;#039;&amp;#039;hindcast&amp;#039;&amp;#039;&amp;#039; is a way of testing a [[mathematical model]]; researchers enter known or closely estimated inputs for past events into the model to see how well the output matches the known results.&lt;br /&gt;
&lt;br /&gt;
Hindcasting usually refers to a [[computer simulation|numerical-model]] integration of a historical period where no observations have been [[data assimilation|assimilated]]. This distinguishes a hindcast run from a [[meteorological reanalysis|reanalysis]]. Oceanographic observations of [[salinity]] and [[temperature]] as well as observations of [[ocean surface wave|surface-wave parameters]] such as the [[significant wave height]] are much scarcer than meteorological observations, making hindcasting more common in oceanography than in meteorology. Also, since surface waves represent a forced system where the wind is the only generating force, [[wind wave model|wave hindcasting]] is often considered adequate for generating a reasonable representation of the wave [[climate]] with little need for a full reanalysis. Hydrologists use hindcasting for model stream flows.&amp;lt;ref&amp;gt;{{cite web|title= Guidance on Conducting Streamflow Hindcasting in CHPS|url= http://www.nws.noaa.gov/om/water/RFC_support/HEFS_doc/Streamflow_Hindcasting_Guidance_V3.pdf|publisher= NOAA|accessdate= 22 January 2013}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example of hindcasting would be entering [[climate]] forcings (events that force change) into a [[climate model]]. If the hindcast showed reasonably-accurate climate response, the model would be considered successful.&lt;br /&gt;
&lt;br /&gt;
The [[ECMWF re-analysis]] is an example of a combined atmospheric reanalysis coupled with a wave-model integration where no wave parameters were assimilated, making the wave part a hindcast run.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Div col}}&lt;br /&gt;
* [[customer foresight|Applied research (customer foresight)]]&lt;br /&gt;
* [[Black box|Black box model]]&lt;br /&gt;
* [[Climate]]&lt;br /&gt;
* [[ECMWF re-analysis]]&lt;br /&gt;
* [[Forecasting]]&lt;br /&gt;
* [[NCEP/NCAR reanalysis|NCEP re-analysis]]&lt;br /&gt;
* [[Economic forecast]]&lt;br /&gt;
* [[Retrodiction]]&lt;br /&gt;
* [[Statistical arbitrage]]&lt;br /&gt;
* [[Thought Experiment]]&lt;br /&gt;
* [[Value at risk]]&lt;br /&gt;
{{Div col end}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Tests]]&lt;br /&gt;
[[Category:Technical analysis]]&lt;br /&gt;
[[Category:Mathematical modeling]]&lt;br /&gt;
[[Category:Numerical climate and weather models]]&lt;br /&gt;
[[Category:Statistical forecasting]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Jarble</name></author>
	</entry>
</feed>