loglikbridge: Compute the so called "Log-likelihood bridge" process.

Description Usage Arguments Value Examples

Description

Compute the so called "Log-likelihood bridge" process.

Usage

1

Arguments

X

MCMC sampling sequence of length N

Value

log-likelihood sequence

LL=≤ft\{ll_n\right\}_{2≤q n≤q N-2}, ll_n=N*ln(\hat σ_{1,N}^2)-n*ln(\hat σ_{1,n}^2)-(N-n)ln(\hat σ_{n+1,N}^2)

Examples

1
2
3
x = AR1(rho=0)
llb = loglikbridge(x)
plot(llb,type='l',col='red')

codadiags documentation built on May 1, 2019, 9:26 p.m.