12.07.2015 Views

"Frontmatter". In: Analysis of Financial Time Series

"Frontmatter". In: Analysis of Financial Time Series

"Frontmatter". In: Analysis of Financial Time Series

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

216 HIGH-FREQUENCY DATAbyh(x) = f (x)S(x)(5.57)where f (.) and S(.) are the pdf and survival function <strong>of</strong> X, respectively.Example 5.6. For the Weibull distribution with parameters α and β, the survivalfunction and hazard function are:[ ( ) x α ]S(x | α, β) = exp − ,βh(x | α, β) = α β α xα−1 , x > 0.<strong>In</strong> particular, when α = 1, we have h(x | β) = 1/β. Therefore, for an exponentialdistribution, the hazard function is constant. For a Weibull distribution, the hazard isa monotone function. If α>1, then the hazard function is monotonously increasing.If α 0.αAPPENDIX C.SOME RATS PROGRAMS FOR DURATION MODELSThe data used are adjusted time durations <strong>of</strong> intraday transactions <strong>of</strong> IBM stock fromNovember 1 to November 9, 1990. The file name is “ibm1to5.dat” and it has 3534observations.A. Program for Estimating a WACD(1, 1) Modelall 0 3534:1open data ibm1to5.datdata(org=obs) / x r1set psi = 1.0nonlin a0 a1 b1 alfrml gvar = a0+a1*x(t-1)+b1*psi(t-1)frml gma = %LNGAMMA(1.0+1.0/al)frml gln =al*gma(t)+log(al)-log(x(t)) $+al*log(x(t)/(psi(t)=gvar(t)))-(exp(gma(t))*x(t)/psi(t))**al

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!