816003137 Justin Singh STAT 6160 Coursework #2 1) β(π‘) = π + π½π −πΎπ‘ a) Assuming π = 0 πππ πΎ = 1 β(π‘) = π½π −π‘ π(ln π(π‘)) β(π‘) = ππ‘ (∫ β(π‘)ππ‘) ⇒ π(π‘) = π π(π‘) = exp (∫ β(π‘)ππ‘) = exp (∫ π½π −π‘ ππ‘) = exp(−π½π −π‘ ) = π −π½π b) Median occurs at π(π‘) = 0.5 0.5 = exp(−π½π −π‘ ) ⇒ −π½π −π‘ = ln 0.5 ln 0.5 π −π‘ = −π½ ∴ ππππππ, π‘ = − ln ( ln 0.5 ) −π½ 2) πΌ = 1.5 πππ π = 0.01 1 a) π(π‘) = 1+ππ‘ πΌ 1 1 + 0.01π‘1.5 1 1 π(50) = = = 0.22 1.5 1 + 0.01(50) 4.54 1 1 π(100) = = = 0.09 1.5 1 + 0.01(100) 11 1 1 π(150) = = = 0.05 1.5 1 + 0.01(150) 19.37 b) Median occurs at π(π‘) = 0.5 1 0.5 = 1 + 0.01π‘1.5 0.5 + 0.005π‘1.5 = 1 0.5 π‘1.5 = = 100 0.005 ∴ π‘ = 21.54 πππ¦π π(π‘) = c) πΈ(π₯) = π πΌ π πππ ππ( ) 1 πΌππΌ π π πππ ππ ( ) 85.96 1.5 πΈ(π₯) = 1 = 0.07 = 1235.06 1.5 1.5(0.01) −π‘ 816003137 Justin Singh STAT 6160 Coursework #2 3) π = 1 πππ π = 1 π2 a) πΈ(π₯) = π π+ 2 1 πΈ(π₯) = π 1+2 = 4.48 2 2 π(π₯) = π 2π+π (π π − 1) π(π₯) = π 2+1 (π1 − 1) = 34.51 b) Median occurs when π(π‘) = 0.5 0.5 = 1 − Φ(ln π‘ − 1) 0.5 = Φ(ln π‘ − 1) Φ−1 (0.5) = 0 = ln π‘ − 1 ∴ π‘ = π 1 = 2.72 4) a) ππ Survival time ππ 3 1 7 9 1 4 Survival time 4 6 9 ππ ππ Μ = ∏1 − π(π‘) ππ ππ Μ Μ π(π‘) πππ ππ ππ (ππ − ππ ) 1 0.8572 × ( ) = 0.017 7×6 1 0.6432 × ( ) = 0.034 4×3 Μ 2∑ = π(π‘) 1 = 0.857 7 1 0.857 × (1 − ) = 0.643 4 1− b) c) 1 1 2 π»0 : π1 = π2 π»1 : π1 ≠ π2 π‘π ππ 3 4 6 9 1 1 1 3 ππ1 7 6 6 4 8 7 5 Μ π(π‘) 0.875 0.75 0.45 ππ2 8 8 7 6 2 πππππ = πΈπ1 Μππ΄ (π‘) = ∑ π» ππ ππ 0.125 0.268 0.668 ππ1 = ∗ ππ ππ1 + ππ2 0.467 0.429 0.462 1.2 2.558 Μππ΄ (π‘)) πΜππ΄ (π‘) = exp(−π» 0.882 0.765 0.513 πΈπ2 ππ2 ∗ ππ ππ1 + ππ2 0.533 0.571 0.538 1.8 3.442 = (2 − 2.558)2 (2 − 3.442)2 + = 0.726 2.558 3.442 2 π0.05,1 = 3.84 2 2 ⇒ π0.05,1 > πππππ ∴ π·π πππ‘ ππππππ‘ π»0