国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫CS 476/676 程序

時間:2024-02-14  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯


Winter 2024 CS **6/676

Assignment 1

Due Feb-11, 11:59pm, via Crowdmark.

1. [8] Consider a **period binomial model with T = 1 and assume the risk free interest rate r = 0. That is, the stock (currently priced at S0 = 10) can got up to STu = uS0 with probability pu or down to STd = dS0 with probability 1−pu where pu ∈ (0,1). We know that d < 1 < u, but we do not know u or d. Suppose the following two options are traded in the market, both with maturity T = 1:

• European Put with strike K = 9 and current price P (1) = 1, 10

• European Put with strike K = 8 and P (2) = 1/3. 20

Assume the market is arbitrage free.

(a) [3] What is the fair value of a European call option with a strike price of K3 = 7?

(b) [2]Let δ0 be the number of stocks and η0 the number of bonds (noting B0 = BT = 1) you hold at t = 0. Find δ0 and η0 so that your strategy exactly replicates the payout of a short position in this call.

(c) [3] Using the actual probability pu, what is the expected option payoff for the European call in (a)? What is wrong with pricing this call option at this expected payoff value? If this European call option is priced at the expected payoff using p which is different from the fair value computed in (a), how can you construct an arbitrage?

2. [4] Consider the N-period binomial lattice. Denote by Snj for 0 ≤ n ≤ N and 0 ≤ j ≤ n be the price of the underlying at time tn and state j (i.e., j ups). A European Straddle Option has payoff at time T

max{K −SN,0}+max{SN −K,0}.

Denote by V (Snj , K, tn) be the fair value of the straddle option at time tn in state j. Use induction (over n)

to show that for any constant λ > 0,

V(λSnj,λK,tn)=λV(Snj,K,tn), n=0,1...,N,j=0,1,...,n.

3. [8] Consider the N-period binomial lattice where, at time t , the stock price Sj can go up to Sj+1 = uSj n n n+1n

with probability pu and sown to Sj n+1

interest rate and denote by

= dSj with probability 1 − pu. Denote by r > 0 the constant risk free n

qu = er∆t − d u−d

the risk neutral probability.

(a) [3] Provide an expression for all possible stock prices at T = ∆t · N .

(b) [2] If S0 is given, what is the risk neutral probability that, at time T, the stock price has experienced exactly k up moves?

(c) [3] Using risk neutral pricing, provide the expression, in terms of T, qu, K, r for the fair time t = 0 value of a European straddle expiry T and strike price K. Recall from Question 3 that such an option has payout max{K − SN , 0} + max{SN − K, 0}. Justify your answer.

4. [8] In this exercise, we consider the problem of pricing a Parisian Up-and-In Call. Let (St)t≥0 be a geometric Brownian Motion with drift r being equal to the risk-free interest rate and volatility σ, i.e., St = S0 exp(Xt) where Xt = (r − σ2/2)t + σWt for a Brownian Motion (Wt)t≥0 and S0 > 0 is some constant (today’s stock price). Let K > 0 be the strike price and L > 0 be a barrier. A Parisian Up-and-In Call (PUIC) option is activated if the stock price process (St)t∈[0,T] exceeds L consecutively for a period of time at least D > 0. Hence, the payout of a PUIC option at time T is max {0, (ST − K ) · A}, where

(1, if (St)t∈[0,T] had a consecutive excursion above L that lasted at least D, A=.

0, otherwise.

Today’s price is the discounted expected payoff; hence, we are estimating μ = E ?e−rT max {(ST − K) · A, 0}? .

For simplicity, we assume throughout the remainder of this question that 0 < D < T, K,L > S0. 1

 

(a) [4] Give an algorithm, in pseudo-code, that computes a Monte Carlo estimator for μ based on n simu- lations.

(b) [4] Implement your algorithm from a). Let N = 250, r = 0.05, σ = 0.25, D = 0.1, T = 1, S0 = 100 and i)K=110,L=120andii)K=120,L=110. Foreachofi)andii),reportaMCestimateforμalong with a 95% confidence interval based on n = 100, 000 independent simulations.

