bond-equivalent yield (BEY), 2 x the semiannual discount rate
hpr2bey(hpr, t)
hpr
holding period return
t
number of month remaining until maturity
hpr2bey(hpr=0.02,t=3)