Skip to content

Commit

Permalink
SET_MCMC timings
Browse files Browse the repository at this point in the history
  • Loading branch information
rsbivand committed Jul 12, 2023
1 parent dd442eb commit d038b86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions man/SET_MCMC.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ neighbours, if FALSE (default) assign NA}
#require("spdep", quietly=TRUE)
data(oldcol, package="spdep")
lw <- spdep::nb2listw(COL.nb, style="W")
ev <- eigenw(lw)
W <- as(lw, "CsparseMatrix")
trMatc <- trW(W, type="mult")
require("coda", quietly=TRUE)
set.seed(1)
COL.err.Bayes <- spBreg_err(CRIME ~ INC + HOVAL, data=COL.OLD, listw=lw)
print(summary(COL.err.Bayes))
print(raftery.diag(COL.err.Bayes, r=0.01))
\dontrun{
ev <- eigenw(lw)
W <- as(lw, "CsparseMatrix")
trMatc <- trW(W, type="mult")
set.seed(1)
COL.err.Bayes <- spBreg_err(CRIME ~ INC + HOVAL, data=COL.OLD, listw=lw,
control=list(prior=list(lambdaMH=TRUE)))
Expand Down

0 comments on commit d038b86

Please sign in to comment.