Docsity
Trusted Seller

Recap teorico del corso Bayesian Statistics, Sintesi del corso di Statistica

Toggle sidebar
bg1
BASICS
OF
BAYESIAN
INFERENCE
based
on
probability
models
probabilities
to
express
Deliefs
about
Unknown
quantities
&
BAYESIAN
INFERENCE
·
model-based
with
unknown
parameters
~
update
them
Via
Bayes
rule
related
to
the
sampled
population
statistical
induction
:
learning
the
general
characteristics
of
a
population
from
a
subset
of
it
parameters
o
dataset
I
the
information
of
y
is
used
to
decrease
the
uncertainty
on
o
Y
(sample
space)
,
&
(parameter
Space)
:
find
the
value
that
best
represents
the
tile
o
set
of
all
datasets
set
of
all
parameters
&
Y
,
8)
random
elements
,
we
assign
1
.
FOEO
(8)
prior
(belief
that
O
is
the
true
population
characteristic)
>
knowledge
based
info
2
.
VOfE
,
VyfY
f(y1O)
likeliGood
(belief
that
y
is
the
outcome
if
we
knew
o
to
be
tice(
Once
we
obtainy
3
.
Off
(Oly)
posterior
(Delief
that
o
is
tile
value
given
y(
1
=
f
(y18(π(0)
Sof(y19(π(8)Do
BAYES'
TH
FOR
EVENTS
(e
.
%
,
IP)
probability
space
,
H
..
...,
Ho
partition
Of
&
S
.
t
.
IP(Hr)'O
FK
,
E-5
S
.
t
.
IPCE)sO
IP(HilE)
=H
H
IP
(ElHi)
IP
(Hil
*
=
IP(ElHi)
IP
(Hil
BAYES'
TH
FOR
RU
Y
,
O
TV
S
.
I
.
Y10-f)
.
10)
and
Out(
.
/
densities
1
TO1Y
=
y)
=
↑
(y18(π(0)
Sof(y19(π(8)Do
Y
,
, ....
IV
,
O
Random
Vect or
-
I
.
Po
distribution
of
110
With
density
(18)
-
dominated
model
probability
measure
on
(8
,
B(O1)
BAYES'
TH
FOR
DOMINATED
MODELS
IP(OfB11
=
4)
=
Sef(y10It(0)
do
-
Sof(119(π(8)Do
if
it
has
a
density
#(0(y)
=
f(y10(π(0)
-
Sof(y19(π(8)DO
marginal
density
My
(y)
REM
1
.
Y
,
,
.
.
..
%18
to1
TO1)
:
2
.
given
,
Y
available
at
different
times
·
choose
a
prior
for
s
and
update
it
using
only
y1
,
then
consider
the
posterior
Olde
as
D
new
prior
to
be
updated
using
only
%
)
equivalent
tra
-
·
update
the
prior
of
O
using
both
4
.
4
at
once
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Anteprima parziale del testo

Scarica Recap teorico del corso Bayesian Statistics e più Sintesi del corso in PDF di Statistica solo su Docsity!

BASICS OF BAYESIAN INFERENCE

based on

probability

models

probabilities

to

express

Deliefs about Unknown

quantities

&

BAYESIAN

INFERENCE

· model-based

with

unknown parameters

~

update

them Via

Bayes

rule

related

to the

sampled population

statistical induction

:

learning

the

general

characteristics of a

population

from a subset of it

parameters

o dataset

I

the information of

y

is used to decrease the

uncertainty

on o

Y

(sample space)

,

(parameter

Space)

:

find

the value that

best

represents the

tile o

set of all datasets set of all parameters

Y

,

  1. random elements

,

we

assign

1. FOEO(8)

prior (belief

that O is the true population

characteristic)

>

knowledge

based info

VOfE

,

VyfY f(y1O)

likeliGood (belief that

y

is the outcome if

we knew

o to be tice(

Once we

obtainy

3. Off

(Oly) posterior

(Delief that

o is tile value

given y(

1

= f

(y18(π(0)

Sof(y19(π(8)Do

BAYES' TH FOR EVENTS

(e

.

,

IP)

probability space

,

H

.. ...,

Ho

partition

Of &

S .

t

. IP(Hr)'O

FK

,

E-5 S

.

t

. IPCE)sO

IP(HilE)

=H

H

IP

(ElHi)

IP (Hil

=

IP(ElHi)

IP

(Hil

BAYES'

TH FOR RU

Y

,

O TV S

.

I. Y10-f)

.

  1. and

Out(

.

/ densities

1

TO1Y

=

y)

=

↑ (y18(π(0)

Sof(y19(π(8)Do

Y ,

IV

,

O

Random Vector

I

.

Po distribution

of

With

density

dominated model

probability

measure on (

,

B(O1)

BAYES'

TH FOR

DOMINATED MODELS IP(OfB

=

=

Sef(y10It(0)

do

Sof(119(π(8)Do

if it has a

density

#(0(y)

= f(y10(π(0)

Sof(y19(π(8)DO

marginal density

My

(y)

REM 1

.

Y

,

,

.. ..

%18 to

TO1)

:

given ,

Y

available at different times

·

choose a prior

fors and update

it

using only y1 ,

then consider the

posterior

Olde

as D new prior

to be

updated

using only

)

equivalent

tra

·

update

the

prior

of O

using

both

4

. 4

at once

INFERENTIAL

PROBLEMS

1 .

point

estimates

:

posterior

mean

, posterior

median

level of the interval

  1. interval estimates · credible intervals

(regions

if

O Multidimensional) ((8CIR S .

t .

1P(Of(11)"

&

·

C

=

(PM ,

Pa)

Where

an

=

-quantile

of

the

posterior

equal-tailed

(T)

·

c

=

(01T(Oly)

K1 With S

.

t .

/P

  • (0-Cly)

1-a

(highest probability density

interval(

hypothesis testing

Ho

: Of Go VS Hi

: Off ,

,

811 disjoint partition

of f

To = (80)

,

I

= 1

To 9 ,

PriOi densities Under Ho

,

H. <(0)

=

Topollo(0)

11-1o)9.

.

prior

mass of

the

hypotheses

Tof

(0)

& Go

#(0(y)

=

I

M(y)

M(y)

( t

090(8(

(1-To)Co

,

Fog

. (0)DO

(

1(f(y1819. (8)

Off ,

m(y)

posterior

odds

select Ho

if K

/

k 0 .

5

~

·

I'BFa

: evidence for Ho but not worth

more than a mention

· 10" BEo

,

" : Substantial evidence for

Ho

prior

odds

BAYES

FACTOR

BFo

· 10 :BFo

,

:

Strong

evidence for Ho

·

BFo" 10 : decisive evidence for

Ho

forecast new data:

posterior predictive

distribution Y

. ....

Yo

,

You

i

fo

~ Mynel

....,

in

(y/y ,

...

. yn)

=

Jof(y(8)π(8(y ,

..

.,

yn)DO

(Y

,

... .

Y) is

exchangeable

if

.....

=

2 (Y

,

... .

Yu)

8

permutation

it

.

Same definition for

a

sequence

(Yoln ,

↑

the Order

in which dand are recorded is irrelevant and does Not influence the distribution 2(y)

=

2(Yi)

,

,

=

Yi) , ...

exchangeability

s

:Symmetry

Dinary

Data

IP

(y

=

=

=

1P(Y

=

0

.

Y

=

=

IP(Y

= 1

.

/

=

:

the values of the joint

distribution do not depend

where we had

on but on their

total number

DE FINETH'S

TH

(YIn, Sequence

of

Dindiy

IV is

exchangeable

I 7 D

Probability

Measure

F

On (

.

.

B(

,

S

.

t

.

1P(Y

=

y 1,

....n

=

yn)

=

(0.

,

&(

O(

**

F(d8)

When (Yn ,

is

exchangeable

& Y

: ~FORD Y

,

..

18 Be(El

M

·

there's an

equivalence

between

exchangeable

trias of the same

phenomenon

and trials

independent

and with

a fixed

,

unknown

probability

specification

of

priors

informative

prior

:

incorporate

scientifically

relevant information available

·

reference

prior

: small impact

on the

analysis

~ flat PriOr

IT(8)

=

C 10

,

improper

if o is not bounded and

marginals

may

not exist

Posteriors

may

be just a normalization of

the likelihood

~

Jeffrey's

prior

T(0)

<

I(0)

,

/(locylo)))

=

/-clopf(y(0))

improper ,

invariant

to

monotone transformations

Fisher information

SIMULATION METHODS

random Variable

CIR"

,

O ~it

Target

distribution

(posterior

~

Monte Carlo method

: draw iid

Samples &"O" ...

from

it

,

to learn

features

of

i

TH (S((N) it

distribution Over O

,

h : 0 IR S.t . Joh(8)/it(dol

: a

,

o "

,

...

Sequence

of iv iid from I

~

1 .

F

=

[0")"

CORON(DO)

=

E

pe( .

  1. apparentile

of ha

empirical p-quantile

of 1h(8")

, ...,

h(8) I

if

we want

,

use h(8)

=

:

>

err

= F -

but now fast

TH (((T) it distribution Over 0

,

h : 0

< IR S .

t . Joh(0)lit(DO)

:

a

,

0 xVai(h(81)

=

0'

,

,

...

Sequence

of iV iid from I

> 1

.

T(FY

= N

.

.

om

=

1

Fa

  • 0

~

err"

=

N( .

)

andPerc =

<(1-0)

b)

close to 0 if

ilarge

MC standard error

if we want an iid sample

from

the

posterior predictive

distribution

augmentation

trick

Y X in but we can't

directly

sample

from

2(X. 1

,

7 X

.

S

.

t .

We can id

Sample

from

2(X

,

IX

.

and

2(X

:

1 ie

sample

from 2(X

,

X

.

and

obtain a

sequence

ofiid from

2(X

for t

=

1

, ...,

T

diaw

Xi -2(Xi)

·

diaw X

~

2 (XIXI)

(X

,

"

,

Xil ,

. ...

(X

Xi) 2(X

,

Xi) it

(X,

...,

X: )

2(Xi)

~>

apply

this method with 2(x)

=

2(Ymly

,

...,

·

2 (X

.

(x)

=

2 (Ym10)

,

2(x)

=

2 18 1Y

,

... .

Yn)

density

F(

.

Density

IT & / %

,

... ,

Yn)

REJECTION

SAMPLING

draw

from D

density

we

cannot

directly

sample

from

~ assume

[T(O)

<

(M(0) (" "(y

target

  1. diDN E-MC

.

) AND

Compute

iCtl

=

-CO

generate

U -U(

.

if

U : T(z) accept

8

=

z

,

Otherwise refuse

and

go

back to 1 .

MARKOV CHAIN MONTE

CARIO

~

SXn

,

sequence

of random elements With values

in ECIR" is D

time-homogeneous

MC if IP(XnfAIXo

=

Xo

,

... .

Xx

=

Xn)

=

IP(Xn

,

fA(Xx

=

Xn)

state space

P (Xn

,

A)

(Xn

,

A)

is D transition

probability

Kernel if

X--P(X

,

A)

is Measurable FA-E

A

P(X

,

A) is a

Probability

On (E

,

3) EXYE

probability

measure

it is

invariant if

(P(X ,

Alt(¢ X) =(A) FAE3" "TR

=

i

MC is -irreducible if FAEE S

.

t .

D(A)

:

0 7 n

=

n(X

,

A) 1 With P"(X

,

A)

:

0 FXEE .

MC

is irreducible if

S

.

t

.

it is

D-irreducible

prodability

measure

~

the Chain

Visits all

States in I finite

number of steps

MCMC

visits

the whole

support

of the

posterior

TH (CRITERIA

· MC

D-irreducible

if 57 1 S

.

t .

&"has I

strictly

positive

density

·

If

I

has discrete and absolute continuous

components

and 7721

S .

t

.

the

continuous

component

of " has

strictly

positive

density

wit

a

then

I

is

-irreducible

MC

irreducible with

↓"

maximal

irreducibility

distribution

is

recuirent if FAEE

S

.

t

. 4

(A)

and

IPx(XnEA i

.

0 .

> O

XX and 1x(XnEA

i

.

.

=

-D .

e .

Wit X

~

MC Teaches all states

infinitely

often

,

at least from almost all Initial

points

the posterior assigned

to

any

A

can be approximated

With the relative frequency

of

visits to A of the MCMC

MC irreducible and recurrent

is

positive

recurrent if it admits an invariant

probability

TH

0

IPx(XnfAi

.

.

=

1 AXfE

ERGODIC TH

FOR

HARRIS RECURRENT

S .

t

.

&(X

,

Ei)

= 1 j

=

i

1 MODM EXEEi

Harris

ergodic

TH

(1) (2)

Y It is invariant

:

reversibility

it

IT(X(p(X ,

y(x(X

,

y)

=

π(y)p(y ,

X(d(y .

X)

,

if

a(X

, y)

= π(y(p(y ,

X)(1)

=

π(y(p(y ,

X)

=

(2) s

(a(4 ,

X)

=

π(X(q(X ,

y)

(

a(y

,

x)

=

1

to check

irreducibility

we need

stronger

assumptions

on

p(X

,

·

random walk MH P(X , y)

=

f(y-X) ,

if f(x)10 FXEEx (XIn

is irreducible

,

recurrent

,

aperiodic

. The Candidate

is

accepted

if

iT(y)

:

π(x)

density

·

independence

MH

p(x , y)

=

f(y) ,

if

f(x)

D .

e .

On Et

WitM

>

(XIn is irreducible

,

recurrent

,

aperiodic

REM

1

.

T(X

< D .

e .

WitM

>

aperiodic

q(X , y)

:

0 XX

, y

EE

Positivity

Condition

Exix

,

fyx

O

  1. Tx

,

In exist it it NOT

improper

·

p-dimensional

parameter

rector 1 .

At iteration R (Xi"

=

X ,

"

.....

Xi

=

X)

,

Simulate

X ***

~

FxIx

.

....

)

.

/X

....

Xi

2. X

&

**

~

fx2/X

,

X

,

...,

.

1X

!

"

,

X?, ...

,

Xp)

p

. X

~

Expixe

.....

Xp)

.

/X"

....,

Xil

p

    1. Advance to

n + 1

GiDDS

SampleT

= MH in which each

component

is

updated

Sequentially

and x

=

1

CONVERGENCE DIAGNOSTIC

·

trace

plots

=

history

of the generated

iterates for each

parameter

as D time Series

~

if

converges ,

should look like white noise

·

autocorrelation plots

=

Daiplots

of

jo

:

1

,

9 ,

...

~

should decrease as

lag

increases

~priance of h(8")

·

Markov Chain StandDiD

error

=

stanDDID

deviation of

F

:

ie

=

[Vit(h(Xo))

[COVR(X

,

n(

Correlation Between↓(8")

,

h(8)

variance of Monte (Gile

O

01

0

Stypically

OCCUT

TT

estimate

(*)

=

(

:

good

values should be small

>

U

,

empirical

covariances

Ür

empirical

variance

·

effective

sample

size

=

of I

samples

We should id simulate from the

posterior

to

get

the Markov Chain Se we have obtained

~ S .

t .

Vi(h)

= :

Should be

High

i

invertible

> P

·

reference

prior

ISB ,

[1 <

[10(t)

:

BIE.

I

. X-N(B.

[ (XX(

:

)

[

.

X-COMMD(PP

,

·

conditionally Conjugate

independence

prior

B

[

B-

N(Do

.

Bol [

gamma

(D

.

DI SEMICONJUGATE

invertible PXP

the full conditionals

die N

,

Gamma

GENERALIZED LINEAR MODELS

: Y is

generated

fromD distribution in the

exponentiDl

family

random

component

Y

: /X:

-exp-family

scale parameter

>

f(y

.. y)

=

exp(y

-b(5)

, 41)

natural parameter

linear

predictor

=

XiB

link

function

(Mi)

=

indepently sample

epch Z :

(BIZ

,

Y)

<

[N(z i XiB1t(BI

a

NCE

.

B

N(Do

,

Bo

HIERARCHICAL MODELS

~

models with latent variables U

,

treated

as

parameters

Ply .

.

Plaid

,

Nol

.

=

plys ,

dipiriditio

and

plo ,

byl

a

,

multilevel model

future data

>

p(t ,

y)

=

) P(tly ,

,

Ulp(O , Uly)dOdr

we need to

be

able to sample

from

p(810. y) .

P(U .

. PCEly ,

.

ANOVA

MODEL

Y

.

Yn

:

: i p(y(Vil

Within

-Group

model Yes

.....

Ynil Gi

,

8'ü

N98.

,

U

,

....

do

~

P

between-group

model

~

G

. ...,

t -

NCM ,

Il

PrIOT

6

~

gamma

(ro

,

ros

I gem(D

,

M

M-NMo l l

1

thanks to

exchangeability ,

information is Shared DCOSS

groups

/. N.

to-Mosmall

the

Bayesian

estimee

&. T'Doirows

info from Other

groups

Y

:

=

Observation

representing

the j-th unit within the i-th

group

Xi

= Unit-level Covariates

~

within

-proup heterogeneity

described

as Y :

=

X Bi

+ E

di

N

.

1 :

Y:/B :,

0

NIXiBi.

0'Ini

group

specific regression

coefficients

linear mixed effects model

across-group heterogeneity

described as

Bil

NC

,

l

I

Bi

=

8 + Vi VilzN

l

.

~ π(8) x

Yi

=

X

Misti

  • Eis

fixed effect random effect

more

generally

Y

=

X

ZiVi

  • Eis

~

ti

,

Xis

May

De of different

lengths

group-specific

.

,

(Il

10 With

O-N(Mo.

Lol I

INV WisMArt (So

0 O ~inVGamma

(To

,

Tool

Prediction of

a

new subject from D new

group

  1. CTC

  2. ye

,

Burl

y1 ,

. ...

Ym.

X

1

... .

Xm

,

X

=

)

2(Ym

,

Bmu

,

DB,

.

.... DBm

,

DO

.

DE 1

DDtD X

=

(2(Ym

Bm

.

X

**

(DB

1,

.

Bm

, Bm ,

DO

.

DOtO

,

Xer

/

=

(

(Ym

Bm.

X

**

(Bmal

Be. .. .

Bm

.

.

.

DDD

,

Xe)

2(DB,

...

Bm

,

DO

/DOtO)

=

(

(Ym /

Bm.

X

**

(Bm

.

,

(DB,

..

Bm

,

DO

.

data)

=

2(Y/B c

..

.

. Bm

,

X12(

B ,

...

.

Bm

,

Bun

,

.

<

2(Bm

,

1

. diaw (

,

21 from their

posterior

  1. draw

new

pridmeters &

from the

population

distribution N

,

3

. draw O' from its

marginal

posterior

4

. draw

I given i

from

the likelinood

Prediction

of new

subject

from an

existing gioup

(Y/DDTO

,

X*)

=

(2(Y

,

DBi

,

DO

.

DE 1DDtO

,

X)

=

(

(Ye /

Bi ,

Xe)2) d

Bi ,

DO

.

C1DDtD(

2. DDD D

penalization term

WAl.

=opm(y

:

ly ,

Mil-

Pw

= (PML ,

for i

large

=(

Mi

=V

Talog(yidi

,

Mil

it Could be WAlC i

=

2 (PPB

; + Pw >

> smallest

MODEL CHECKING

: are data consistent with the selected Model

?

~"Outlier detection via

predictive

tail

probabilities

P

:=

MinSIP(

=

:

M)

,

IP(5

hierarchical Mixture model

glIETYIX))

=

X

. Bi

+... +

XvBr

duxiliDiy

variables

=

[Ve

, ...,

Uk)

Vie

,

11 indicates if

the associated variable enters the Model U Be(0)"/B

.

U)

=

IBIOSTU

probability

that B: is large enough

to

implement

this

: SPIKE AND SLAB PRIOR induces a

positive

prior probability

On

Ho :

Br

=

0

Bilo

WiNO

i

in STAN : SSUS With

Spike-gaussian

concentrated at

o

slab-gussion widely

spread

:

~

π(d)

=

U(

,

Marginal

CRITERIA

I(Uoly)

=

P(y18(IT(8)

posterior

model

[

P(y([)

highest

posterior probability

CIgMex(Uly)

=

Diga

MCMC values from the posterior marginal

of u

median

probability

model; :( :

=

(1y)

=

marginal

posterior

inclusion probability

Hard

Shrinkage

Select all covariates such that of

in the

posterior

marginal credibility

interval of

the

regressor

SURVIVAL ANALYSIS

~

analysis

of data

that crise

when

studying

the time until the occurrence of an

event

: time-to-event data

(exchangeable)

positive

and absolutely

continuous

ivs

.

Could

be censored

T

=

Survival time (positive and

absolutely

continuous)

>

F(t)

=

IP(Tit)

Survival function

S(t)

=

1

F(t)

=

1P(Ty t)

nazarD function h(t)

=

IP(tTetttITYt

= f(t -

F(t)

=

1-exp(-[n(v1du

0 and

IP(T(t

  • S(T

t)

=

exp(-(n(u)(x)

#t S(t)

~

propensity

to failure

·

increasing

failure rate

Ch(t)

increasing

(T

t + S(T

t))P(T

=

S)

·

decreasing

failure rate (h(t)

decreasing)

IP(Tit

+ /T

t)

:

PCT

:

S(

REM h(t)

=

constant

< <

F(t)

=

exp(0)

Data

can be censored

: 1.

Tight censoring

(it's not

possible

to

observe the event of

interest due to another event occurring prior

to it(

if

we're not able to observe the

actual time that an event occuried

C

=

censoring

time

> Y:

=

MindT

,

CI

6

=

4

if T

= C

if the event

is censored

O if

TY C

left

censoring

(a

patient entering

late in the

study

(

3. interval

censoring

(partially

observed data (

Assumptions independent

censoring

TIC

·

Moninformative

censoring

G(c)

=

IP)) < c) doesn't

depend

on the

parameters

of S(t)

We

only

consider

right

censored data

:

. S

:

) Observations

,

(T

..

C)

/f))

,

9() f((9))

= Y

=

(Tild(C)"

Si

=

Ildriscil

~

sampling

distribution

P(34e ,

Se

, ....

(4n ,

f)

10

=

Ef

. 914 = PC .

Gild

di

= 1

~

P(4:,

=

1181

=

IP(y:

=

Ti

,

Ti < C :

=

f(y

:

/(1-G(y

:

·

Si

=

0

>

PS

i, fi

= 0181

=

1P(y

= Co

,

TixCi18)

=

glyi)(1-F(yil

4(y. ,

6

:

18)a((

:

/ if

Si

= 1

>

p(y

,

....,

,

63183 a 9f(yll

(1-F(y)"

Ch(yill

"

S(

:

)

noninformative censoring

F(y

:

if

Si

= 0

h(yi)S(yil S(yi)

we must

define f)

.

)

~

f() -

family

of distributions indexed

Dy

S

(parametric

Models)

:

given

it (0) we can simulate

from

IT(Oly ,

61 by

MCMC

and

perform

inference

~

lECTIO]

,

IP(T

>

+10)

,

hCtIO)

mean survival time survival

probability

at a fixed time

number of uncensored obs

i ,

, ...,

[8 -3(

:

n(t

=

0

.

P(y ,

  1. a

(e)1-11-

=

=

Qhg-ousi

~

gamma

(a

,

B)

=

Oly ,

6

gamme (a

  • 1

. B +

conjugate

prior

SPATIAL MODELS

Spatial

Data 1 . Point-referenced

data Y/s) random Vector at location SEIR" that varies

continuously

Over

DCIRi

Contains Di-dim rectangle

of positive volume

Grea datDY(S)

.

SED

,

D

partitioned into

a finite number

of drea

units With well defined Doundaries

Point pattern

data Y(S)

,

SED

.

D

random and the index set of

D

gives

the location of random events that are

spatial point pattern

spatial

pattern measurements for drea

l units

near

to each

other will be

more similar

1 measurement

:

>no

spatial pattern

POINT-REFERENCED DATA (Y(S

,

SEDI DCIR' Stochastic

process

,

1 locations S

, ...,

Sn x data

(y(S

,

)

,

... , y(Sn))

=

The process

is

strictly stationary

if

US

.

,. ..,

So

,

n 2(Y(S 1

.

... .

y(S

  • ))

=

2(Y(Se

h)

.. .,

Y(Si + h)

(h) is the

Semivariogram

if

.

Under lE(y(Sth)

Y (S))

=

.

E((y(Sth)

y(S((

"

=

var(y(Sth)

Y(S))

=

20(h)

= y(S) is

intrinsic

stationaly

depending

only

on h

~

r(n)

=

((h)

= =

((n)

=

r(h)

=

MU(u)

U(h)

Covariance

REM

(weakly) Stationary

~

intrinsic

The

process is

isotiopic

if

U(h)

=

r(IInl)

REM intrincic

stationary

and

isotropic

=

homogeneous

exponential USDI-USINI)

=

T + 01-e)

if

if 0

E

G if

a

= 0

(D)

=

C(h(1)

=

20

fa

=

0

liU(d)

non-spatial

variability

R

= 1

range

,

I

decay .

Ro

effective

range

& distance for which theGirelation is negligible

T + 0

=M

U(D)

sill

,

o partial

Sil

powered exponential

USD)

=

USDI)

=

T + 01-e)

if d

-D

: 2

E

G if

a

= 0

(D)

=

(CIh(1)

=

LGO

·

gussian

Cal

=

Se

if e

if C

=

0

modified Bessel Function

·

matern

r(a)

=

(t

  • 0

Kl

if a

= 0

((x)

=

(

Kudd i

o

if C

=

0

T +

if C

=

0

non-spatial

residual a so called hierarchical

Y (S)

=

X

(S(B

+ w(S) +

3(S)

·

SW/sis

spatial gaussian

process

,

involving

[

in the distribution

I

nomogeneous

model with

((D)

spatial

residuals

·

(2(s)) uncorrelated

pure

error terms

exp/power exp/mater

GAUSSIAN SPATIAL REGRESSION MODEL

Y /w

, B ,

t

=

N(XB

  • W

,

EI) 8 i y /

B ,

N(XB ,

0'H(0)

EG)

W10-NO

.

[(

E

(0) With entries

09

(IlS: -Sill

:

Ol

His

=

g(llS

: -Sill : Pl

B

N &

MB ,

[B)

=

100

.

[1)

I informative 0

d

.

t' D

Priori

I

,

O'vinvgamma & -i

T

~

invGamma

Bayesian Kriping

=

prediction P (01y ,

X

,

X0)

=

( P(40 , B ,

Oly ,

X

, X01DBDO

=

/

P(4014 , B .

O

. X01P(B ,

,

XICBOO

~

assuming ( .

41/B , ~N/XXB

L

Dugmented

from O'H(P) +

[ In

Or distance between

i

,

j

AREAL DATA

Y

=

(Y

1

,

... ,

Y)

Continuous/bindry/

Count

: 11 died

Units S

=

=

diag)

[ , ...,

il

~

X 1yi

N/Diyi ,

ti)

full conditionals

:

P(y...... yn)

a

expl-YYD")I-BIY)

joint

IOW

,

Y

-NCO

,

[

·

Ex

=

CI-BLD

#is'

must be symmetric

can be extended to exp family

=

diag)Wer ,

...,

With

if Di

=

W

=plye ...

&PD-Wq)

BUT Dr-W

is singular

IMPROPER

Wit

MODIFIED

CAR

[T

=

gDr-W

S .

t

.

it

IS

ROM-SingUlaiY

:

/y

  • :

~

N(p FWisSi ,

S

(

,

,

prior

with mass near 1

L sed when data die counts

G (MM + CAR

prior

on

spatial

random effects Y vector of responses .

& Vector of

Know Offsets

modelled

by

X

=

(Xi

Xi)

Matrix of

covariates and @

=

Q

N(

,

T'2')

SPATIO-TEMPORAL MODELS

spatio-temporal Greal

Units

Modelling

With CAR priois and QutoCorrelated

randOm effects Ukt

~ K areal units

,

N time periods

Yat

((k

  • ~f(Ya+ /(xt ,

5

Mk

+= X=

B

  • Ore + Nkt

B

~

N(Mo

·

PROP Y

, ,

.. ..

%

P

.

P-Da

: P1Y

.....

Yn

~Date

(Conjugate

DiriChlet prior

·

D

posteriori

the total mass parameter

is D + M

·

a posteriori

the mean

parameter

is

a))

d

=

:fornlarge

the

estimate

forP

is the

empirica

estinate

a

1

Support

=

Si allest Closet Set C[PS

.

ti(c)

=

1

< for the Dirichlet

process

Supp(Dal

=

Pm"

  • &

~

Dax

Xm (IR)

Probability

measure On

IR

AmO

~

In"

Sx

,

X do

Alm"

~ Pin do

MARGINAL DISTRIBUTION discietness Of DP

:

Positive probability

of

ties

among

X

(POlyDYin)

~

indiginal

distribution 2 (Y

.

....

(n)

=

2 (X (2)

  • (4) ...

2 (Yn / Y

,

. ..

,

Yn)

·

2(x)

=

S

,

2 (Y,

14/2 (DP)

=

S

,

P2(DP)

= ESP

=

do

:

any

Marginal

distribution of Y: is do

~

P

·

2 (Yc (4)

=

,

·D

P(Y)

=

S

,

2 (Y 19

,

Y .

12 (DPIY)

=

,

2(Yc1P(2(@P1Y)

=

(PDan

(DP)

=

p

S

·

2

(Yn/Y

,

... .

Ym)

=

(2(Y/P(2(DPIY

,

... .

Ym)

=

a

(n)

C + n

1

~ 2(Y

.

... ,

Yn)

=

&D

the

mechanism of

sampling

from

it is called

generalized POlyD

IM

DIRICHLET PROCESS MIXTURE MODEL limitation Of the Dirichlet

process

: distributions Die disciete

: for Continuous densities : USe

(Dirichet process

random measure as the mixting

measure

Y &

parameter space

in a

mixture Over

a Simple parametric

form

  • Of & . K(y ,
  1. Continuous

probability

density

function

,

I defined on

0

:

f(y

=

Jok(y

.

81P(48) Mixture of

K

.

01 Wit

I

Y

,

, ....

Yn(p

f(y)

=

Sok(y.

0(P(DO)

·

k(y ,

=

density

of N(

.

·

k(y.

=

density

of

N(M.

~ Da

·

k( ,

=

density

of a

gamma/Weibull

if

O

REM

If

P iS ConStrUCteD ViD

D

Stick-Diecking process" f(y) =

k(y .

[Vi

equivalent representation

is %18. K).

,

:

/ indeed

.

(P)

=

Jah(Y

.

Do . , ....

DOIP)

=

Sa2(Y......

Yn

,

...,

/2 (DO

,

....

Don19)

=

(2(Y

:

18 : 12 (D

, ...,

In 1P P

=

Sok(yc ,

(P(DO)

... Sek(4 ,

On)P(P)

P

~

Da

the

posterior

distribution of P is a Mixture of Dirichlet

processes

PlY

.....

Yn

SonDatasaH

(DO

.

. .. ,

Don I Ye

,

... .

Yn)

not simple

to compute

Bayesian

estimate of fly)

is

(f(y)ly .

=

E(Sok(y ,

81p(40)/y

.

. ... )

=

SoK(y.

81CE/PlY

.....

Yn] (DOl)

probability

On IR

CLUSTERING

The

previous

formulation Of

DiriChlet Process Mixture Model induces D

probability

model on the clusters of

items [

,

2

.....

MI

discrete nature

:

positive probability

for ties among

the latent

:

& j

=

1

,

.... K

in

unique

values in ( , ....

.

Si

=

di : 8

:

=

P)

,

M

i

=

IS

.

l

. Se

:

IS

.

. ....

Sul random (can

only

assume a

finite

number of values (

forms a partition

of 21

....,

14

Dirichlet

process

Mixture Model

implies

D

prior

on

gn

Dby

OS)

:

we can

compute

the posterior of

g

given

data and estimate the

clustering

might

be different that the One induced

by

DP

=

=

CrgMinE((

,

XIY

n]

Bayesian

Monparametric

Model-based

apprODCh

to

Clustering

loss function