EBImoran.mc(n, x, listw, nsim, zero.policy = NULL,
alternative = "greater", spChk=NULL, return_boot=FALSE,
subtract_mean_in_numerator=TRUE)listw object created for example by nb2listwget.spChkOption()boot from the equivalent permutation bootstrap rather than an object of class htesthtest and mc.sim containing the
following components:moran, moran.mc, EBestexample(nc.sids)
EBImoran.mc(nc.sids$SID74, nc.sids$BIR74,
nb2listw(ncCC89_nb, style="B", zero.policy=TRUE), nsim=999, zero.policy=TRUE)
sids.p <- nc.sids$SID74 / nc.sids$BIR74
moran.mc(sids.p, nb2listw(ncCC89_nb, style="B", zero.policy=TRUE),
nsim=999, zero.policy=TRUE)Run the code above in your browser using DataLab