Difference between revisions of "TADM2E 6.23"

From Algorithm Wiki
Jump to: navigation, search
(Replaced content with "Good, watch EthanGamer")
(Undo revision 775 by FuckYou (talk))
 
Line 1: Line 1:
Good, watch EthanGamer
+
The problem reduces to Floyd - Warshall algorithm if you take logs of all currency-exchange rates, as if a * b = c then ln(a) + ln(b) = ln(c).
 +
 
 +
In computational finance people often use logarithms of prices instead of prices themselves, as it gives faster calculations and makes it easy to apply log-normal distribution instead of normal distribution (log-normal distribution is more appropriate for asset prices).

Latest revision as of 11:27, 23 July 2020

The problem reduces to Floyd - Warshall algorithm if you take logs of all currency-exchange rates, as if a * b = c then ln(a) + ln(b) = ln(c).

In computational finance people often use logarithms of prices instead of prices themselves, as it gives faster calculations and makes it easy to apply log-normal distribution instead of normal distribution (log-normal distribution is more appropriate for asset prices).