I would like to test different methods for fitting a yield curve, like the Nelson-Siegel, cubic splines etc.
I would like to generate random yield to maturity data, that somehow reflects the common observed yields in the markets. I am using R but I appreciate any idea.
Thanks in advance!