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.

ALTERNATIVE ALGORITHMS 403distribution <strong>of</strong> λ is a beta distribution with positive parameters α and β, then the posteriordistribution <strong>of</strong> λ is a beta distribution with parameters α+mn and β + ∑ ni=1 x i .Next we consider the case <strong>of</strong> a normal distribution with an unknown mean µand an unknown precision η. The two-dimensional prior distribution is partitioned asP(µ, η) = P(µ | η)P(η).Result 7: Suppose that x 1 ,...,x n form a random sample from a normal distributionwith an unknown mean µ and an unknown precision η. Suppose also that theconditional distribution <strong>of</strong> µ given η = η o is a normal distribution with mean µ oand precision τ o η o and the marginal distribution <strong>of</strong> η is a gamma distribution withpositive parameters α and β. Then the conditional posterior distribution <strong>of</strong> µ givenη = η o is a normal distribution with mean µ ∗ and precision η ∗ ,µ ∗ = τ oµ o + n ¯xτ o + nand η ∗ = (τ o + n)η o ,where ¯x = ∑ ni=1 x i /n is the sample mean, and the marginal posterior distribution <strong>of</strong>η is a gamma distribution with parameters α + (n/2) and β ∗ ,whereβ ∗ = β + 1 2n∑(x i −¯x) 2 + τ on( ¯x − µ o ) 2.2(τ o + n)i=1When the conditional variance <strong>of</strong> a random variable is <strong>of</strong> interest, inverted chisquareddistribution (or inverse chi-squared) is <strong>of</strong>ten used. A random variable Yhas an inverted chi-squared distribution with v degrees <strong>of</strong> freedom if 1/Y followsa chi-squared distribution with the same degrees <strong>of</strong> freedom. The probability densityfunction <strong>of</strong> Y isf (y | v) = 2−v/2Ɣ(v/2) y−(v/2+1) e −1/(2y) , y > 0.For this distribution, we have E(Y ) = 1/(v − 2) if v>2andVar(Y ) = 2/[(v −2) 2 (v − 4)] if v>4.Result 8: Suppose that a 1 ,...,a n form a random sample from a normal distributionwith mean zero and variance σ 2 . Suppose also that the prior distribution <strong>of</strong> σ 2is an inverted chi-squared distribution with v degrees <strong>of</strong> freedom [i.e., (vλ)/σ 2 ∼ χv 2,where λ>0]. Then the posterior distribution <strong>of</strong> σ 2 is also an inverted chi-squareddistribution with v + n degrees <strong>of</strong> freedom—that is, (vλ + ∑ ni=1 ai 2)/σ 2 ∼ χv+n 2 .10.4 ALTERNATIVE ALGORITHMS<strong>In</strong> many applications, there are no closed-form solutions for the conditional posteriordistributions. But many clever alternative algorithms have been devised in the statis-

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

Saved successfully!

Ooh no, something went wrong!