Note. In order to count how long the stock price was above L, use the following:

• IfStk ≥LandStk+1 ≥L,addtk+1−tk totheclock.

• If Stk < L and Stk+1 < L, there is no excursion.

• If Stk < L and Stk+1 ≥ L, an excursion started between tk and tk+1; add 0.5(tk+1 − tk) to the clock. • If Stk ≥ L and Stk+1 < L, an excursion ended between tk and tk+1; add 0.5(tk+1 − tk) to the clock.

5. [22] Consider the Black Scholes model, that is, let (St)t∈[0,T] be a geometric Brownian Motion with drift r and volatility σ, i.e., St = S0 exp(Xt) where Xt = (r − σ2/2)t + σWt for a Brownian Motion (Wt)t≥0 and S0 > 0 is some constant (today’s stock price). An Asian Option with maturity T and strike price K has

payout at time T given by max n0, 1 R T St dt − K o . Given time steps 0 ≤ t1 < · · · < tN = T for some N , we T0

consider the discretized Asian option with payout max n0, N1 PNj=1 Stj − Ko . Today’s price for this option

?−rT n 1PN o? is the discounted expected payoff. As such, we are estimating μ = E e max 0, N j=1 Stj − K

the remainder of this question, assume the time steps are given by tk = Nk T for k = 1,...,N. (a) [1] Explain why this option is a path dependent option.

. For

(b) [2] Write down an algorithm in pseudo-code to estimate a 95% confidence interval for μ using (naive) Monte Carlo.

(c) [2] Write down an algorithm in pseudo-code to estimate a 95% confidence interval for μ using antithetic variates.

(d) [2] There is no known analytical formula for μ. The reason is that the distribution of the sum of log-

normals is not known. However, if we replace the arithmetic average N1 PNj=1 Stj by the geometric

?−rT ? ?QN ?1/N ?? average, i.e., if we consider μg = E e max 0, j =1 S (tj ) − K

instead, the problem sim- plifies as the distribution of the product of log-normals is again log-normal. One can show (you don’t

need to) that μg = e−rT ?ea+b/2Φ(d1) − KΦ(d2)?, where a=log(S0)+(r−σ2/2)T(N+1)/(2N), b=σ2T(N+1)(2N+1),

√ √ 6N2 d1 =(−log(K)+a+b)/ b, d2 =d1 − b.

Explain why using the Asian Option with geometric averaging can be used as a control variable to price the Asian Option with arithmetic averaging.

(e) [3] Write down an algorithm in pseudo-code to estimate a 95% confidence interval for μ using the geometric Asian Option as a control variable. Estimate the internal β using a pilot run.

(f) [4] Implement your algorithms from b), c) and e) and call your functions with S0 = 100, K = 110, r = 0.01, σ = 0.1, T = 1, N = 260 and n = 105 and npil = 100. You should report 3 confidence intervals, one for each algorithm. Comment on your output.

Finally, suppose instead of the continuous time Black Scholes model, we assume an N-period binomial model √

with u = eσ

(g) [3] Write down an algorithm, in pseudo-code, to find the fair value V0 of an Asian Call Option.

T/N, d = 1/u and qu = 1/2 (and the same σ,r,S0,K,T as before).

(h) [3] Implement your algorithm and, for each N ∈ {5, 10, 20} report the output for S0 = 100, K = 110,

r=0.01,σ=0.1(justlikebefore),u=eσ T/N,d=1/u.

(i) [2] Discuss advantages and shortcomings of the MC method versus the approximation through the binomial model.

2

 

6. [5] Graduate Students Only. Consider the N-period binomial model, but assume that at each time n ≥ 1, the up factor un = un(ω1,...,ωn) and down factor dn = dn(ω1,...,ωn) and the risk free interest rate rn = rn(ω1,...,ωn) are allowed to depend on n and the first n outcomes ω1,...,ωn ∈ {up,down}. The initial values u0,d0,r0 at time 0 are given. The stock price at time 1 is

