R code Flashcards

1
Q

accept-reject step for Metropolis

A

cand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

reject and accept step for Metropolis-Hastings

A

cand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how is autocovariance acf() used?

A

plot the lag plot to check that the the Xi are independent:
should have 1 at lag 0 and very small at others

cross-covariance can also be used to check independence btw two set of RV Xi and Yi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

function used for monte carlo integration?

A

mean(phi) where phi is a n-vector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly