Solution of Assignment #2

Similar documents
Vehicle Arrival Models : Headway

Testing the Random Walk Model. i.i.d. ( ) r

Math 10B: Mock Mid II. April 13, 2016

Stochastic models and their distributions

ECE 510 Lecture 4 Reliability Plotting T&T Scott Johnson Glenn Shirley

Distribution of Estimates

Outline. lse-logo. Outline. Outline. 1 Wald Test. 2 The Likelihood Ratio Test. 3 Lagrange Multiplier Tests

Transform Techniques. Moment Generating Function

ECE 510 Lecture 4 Reliability Plotting T&T Scott Johnson Glenn Shirley

Homework 10 (Stats 620, Winter 2017) Due Tuesday April 18, in class Questions are derived from problems in Stochastic Processes by S. Ross.

Solutions to Odd Number Exercises in Chapter 6

Innova Junior College H2 Mathematics JC2 Preliminary Examinations Paper 2 Solutions 0 (*)

Comparing Means: t-tests for One Sample & Two Related Samples

MA 214 Calculus IV (Spring 2016) Section 2. Homework Assignment 1 Solutions

Econ Autocorrelation. Sanjaya DeSilva

R t. C t P t. + u t. C t = αp t + βr t + v t. + β + w t

Matlab and Python programming: how to get started

Robust estimation based on the first- and third-moment restrictions of the power transformation model

Part III: Chap. 2.5,2.6 & 12

Exponential Weighted Moving Average (EWMA) Chart Under The Assumption of Moderateness And Its 3 Control Limits

20. Applications of the Genetic-Drift Model

dy dx = xey (a) y(0) = 2 (b) y(1) = 2.5 SOLUTION: See next page

Time series Decomposition method

Right tail. Survival function

Physics 127b: Statistical Mechanics. Fokker-Planck Equation. Time Evolution

on the interval (x + 1) 0! x < ", where x represents feet from the first fence post. How many square feet of fence had to be painted?

EXERCISES FOR SECTION 1.5

Kriging Models Predicting Atrazine Concentrations in Surface Water Draining Agricultural Watersheds

Properties of Autocorrelated Processes Economics 30331

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

Chapter 11. Heteroskedasticity The Nature of Heteroskedasticity. In Chapter 3 we introduced the linear model (11.1.1)

The equation to any straight line can be expressed in the form:

Let us start with a two dimensional case. We consider a vector ( x,

ACE 562 Fall Lecture 4: Simple Linear Regression Model: Specification and Estimation. by Professor Scott H. Irwin

Appendix to Creating Work Breaks From Available Idleness

Introduction to Probability and Statistics Slides 4 Chapter 4

Lecture 2 April 04, 2018

Statistical Distributions

ENGI 9420 Engineering Analysis Assignment 2 Solutions

Linear Combinations of Volatility Forecasts for the WIG20 and Polish Exchange Rates

An random variable is a quantity that assumes different values with certain probabilities.

Chapter 2. Models, Censoring, and Likelihood for Failure-Time Data

EE 315 Notes. Gürdal Arslan CLASS 1. (Sections ) What is a signal?

y = β 1 + β 2 x (11.1.1)

Unit Root Time Series. Univariate random walk

Avd. Matematisk statistik

Answers to Exercises in Chapter 7 - Correlation Functions

Solutions to Exercises in Chapter 12

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)

A Specification Test for Linear Dynamic Stochastic General Equilibrium Models

Financial Econometrics Jeffrey R. Russell Midterm Winter 2009 SOLUTIONS

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

Testing for a Single Factor Model in the Multivariate State Space Framework

GMM - Generalized Method of Moments

Stationary Time Series

Convergence of the Neumann series in higher norms

Reliability of Technical Systems

ACE 564 Spring Lecture 7. Extensions of The Multiple Regression Model: Dummy Independent Variables. by Professor Scott H.

5.2. The Natural Logarithm. Solution

Solutions: Wednesday, November 14

The General Linear Test in the Ridge Regression

