inforatio(): number
Information Ratio.
Measures portfolio returns in excess of a benchmark relative to the volatility of those excess returns. The information ratio measures the skill of an asset manager to generate excess returns relative to a benchmark.
Information ratio between a single asset and benchmark
Information ratio between a single asset and benchmark
import { assertEquals } from "jsr:@std/assert"; var x = [0.003,0.026,0.015,-0.009,0.014,0.024,0.015,0.066,-0.014,0.039]; var y = [-0.005,0.081,0.04,-0.037,-0.061,0.058,-0.049,-0.021,0.062,0.058]; assertEquals(inforatio(x,y), 0.09369148584852913);
inforatio(): array | matrix
Information Ratio.
Measures portfolio returns in excess of a benchmark relative to the volatility of those excess returns. The information ratio measures the skill of an asset manager to generate excess returns relative to a benchmark.
Information ratio between a single asset and benchmark
Information ratio between a single asset and benchmark
import { assertEquals } from "jsr:@std/assert"; var x = [0.003,0.026,0.015,-0.009,0.014,0.024,0.015,0.066,-0.014,0.039]; var y = [-0.005,0.081,0.04,-0.037,-0.061,0.058,-0.049,-0.021,0.062,0.058]; assertEquals(inforatio(x,y), 0.09369148584852913);