Counterpoint Statistical Consulting, LLC
  • Home
  • Who We Are
  • What We Offer
  • Books and Software
    • Bayesian Methods for Data Analysis
    • Hierarchical Modeling and Analysis for Spatial Data
    • Bayesian Adaptive Methods for Clinical Trials
    • Software and peer-reviewed literature
  • Contact Us

Hierarchical Modeling and Analysis for Spatial Data, 2nd ed. (ISBN-13: 978-1-4398-1917-3), by S. Banerjee, B.P. Carlin and A.E. Gelfand, Boca Raton, FL: Chapman and Hall/CRC Press, 2015.

Here are electronic versions of most of the data sets, R code, and WinBUGS code and their page number(s) in the book -- please help yourself!

Page 16-19:
Page 16-19:
maps_geodesics.r
File Size: 2 kb
File Type: r
Download File

Page 16:
newdata.csv
File Size: 3 kb
File Type: csv
Download File

Pages 18, 378:
colorados-t.dat
File Size: 4 kb
File Type: dat
Download File

Page 19:
scallops.txt
File Size: 6 kb
File Type: txt
Download File

Pages 51, 195:
myscallops.txt
File Size: 6 kb
File Type: txt
Download File

Pages 44-49:
eda_variograms.r
File Size: 3 kb
File Type: r
Download File

Page 51:
coal.ash.txt
File Size: 2 kb
File Type: txt
Download File

Pages 88-94:
areal.r
File Size: 10 kb
File Type: r
Download File

Page 90 (c.f. map on Page 75):
state-sat.dat
File Size: 1 kb
File Type: dat
Download File

Contiguity (adjacency) matrix for the "lower 48" US states:
contig-lower48.dat
File Size: 1 kb
File Type: dat
Download File

ArcView shape file for the "lower 48" US states:
gstatessub.shp
File Size: 178 kb
File Type: shp
Download File

Page 96:
columbus.dat
File Size: 3 kb
File Type: dat
Download File

Page 119 (book format):
kieger.dat
File Size: 0 kb
File Type: dat
Download File

Page 119 (BUGS format):
kiegerbug.dat
File Size: 0 kb
File Type: dat
Download File

Pages 118, 120:
direct.bug
File Size: 3 kb
File Type: bug
Download File

Page 120:
direct.bigdat
File Size: 93 kb
File Type: bigdat
Download File

Page 128:
spatialpredictions.odc
File Size: 95 kb
File Type: odc
Download File

Page 128:
nuggetpredictions.odc
File Size: 95 kb
File Type: odc
Download File

Page 138:
batonrougebinary.bug
File Size: 4 kb
File Type: bug
Download File

Pages 140-150:
univariate_spatial_regression.r
File Size: 7 kb
File Type: r
Download File

Shapefiles for the BEF data that are included in spBayes and used by the previous R program (required only for predictions):
bef-data.zip
File Size: 789 kb
File Type: zip
Download File

Page 158:
lipsbrad.odc
File Size: 9 kb
File Type: odc
Download File

Page 161:
lithology.dat
File Size: 6 kb
File Type: dat
Download File

Page 162:
batonrouge.dat
File Size: 3 kb
File Type: dat
Download File

Page 163 (standard format):
coloreccols.dat
File Size: 5 kb
File Type: dat
Download File

Page 163 (BUGS format, and with screening covariate):
colorecbugs.dat
File Size: 1 kb
File Type: dat
Download File

Page 163 (extracts the county polygons for any US state):
poly.r
File Size: 3 kb
File Type: r
Download File

poly.s
File Size: 3 kb
File Type: s
Download File

Page 195:
myscallops.dat
File Size: 6 kb
File Type: dat
Download File

Page 195:
scallopsrectangle.dat
File Size: 0 kb
File Type: dat
Download File

Page 197:
tompkins.dat
File Size: 4 kb
File Type: dat
Download File

Pages 297--301:
initial-exploration-spmvlm.r
File Size: 9 kb
File Type: r
Download File

Data used by previous R program:
costarica.zip
File Size: 2 kb
File Type: zip
Download File

Page 303:
coloradolmc.dat
File Size: 1 kb
File Type: dat
Download File

Page 303:
coloradolmc4a.bug
File Size: 2 kb
File Type: bug
Download File

Page 303:
coloradolmc4b.bug
File Size: 2 kb
File Type: bug
Download File

Page 378:
colorados-t.dat
File Size: 4 kb
File Type: dat
Download File

Page 378:
colorados-t1.bug
File Size: 10 kb
File Type: bug
Download File

Page 378:
colorados-t2.bug
File Size: 10 kb
File Type: bug
Download File

Page 379 (raw data):
ohio.dat
File Size: 125 kb
File Type: dat
Download File

Page 379 (adjacency matrix):
ohio_adj.dat
File Size: 1 kb
File Type: dat
Download File

Page 379 (country centroid coordinates):
ohio_coord.dat
File Size: 3 kb
File Type: dat
Download File

Page 379 (gzipped file of the full Ohio cancer mortality data, by age bracket):
candat.gz
File Size: 794 kb
File Type: gz
Download File

Page 379 (a readme file identifying the columns of CANDAT)
candat.readme
File Size: 1 kb
File Type: readme
Download File

Pages 405-410:
big_n_pred_proc.r
File Size: 6 kb
File Type: r
Download File

Page 475:
mac.dat
File Size: 1 kb
File Type: dat
Download File

Page 475:
macfrailty.odc
File Size: 4 kb
File Type: odc
Download File

Page 475:
macspatialfrailty.odc
File Size: 4 kb
File Type: odc
Download File

Page 476:
smoking.dat
File Size: 10 kb
File Type: dat
Download File

Copyright 2020 Counterpoint Statistical Consulting, LLC

  • Home
  • Who We Are
  • What We Offer
  • Books and Software
    • Bayesian Methods for Data Analysis
    • Hierarchical Modeling and Analysis for Spatial Data
    • Bayesian Adaptive Methods for Clinical Trials
    • Software and peer-reviewed literature
  • Contact Us