solution to final assignment
I have posted an HTML version of my solution to the final assignment.
I hope to hand off your graded submissions next weekend when I am back in town so that Gary can turn them back on April 22.
I have posted an HTML version of my solution to the final assignment.
I hope to hand off your graded submissions next weekend when I am back in town so that Gary can turn them back on April 22.
The assigment asks you to work with a bond with a continuous coupon. Formally, this means that 'tau = t'. Interest is paid in each moment 'dt' at a rate which you will determine. If you prefer to work instead with a discrete coupon payment schedule such as daily or quarterly or semi-annually, this is fine; but please be clear about your intention.
You should not assume that this is a zero-coupon bond.
Q=@(u,nu)arrayfun(@(u)fzero(@(x)u-...
betainc((1+sign(x)./sqrt(1+nu./x.^2))/2,nu/2,nu/2),...
sqrt(2)*erfinv(2*u-1)),u);