Recent Developments in the Unit Root Problem for Moving Averages

Math 315: Linear Algebra Solutions to Assignment 6

Dynamic Econometric Models: Y t = + 0 X t + 1 X t X t k X t-k + e t. A. Autoregressive Model:

Math 106: Review for Final Exam, Part II. (x x 0 ) 2 = !

8. Basic RL and RC Circuits

Filtering Turbulent Signals Using Gaussian and non-gaussian Filters with Model Error

STRUCTURAL CHANGE IN TIME SERIES OF THE EXCHANGE RATES BETWEEN YEN-DOLLAR AND YEN-EURO IN

Errata (1 st Edition)

Hypothesis Testing in the Classical Normal Linear Regression Model. 1. Components of Hypothesis Tests

(10) (a) Derive and plot the spectrum of y. Discuss how the seasonality in the process is evident in spectrum.

ACE 562 Fall Lecture 5: The Simple Linear Regression Model: Sampling Properties of the Least Squares Estimators. by Professor Scott H.

ESTIMATION OF DYNAMIC PANEL DATA MODELS WHEN REGRESSION COEFFICIENTS AND INDIVIDUAL EFFECTS ARE TIME-VARYING

Nature Neuroscience: doi: /nn Supplementary Figure 1. Spike-count autocorrelations in time.

Lecture 4. Classical Linear Regression Model: Overview

APPENDIX AVAILABLE ON THE HEI WEB SITE

Modeling and Forecasting Volatility Autoregressive Conditional Heteroskedasticity Models. Economic Forecasting Anthony Tay Slide 1

ACE 562 Fall Lecture 8: The Simple Linear Regression Model: R 2, Reporting the Results and Prediction. by Professor Scott H.

Navneet Saini, Mayank Goyal, Vishal Bansal (2013); Term Project AML310; Indian Institute of Technology Delhi

OBJECTIVES OF TIME SERIES ANALYSIS

A Bayesian Approach to Spectral Analysis

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3

MODULE 3 FUNCTION OF A RANDOM VARIABLE AND ITS DISTRIBUTION LECTURES PROBABILITY DISTRIBUTION OF A FUNCTION OF A RANDOM VARIABLE

State-Space Models. Initialization, Estimation and Smoothing of the Kalman Filter

2. Nonlinear Conservation Law Equations

An Exceptional Generalization of the Poisson Distribution

V L. DT s D T s t. Figure 1: Buck-boost converter: inductor current i(t) in the continuous conduction mode.

PET467E-Analysis of Well Pressure Tests/2008 Spring Semester/İTÜ Midterm Examination (Duration 3:00 hours) Solutions

Differential Equations

Answers to QUIZ

MA 366 Review - Test # 1

Ensamble methods: Boosting

Inventory Control of Perishable Items in a Two-Echelon Supply Chain

ODEs II, Lecture 1: Homogeneous Linear Systems - I. Mike Raugh 1. March 8, 2004

Ensamble methods: Bagging and Boosting

