Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Kay" <286051427@qq.com> |
To | "statalist" <statalist@hsphsun2.harvard.edu> |
Subject | st: How to use the linear interpolation in Stata |
Date | Mon, 31 Mar 2014 09:58:56 +0800 |
I want to count the corporate bond yield spread using Stata. The bond yield spread is the difference between corporate bond yield and treasury bond yield of the same maturity.I have already count out the corporate bond yield and the treasury bond yield .Also, I count out the maturity both of them.But some of the maturity can not match,so I need to use the linear interpolation method.The question is that I do not know how to use Stata to handle the liner interpolation.Looking forward the reply ,thanks. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/