金融工具包相关资料(英文版)_第1页
金融工具包相关资料(英文版)_第2页
金融工具包相关资料(英文版)_第3页
金融工具包相关资料(英文版)_第4页
金融工具包相关资料(英文版)_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

(8) 统 计 与 金 融首 先 用 with命 令 载 入 工 具 包 stats、 finance。 restart; with(stats); with(finance);金 融 工 具 包 ( 本 工 具 包 内 容 未 做 汉 化 )The finance package assists you in performing financial calculations. With it, you can calculate the present value and accumulated value of annuities, growing annuities, perpetuities, growing perpetuities and level coupon bonds. Moreover, it can alsohelp you compute the yield to maturity of a bond. You can construct an amortization table, determine the effective rate of interest for a given compound interest rate, and find the present value and future value of a fixed quantity for a givencompound interest rate.Note: all examples use dollars ($) and interest rates are in terms of percent (%). Moreover, the default setting for floating point precision is 10. Round up each answer that Maple finds to the nearest cent.Amortization MethodThe most common method of repaying interest-bearing loans is the amortization method . This procedure is used to liquidate an interest-bearing debt by a seriesof periodic payments, usually equal, at a given interest rate. You may use Maple todetermine how many payments are required to pay off the loan, using the amortization command. You can also create amortization tables.A debt of $100 with interest at 10% per annum is to be amortized by payments of$50 at the end of each year for as long as necessary. A:= amortization( 100, 50, 0.10 );The output from the command above is summarized in the table below. From the result we see that you must make three payments: $50, $50 and $17.60. The last result in the output, $17.60, is the cost of the loan . amortization_tablen, Payment, Interest, Principal, Balance = matrix(A1);The first column of the matrix refers to the payment number. The second column shows the payment per time period. The third column is how much of the payment goes towards paying off the interest. The fourth refers to how much goes to pay off theprincipal per payment. The last column is the outstanding balance of the debt.AnnuitiesMaple can find the present value of ordinary simple annuities.Suppose you want to find the present value of an annuity paying $100 per annum,for 5 years, starting in 1 year from now, at an annual interest rate of 10 %. annuity( 100, 0.10, 5 );Consider a growing (increasing) annuity that pays $100 at the end of the first year, then grows at 5 % per annum. It is a five-year annuity and the annual rateof interest is 10%. Use the growingannuity command. growingannuity( 100, 0.1, 0.05, 5 );If the interest rate changes to % and the growth rate is unknown (call it ), then the future value is given by the formula below. growingannuity( 100, 0.1/12, g, 5*12 );As a final example, analyze the case where the payments per time period are notfixed. Suppose you want to find the present value of variable revenues expectedfrom a project. At the end of year one, the project expects $200 in revenue, and $150 and$100 in years two and three respectively. The opportunity cost of capital is 7.8%. cashflows( 200, 150, 100, 0.078 );You may generalize the above result. If the discount rate is %, the present value of the benefits earned from the project is given by the cashflows command. cashflows( 200, 150, 100, r );BondsWhen a corporation or government needs to borrow a large sum of money for a reasonably long period of time, they issue bonds which they sell to investors.A $1000 bond that pays interest at % (bond rate) is redeemable at par at the end of five years. Suppose you want to find the purchase price of the bond to yield an investor 14% compounded semi-annually. (Note: the yield rate always comes before thecoupon rate). levelcoupon( 1000, .14/2, .10/2, 5*2 );The result shows that the bond is purchased at a discount , since the opportunity cost of capital is higher than the bond rate.Suppose you want to find the yield rate to maturity of a bond. Suppose a large corporation issues a 15-year bond that has a face value of $10 000 000, and paysinterest at a rate of %. If the purchase price of the bond is $11 729 203.32, the yield tomaturity for the bond is found by the yieldtomaturity command. yieldtomaturity( .32, .00, .10/2, 30 );That is, approximately 4% per half-year, or % .Effective Interest RatesFor a given nominal rate of interest compounded times per year, the annual effective rate of interest is the rate j which, if compounded annually, will produce the same amount of interest per year.Compute the annual effective rate of interest to %effectiverate( .1325, 365 );The annual effective rate works out to be about 14.17%.The effective annual rate of interest corresponding to % is calculated as follows. effectiverate( r, m );As another example, to find the rate equivalent to %, enter the following command. 4*effectiverate( .10/4, 2/4 );The annual effective rate is approximately 9.88 %.Recall that is the annual interest rate that is compounded m times per annum. The continuous compound rate is the nominal interest rate that is compounded without limit, or continuously. Typical notation for this is . For instance, the annualeffective rate of interest equivalent to =15 % is computed as follows. effectiverate( .15, infinity );Interest FormulasIf is the principal at the beginning of the first interest period, is the accumulated value at the end of periods, and is the interest rate per time period, then .Use the futurevalue command to find and the presentvalue command to determine.Suppose you deposit $100 in the bank and earn interest at 10% per annum. The following command finds the accumulated value at the end of four years. futurevalue( 100, .10, 4 );If you want $146.41 in four years from now, how much money must you invest now at an interest rate of 10%? presentvalue( 146.41, .10, 4 );You can extend the first example to the fundamental compound interest formula .If is the principal at the beginning of the first interest period, is the accumulated value at the end of periods, and is the interest rate per conversion period, then .Again you can use the futurevalue and presentvalue command, but you must modifythe arguments for compound interest.Going back to the first example, suppose you invest $100 at an annual interest rate of 10% compounded monthly for 4 years.This means that for each compound period, the interest is (conventionally written as %).Since the number of compound periods per year is 12, the total number of periods is (4)(12).The following command finds the accumulated value. futurevalue( 100, .10/12, 4*12 );PerpetuitiesA perpetuity is an annuity whose payments begin on a fixed date and continue forever.Suppose that you want to establish a scholarship fund paying scholarships of $1500 each year. How much money must you invest at an annual interest rate of 9% if the endowment is to pay its first scholarship one year from now? perpetuity(1500, 0.09);Just like simple annuities, perpetuities can grow. Suppose you buy some shares for a company. You expect the first dividend payment to be $235 one year from now, and these payments are expected to grow at % per annum, continuing indefinitely. Themoney is worth 7.5%. The following command determines the present value of these payments. growingperpetuity( 235, 0.075, g );统 计 工 具 包Maple V Release 5的 工 具 包 stats含 有 各 种 数 据 处 理 必 须 的 工 具 。最 小 二 乘 逼 近统 计 工 具 包 的 子 包 fit 包 含 各 种 用 于 数 据 拟 和 的 工 具 ( 如 leastsquare命 令 ) 。 使 用 with(fit)命 令 载 入 它 。 with(fit);建 立 如 下 数 字 列 表 : Xvalues := 1, 2, 3, 4; Yvalues := 0, 6, 14, 24;我 们 使 用 二 次 模 型 来 拟 和 这 组 数 据 , 得 到 系 数 a,b,c. leastsquare x, y, y=a*x2+b*x+c, a, b, c (Xvalues, Yvalues);均 值 、 中 值 、 均 差 、 标 准 差参 见 : 概 率 分 布例 如 以 下 数 据 列 表 : data := 1.1, 5.8, 3.4, 4.2, 3.9, 5, 0.9, 6.2;我 们 载 入 描 述 统 计 子 包 , with(describe);计 算 例 中 数 据 的 均 值 、 中 值 、 均 差 、 标 准 差 。 my_mean := mean(data); median(data); variance(data); my_sdev := standarddeviation(data);概 率 分 布统 计 工 具 包 stats支 持 各 种 用 途 广 泛 的 概 率 分 布 , 包 括 : 正 态 分布 ( normal) 、 卡 方 分 布 ( chi-squared) 、 t分 布 ( student t) 、 F分布 ( F) 、 指 数 分 布 ( exponential) 等 。 这 些 函 数 摆 脱 了 人 们 对 数 学 用 表 的依 赖 。 例 如 函 数 normald计 算 随 即 变 量 的 正 态 分 布 。使 用 上 节 数 据 计 算 概 率 : pr1 := statevalf cdf, normaldmy_mean, my_sdev (2.44);计 算 概 率 : . pr2 := statevalf cdf, normaldmy_mean, my_sdev (10)

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论