U( θ, θ), U(θ 1/2, θ + 1/2) and Cauchy (θ) are not exponential families. (The proofs are not easy and require measure theory. See the references.

Stability. Coefficients may change over time. Evolution of the economy Policy changes

Regression with Time Series Data

Vectorautoregressive Model and Cointegration Analysis. Time Series Analysis Dr. Sevtap Kestel 1

Stochastic Model for Cancer Cell Growth through Single Forward Mutation

Transcription:

Soluion of Assignmen #2 Insrucor: A. Simchi Quesion #1: a r 1 c i 7, and λ n c i n i 7 38.7.189 An approximae 95% confidence inerval for λ is given by ˆλ ± 1.96 ˆλ r.189 ± 1.96.189 7.47.315 Noe ha he above confidence inerval is an approximae confidence inerval while for exponenial we can find an exac confidence inerval. In addiion, he confidence inerval is based on large sample while we have only 1 observaions. Therefore, i is beer o use he following formula o find a 95% confidence inerval for λ. ˆλ χ 2 2r,.975 2r ˆλ χ 2 2r,.25 2r ˆλ χ 2 14,.975 14 ˆλ χ 2 14,.25 14.189 5.62872 14.189 26.119 14.73.337 b For exponenial disribuion S4 e 4λ. A 95% confidence inerval for λ, from par a, is.73,.337. So a 95% confidence inerval for S4 e 4λ is e 4.337, e 4.73.2597,.7468 Anoher way o find a 95% confidence inerval for gλ S4 e 4λ is o use gˆλ ± 1.96 S.E. gˆλ where Var gˆλ 2 d dλ gλ Varˆλ 4e 4λ 2 λ 2 r S.E. gˆλ 4e ˆλ 4ˆλ r So a 95% confidence inerval for gλ S4 e 4λ is gˆλ ± 1.96 S.E. gˆλ e 4.189 4.189.189 ± 1.96 4e 7.485 ±.26.225,.745 1

] exp[±1.96 S.Eˆν] Anoher 95% confidence inerval for S4 is [Ŝ4 where So Varˆν Var gˆλ ν ln [ ln S4] ln 4 + ln λ gλ 2 d dλ gλ Varˆλ Therefore a 95% confidence inerval for S4 is 2 1 λ 2 λ r 1 r 1 7 S.Eˆν 1 7 ] exp[±1.96 S.Eˆν] [Ŝ4 [e 4.189] exp[±1.96/ 7].219,.78 I should be menioned ha he las wo confidence inervals are approximae confidence inervals and hey are based on large samples while we have only 1 observaions in his problem.so we should use he firs confidence inerval. Quesion #2: a For Weibull disribuion, ˆγ, Weibull shape, and is sandard deviaion are given by SAS. To find ˆλ and is sandard deviaion, we have λ e β gβ. So Var ˆλ 2 d gβ Var dβ ˆβ e β 2 Var ˆβ S.E.ˆλ e ˆβ S.E. ˆβ Therefore, for group 1, we have ˆγ 1 1.5948, S.E.ˆγ 1.323, and ˆλ 1 e ˆβ e 3.1939.41 and S.E.ˆλ 1 e 3.1939.185.74 Similarly, for group 2, we have ˆγ 2.542, S.E.ˆγ 2.1432, and ˆλ 2 e ˆβ e 5.419.45 and S.E.ˆλ 2 e 5.419 1.236.46 b The log-likelihoods for Weibull disribuion for wo groups 1 and 2 are - 32.4241 and -48.143, respecively. If γ 1, he Weibull disribuion reduces o an exponenial disribuion. So The log-likelihoods for Exponenial disribuion for wo groups 1 and 2 are -34.5645 and -51.5779, respecively. So for esing H : γ 1 γ 2 1 versus H 1 : γ 1 1 or γ 2 1, he es saisic is T S 2 {[ 34.5645 + 51.5779] [ 32.4241 + 48.143]} 11.368 The es saisic, under null hypohesis, has a chi-square disribuion wih 4 2 2 degrees of freedom. Therefore, P -value P T S > 11.368.34. Since p-value is less han α.5, we rejec H. 2

c For Weibull disribuion we have S exp [ λ γ ]. So In addiion, For Group 1 : Ŝ15 exp { [.415] 1.5948}.9232 For Group 2 : Ŝ25 exp { [.455].542}.8792 ν ln [ ln S5] γ ln5λ γ ln λ + ln 5 1 σ β + ln 5 Hence ν β 1 σ, ν σ 1 σ β 2 + ln 5, and ν ν Var ˆβ Cov Varˆν ˆβ, ˆσ β σ Cov ˆβ, ˆσ Varˆσ Therefore, for group 1, we have ν β 1.627 1.5949, ν σ ν β ν σ 1 3.1939 + ln 5 4.34,.627 2 and Varˆν 1 1.5949 4.34.3258.1136.1136.1613.2146 S.E.ˆν 1.2146.4632 1.5949 4.34 Similarly, for group 2, we have ν β 1 1.8512.542, ν σ 1 5.419 + ln 5 1.193, 1.8512 2 and Varˆν 2.542 1.193 1.47816.42944.42944.24663.974 S.E.ˆν 2.974.3121.542 1.193 Finally, 95% confidence inervals for S 1 5 and S 2 5, respecively, are given by ] exp[±1.96 S.Eˆν1] [Ŝ1 5 [.9232] exp[±1.96.4632].823,.9683 ] exp[±1.96 S.Eˆν2] [Ŝ2 5 [.8792] exp[±1.96.3121].7887,.9325 The produc-limi esimae of S 1 5 is Ŝ15 Ŝ14.5.8994. A 95% confidence inerval for S 1 5 is.75322,.96122. Similarly, he produc-limi esimae of S 2 5 is Ŝ25 Ŝ13.5.87. A 95% confidence inerval for S 2 5 is.76335,.9373. Confidence inervals obained by produc limi esimaes are lile wider han confidence inervals obained from Weibull disribuions. 3

Quesion #3: a We find momen generaing funcion of Y 2nˆµ/µ 2nλT Ee uy E e u2nλt E e u2λ n Ti n E e 2λuTi E e 2λuTi Since T i are independen. The momen generaing funcion of T i is Ee uti 1 u/λ 1. Hence Therefore, Ee 2λuTi 1 2λu/λ 1 1 2u 1 Ee uy 1 2u 1 1 2u n Noe ha 1 2u n is he momen generaing funcion of a Chi-Square disribuion wih degrees of freedom 2n. Since momen generaing funcion uniquely deermine he disribuion, Y has a Chi-Square disribuion wih degrees of freedom 2n and his complees he proof. b Suppose T 1, T 2,, T n is a random sample from an exponenial disribuion wih parameer λ. We will solve he problem when he disribuion is woparameer exponenial afer ha. The join disribuion of T 1, T 2,, T n is g n [ ] T 1, T 2,, T n n! ft i n! λe λt i n! λ n exp λ T i We will find he join disribuion of W 1 nt 1 and W i n i + 1T i T i 1 for i 2,, n Noe ha n T i n W i and he Jacobian of he he ransformaion is J 1/n!. Therefore, he join disribuion of W 1, W 2, W n is f W 1, W 2,, W n n!g W 1, W 2,, W n J [ ] λ n exp λ W i λ e λw i This means ha W 1, W 2, W n are independen and W i has an exponenial disribuion wih parameer λ. On he oher hand, Y n Ti T 1 T i nt 1 T i nt 1 4 W i W 1 i2 W i

The momen generaing funcion of Y is [ ] n Ee uy E exp u W i E e uwi i2 1 u/λ n 1 12 Ee uwi 12 1 u/λ 1 This is he momen generaing funcion of a gamma disribuion wih parameers n 1 and λ. Since momen generaing funcion uniquely deermine he disribuion, Y has a gamma disribuion wih parameers n 1 and λ. Now, if T 1, T 2,, T n is a random sample from wo-parameer disribuion wih parameer λ and G, hen T 1 G, T 2 G,, T n G is a random sample from an exponenial disribuion wih parameer λ. Therefore, T 1 G, T 2 G,, T n G is he order saisics in a random sample of size nfrom an exponenial disribuion wih parameer λ. Hence, by he above resuls, W 1 n T 1 G and W i n i + 1 [ T i G T i 1 G ] n i + 1T i T i 1, i 2,, n, are independen and have a exponenial disribuion wih parameer λ. In addiion n Y Ti T 1 i2 W i has a gamma disribuion wih parameers n 1 and λ. Quesion #4: a We proved, in par b of quesion #3, ha W 1 n T 1 G and W i n i + 1T i T i 1 for i 2,, n are independen and have a exponenial disribuion wih parameer λ. I will use PROC LIfETEST o check wheher W 2,, W n is a random sample from an exponenial disribuion You can also use Cox-Snell residuals plo o check wheher W 2,, W n is a random sample from an exponenial disribuion. The plos on ln Ŝ versus for Types A and B are given in he las page. Boh plos show no serious deviaion from sraigh line and herefore we canno rejec ha he daa does no have wo-parameer exponenial disribuion. b As I showed in he class, since T 1, T 2,, T n are independen and have wo parameer exponenial disribuion, he maximum likelihood esimae of λ is ˆλ n n n i2 W n. i i2 Ti T 1 12 In addiion, by using par b of quesion #3, We know ha W 1 n T 1 G and W i n i + 1T i T i 1 for i 2,, n 5

are independen and have a exponenial disribuion wih parameer λ. In addiion Y n i2 W i has a gamma disribuion wih parameers n 1 and λ. Hence, by par a of quesion #3, 2λY has a Chi-square wih 2n 1 degrees of freedom. Therefore, a 11 α% confidence inerval for λ is given by ˆλ χ 2 2n 1,.975 2n ˆλ χ 2 2n 1,.25 2n For ype A, we have ˆλ 12/659.7.1819 and a 95% confidence inerval for λ is ˆλ χ 2 212 1,.975 ˆλ χ 2 212 1,.25 212 212.1819 1.9823.1819 36.787 24 24.83.279 Similarly, for ype B, we have ˆλ 12/788.7.152 and a 95% confidence inerval for λ is ˆλ χ 2 212 1,.975 ˆλ χ 2 212 1,.25 212 212.152 1.9823.152 36.787 24 24.69.233 Quesion #5: a By using he Fundamenal Theorem of Calculus, we have d Sx dx Sx d In addiion Therefore, lim lim m lim n S lim n Sx dx lim S lim f Sx dx S lim S S f lim lim f f lim S f lim f f By using L Hospial s Rule S f 1 lim By using L Hospial s Rule dd ln f 1 6

b The p.d.f. of a gamma disribuion is f λ Γγ λγ 1 e λ So λ d ln f ln f ln + γ 1 lnλ λ γ 1 λ Γγ d Therefore, by using par a, we have lim m lim d 1 d ln f lim λ γ 1 1 λ 1 1 λ f The p.d.f. of a log-normal disribuion is [ 1 f σ 2π exp 1 ] ln µ2 2σ2 So 1 ln f ln + ln σ 2π 1 ln µ2 2σ2 d ln f 1 d + 1 ln µ σ 2 1 + 1 ln σ 2 µ, as, since, by using L Hospial s Rule, Therefore, by using par a, we have ln 1/ lim lim 1 lim 1. lim m lim d 1 d ln f, as. Quesion #6: [ H hxdx α + β ] dx [αx + β lnx + γ] o x + γ + γ + γ α + β ln + γ β lnγ α + β ln α + ln γ γ β 7

{ [ ]} β + γ S exp { H} exp α + ln γ f hs [ α + β ] β γ e α + γ + γ You can also find fx by using, for example, fx S x. β γ e α + γ Quesion #7: So f, λ f λgλ λe λ λ k 1 e λ/α f f, λ dλ α k Γk Le u [ + 1/α]λ du [ + 1/α] dλ. Then λk α k Γk e [+1/α]λ λ k α k Γk e [+1/α]λ dλ f 1 α k Γk 1 α k [ + 1/α] k+1 k u e u du + 1/α + 1/α u k e u du Γk α Γk + 1 αk α + 1 k+1 Γk α + 1 k+1 Therefore and S f fxdx Since h f/s, we have h kα 1 + α k+1 >, k >, α > kα 1 + αx k+1 dx [ 1 + αx k] 1 1 + α k kα/1 + αk+1 1/1 + α k kα 1 + α 8

Log- Sur vi val pl o f or ype A 2. 5 2. 1. 5 1.. 5. 25 5 75 1 125 15 Ti mea Log- Sur vi val pl o f or ype B 2. 5 2. 1. 5 1.. 5. 25 5 75 1 125 15 175 2 Ti meb