and, for n ≥ 1, the stock price at time n + 1 is (un(ω1,...,ωn)Sn(ω1,...,ωn),

(uS0, if ω1 = up, S1(ω1) = dS0, if ω2 = down.

if ωn+1 = up,

if ωn+1 = down. .

One dollar invested or borrowed from the bank account at time 0 grows to an investment or debt of er0∆t at time 1; for n ≥ 1, one dollar invested or borrowed at time n grows to an investment or debt of ern(ω1,...,ωn)∆t at time n + 1. We assume that the no-arbitrage condition

0 < dn(ω1,...,ωn) < exp{rn(ω1,...,ωn)∆t} < un(ω1,...,ωn)

for n ∈ N and ω1,...,ωn ∈ {up,down}. Similarly, assume that at time t = 0, 0 < d0 < er0∆t < u0.

Consider a derivative which, after N periods, pays off the random amount VN (ω1, . . . , ωN ).

(a) In the model just described, provide an algorithm for determining the price at time zero for the derivative.

(b) Construct a replicating portfolio in this general model. That is, provide a formulas for δn and ηn, n = 0, 1, . . . , so that if we hold δn stocks and ηn bonds, then this portfolio replicated the derivate payout VN at time N.

Sn+1(ω1,...,ωn,ωn+1) = dn(ω1,...,ωn)Sn(ω1,...,ωn),

如有需要,請加QQ:99515681 或WX:codehelp

 

掃一掃在手機打開當前頁
  • 上一篇:代寫EMS5730、代做Python設計程序
  • 下一篇:代寫CS9053、代做Java語言編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    成人综合国产精品| 久久艹中文字幕| 97色在线播放视频| 国产精品久久久久999| 欧美一级免费播放| 操人视频欧美| 欧美伦理91i| 日韩黄色片在线| 久久久久久免费看| 日韩欧美亚洲天堂| 久久99久久99精品蜜柚传媒| 熟女少妇精品一区二区| 99久久久精品免费观看国产| 一区二区三区一级片| 国产精品亚洲аv天堂网| 欧美日本亚洲视频| 国产免费成人在线| 久久福利视频网| 国产欧美亚洲日本| 久久久久久69| 俄罗斯精品一区二区三区| 中文字幕一区二区三区四区五区六区 | 日韩欧美一区三区| 国产精品一区二区在线观看| 国产精品久久久久久久乖乖| 日韩免费观看视频| 国产v综合v亚洲欧美久久| 美日韩精品免费观看视频| 国产伦理久久久| 久久综合久中文字幕青草| 韩日午夜在线资源一区二区| 久久精品久久久久久国产 免费| 日韩视频在线播放| 国产精品69久久久久| 欧美精品第一页在线播放| 国产一区二区自拍| 国产精品二区在线| 精品视频免费观看| 欧美精品一区三区| 欧美成ee人免费视频| 国产精品视频在线播放| 欧美亚洲激情在线| 国产精品青青在线观看爽香蕉| 欧美亚洲精品日韩| 国产精品入口芒果| 精品一区二区三区视频日产| 久久天天躁狠狠躁夜夜躁2014| 欧美国产日韩激情| 超碰91人人草人人干| 国产在线欧美日韩| 精品国产一区二区三区无码| 国产三级精品在线不卡| 美女av一区二区| 国产美女精品在线观看| 国产精品视频一二三四区| 青青草成人免费在线视频| 久久精品第九区免费观看| 日本一区二区黄色| 97人人爽人人喊人人模波多| 日韩av第一页| 日韩在线免费av| 蜜桃成人在线| 一区二区三区视频在线播放| 7777精品伊久久久大香线蕉语言| 亚洲熟妇无码另类久久久| 91精品国产综合久久香蕉最新版| 色婷婷精品国产一区二区三区| 久久精品第九区免费观看| 欧美日韩喷水| 精品国产一区二区三区麻豆小说| av网址在线观看免费| 视频一区三区| 久久精品这里热有精品| 国产精品综合不卡av| 色就是色欧美| 久久国产精彩视频| 久久综合九色欧美狠狠| 欧美亚洲视频在线观看| 伊人天天久久大香线蕉av色| 国产经典久久久| 欧美韩国日本精品一区二区三区| 九九久久国产精品| 久久久久久国产精品mv| 日韩欧美猛交xxxxx无码| 国产精品青青草| 99中文字幕在线观看| 青青视频免费在线| 亚洲在线第一页| 日韩视频永久免费观看| 国产精品亚洲аv天堂网| 日本免费一区二区三区视频观看| 国产精品视频精品视频| 精品视频一区二区| 亚洲一区二区三区视频播放 | 夜夜爽www精品| 国产l精品国产亚洲区久久| 免费看a级黄色片| 性色av一区二区咪爱| 久久夜精品va视频免费观看| 国产成人在线亚洲欧美| 国产区亚洲区欧美区| 日韩成人av电影在线| 精品蜜桃传媒| 久久久久久久久久婷婷| 国产精品一区二区三| 欧美激情第六页| 性高潮久久久久久久久| 国产精品第一视频| 久久久免费av| 91久久久亚洲精品| 国产一区不卡在线观看| 欧洲中文字幕国产精品| 精品久久久久久久久久中文字幕| 久久免费视频在线观看| 国产一区二区久久久| 亚洲影视中文字幕| 精品国产区在线| 国产成人免费91av在线| 久久露脸国产精品| 97精品一区二区三区| 国产一级不卡视频| 欧美 日韩 国产在线| 欧洲成人一区二区| 亚洲国产精品www| 美女精品久久久| 国产精品国产亚洲精品看不卡| 久久久久久久中文| 久久免费视频2| 97精品国产97久久久久久 | 亚洲国产精品一区二区第四页av| 国产精品福利网站| 国产精品日日做人人爱| 久久久久久久久久久久久9999| 国产精品99久久久久久久| 成人免费在线网址| 国模精品一区二区三区色天香| 日韩精品一区二区三区色欲av | 久久精品国产理论片免费| 68精品国产免费久久久久久婷婷| 国产伦精品一区二区三区在线 | 国产欧美欧洲在线观看| 国内揄拍国内精品| 欧美影院在线播放| 日韩欧美视频第二区| 日本新janpanese乱熟| 日日摸日日碰夜夜爽无码| 亚洲国产欧美日韩| 亚洲视频在线观看日本a| 亚洲精品日韩激情在线电影| 亚洲www在线| 欧美一区二区高清在线观看| 欧美一级片久久久久久久| 天天综合五月天| 欧美一区二区三区在线播放| 午夜精品短视频| 日本精品一区在线观看| 人人做人人澡人人爽欧美| 日本高清不卡三区| 热99精品只有里视频精品| 欧美日韩国产精品一卡| 免费观看精品视频| 国产伦精品一区二区三区高清版| 北条麻妃在线视频观看| 国产日韩视频在线观看| 97精品视频在线观看| 久久精品国产综合精品| 精品国产自在精品国产浪潮| 国产精品秘入口18禁麻豆免会员| 国产精品久久久久久久久久99| 美日韩精品视频免费看| 亚洲综合在线中文字幕| 日本一区二区三区视频在线观看| 午夜精品免费视频| 久色视频在线播放| www.亚洲一区| 麻豆国产精品va在线观看不卡 | 国内精品视频一区| 国产在线青青草| 成人久久18免费网站图片| 日韩在线视频播放| 欧美精品情趣视频| 亚洲va久久久噜噜噜久久天堂| 日本高清视频精品| 欧美日产一区二区三区在线观看| 国产日韩专区在线| 久久综合一区二区三区| 久久久av网站| 伊人久久在线观看| 日韩精品一区二区三区久久| 国产一区二区色| 国产精品999| 国产精品久久久久久久天堂第1集| 久久久久国产精品免费| 日韩欧美一区二区三区久久婷婷 | 天天爱天天做天天操| 日本一区免费| 精品无码久久久久久久动漫| 国产精品99久久久久久久| 国产精品国产三级国产专区51| 午夜精品在线视频|