├── .gitignore ├── Comparison_summary.r ├── GAM_Paper_Script.Rproj ├── README.md ├── comparison_script.R ├── comparison_summary_output.RData ├── figures ├── Fig 1.pdf ├── Fig 10.pdf ├── Fig 2.pdf ├── Fig 3.pdf ├── Fig 4.pdf ├── Fig 5.pdf ├── Fig 6.pdf ├── Fig 7.pdf ├── Fig 8.pdf ├── Fig 9.pdf └── supplement │ ├── Fig 1 all species.RData │ ├── Fig 1 all species.pdf │ ├── Fig 10alt.RData │ ├── Fig 10alt.pdf │ ├── Fig 2 all species.RData │ ├── Fig 2 all species.pdf │ ├── Fig 4 all models.RData │ ├── Fig 4 all models.pdf │ ├── Fig 5 all species.RData │ ├── Fig 5 all species.pdf │ ├── Fig 6 all species.RData │ ├── Fig 6 all species.pdf │ ├── Fig 9 all species.RData │ ├── Fig 9 all species.pdf │ ├── Supplemental Material Figures S1 to S3.Rmd │ ├── Supplemental Material Figures S4 to S7.Rmd │ ├── Supplemental Material Figures S8 to S9.Rmd │ ├── Supplemental-Material-Figures-S1-to-S3.pdf │ ├── Supplemental-Material-Figures-S4-to-S7.pdf │ ├── Supplemental-Material-Figures-S8-to-S9.pdf │ ├── all_suppl_figures.RData │ ├── comparative index plots.pdf │ ├── elpd_distribution.RData │ ├── precision_comparison.RData │ ├── prior_plots.RData │ └── runtime summary across models and species.csv ├── loo-models ├── firstdiff-loo.jags ├── firstdiff-t.jags ├── gam-loo.jags ├── gam-t.jags ├── gam.jags ├── gam_alt_prior.jags ├── gamye-loo.jags ├── gamye-t.jags ├── gamye.jags ├── slope-loo.jags └── slope-t.jags ├── map ├── BBS_USGS_strata.cpg ├── BBS_USGS_strata.dbf ├── BBS_USGS_strata.prj ├── BBS_USGS_strata.sbn ├── BBS_USGS_strata.sbx ├── BBS_USGS_strata.shp ├── BBS_USGS_strata.shp.xml └── BBS_USGS_strata.shx ├── prior_comparisons_GAM.R ├── publication_figures.R ├── script_kfold.R └── summary_models └── jags.mod.loo.both.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/.gitignore -------------------------------------------------------------------------------- /Comparison_summary.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/Comparison_summary.r -------------------------------------------------------------------------------- /GAM_Paper_Script.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/GAM_Paper_Script.Rproj -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/README.md -------------------------------------------------------------------------------- /comparison_script.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/comparison_script.R -------------------------------------------------------------------------------- /comparison_summary_output.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/comparison_summary_output.RData -------------------------------------------------------------------------------- /figures/Fig 1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/Fig 1.pdf -------------------------------------------------------------------------------- /figures/Fig 10.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/Fig 10.pdf -------------------------------------------------------------------------------- /figures/Fig 2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/Fig 2.pdf -------------------------------------------------------------------------------- /figures/Fig 3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/Fig 3.pdf -------------------------------------------------------------------------------- /figures/Fig 4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/Fig 4.pdf -------------------------------------------------------------------------------- /figures/Fig 5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/Fig 5.pdf -------------------------------------------------------------------------------- /figures/Fig 6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/Fig 6.pdf -------------------------------------------------------------------------------- /figures/Fig 7.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/Fig 7.pdf -------------------------------------------------------------------------------- /figures/Fig 8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/Fig 8.pdf -------------------------------------------------------------------------------- /figures/Fig 9.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/Fig 9.pdf -------------------------------------------------------------------------------- /figures/supplement/Fig 1 all species.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 1 all species.RData -------------------------------------------------------------------------------- /figures/supplement/Fig 1 all species.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 1 all species.pdf -------------------------------------------------------------------------------- /figures/supplement/Fig 10alt.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 10alt.RData -------------------------------------------------------------------------------- /figures/supplement/Fig 10alt.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 10alt.pdf -------------------------------------------------------------------------------- /figures/supplement/Fig 2 all species.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 2 all species.RData -------------------------------------------------------------------------------- /figures/supplement/Fig 2 all species.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 2 all species.pdf -------------------------------------------------------------------------------- /figures/supplement/Fig 4 all models.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 4 all models.RData -------------------------------------------------------------------------------- /figures/supplement/Fig 4 all models.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 4 all models.pdf -------------------------------------------------------------------------------- /figures/supplement/Fig 5 all species.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 5 all species.RData -------------------------------------------------------------------------------- /figures/supplement/Fig 5 all species.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 5 all species.pdf -------------------------------------------------------------------------------- /figures/supplement/Fig 6 all species.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 6 all species.RData -------------------------------------------------------------------------------- /figures/supplement/Fig 6 all species.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 6 all species.pdf -------------------------------------------------------------------------------- /figures/supplement/Fig 9 all species.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 9 all species.RData -------------------------------------------------------------------------------- /figures/supplement/Fig 9 all species.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Fig 9 all species.pdf -------------------------------------------------------------------------------- /figures/supplement/Supplemental Material Figures S1 to S3.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Supplemental Material Figures S1 to S3.Rmd -------------------------------------------------------------------------------- /figures/supplement/Supplemental Material Figures S4 to S7.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Supplemental Material Figures S4 to S7.Rmd -------------------------------------------------------------------------------- /figures/supplement/Supplemental Material Figures S8 to S9.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Supplemental Material Figures S8 to S9.Rmd -------------------------------------------------------------------------------- /figures/supplement/Supplemental-Material-Figures-S1-to-S3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Supplemental-Material-Figures-S1-to-S3.pdf -------------------------------------------------------------------------------- /figures/supplement/Supplemental-Material-Figures-S4-to-S7.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Supplemental-Material-Figures-S4-to-S7.pdf -------------------------------------------------------------------------------- /figures/supplement/Supplemental-Material-Figures-S8-to-S9.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/Supplemental-Material-Figures-S8-to-S9.pdf -------------------------------------------------------------------------------- /figures/supplement/all_suppl_figures.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/all_suppl_figures.RData -------------------------------------------------------------------------------- /figures/supplement/comparative index plots.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/comparative index plots.pdf -------------------------------------------------------------------------------- /figures/supplement/elpd_distribution.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/elpd_distribution.RData -------------------------------------------------------------------------------- /figures/supplement/precision_comparison.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/precision_comparison.RData -------------------------------------------------------------------------------- /figures/supplement/prior_plots.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/prior_plots.RData -------------------------------------------------------------------------------- /figures/supplement/runtime summary across models and species.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/figures/supplement/runtime summary across models and species.csv -------------------------------------------------------------------------------- /loo-models/firstdiff-loo.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/firstdiff-loo.jags -------------------------------------------------------------------------------- /loo-models/firstdiff-t.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/firstdiff-t.jags -------------------------------------------------------------------------------- /loo-models/gam-loo.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/gam-loo.jags -------------------------------------------------------------------------------- /loo-models/gam-t.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/gam-t.jags -------------------------------------------------------------------------------- /loo-models/gam.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/gam.jags -------------------------------------------------------------------------------- /loo-models/gam_alt_prior.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/gam_alt_prior.jags -------------------------------------------------------------------------------- /loo-models/gamye-loo.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/gamye-loo.jags -------------------------------------------------------------------------------- /loo-models/gamye-t.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/gamye-t.jags -------------------------------------------------------------------------------- /loo-models/gamye.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/gamye.jags -------------------------------------------------------------------------------- /loo-models/slope-loo.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/slope-loo.jags -------------------------------------------------------------------------------- /loo-models/slope-t.jags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/loo-models/slope-t.jags -------------------------------------------------------------------------------- /map/BBS_USGS_strata.cpg: -------------------------------------------------------------------------------- 1 | UTF-8 -------------------------------------------------------------------------------- /map/BBS_USGS_strata.dbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/map/BBS_USGS_strata.dbf -------------------------------------------------------------------------------- /map/BBS_USGS_strata.prj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/map/BBS_USGS_strata.prj -------------------------------------------------------------------------------- /map/BBS_USGS_strata.sbn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/map/BBS_USGS_strata.sbn -------------------------------------------------------------------------------- /map/BBS_USGS_strata.sbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/map/BBS_USGS_strata.sbx -------------------------------------------------------------------------------- /map/BBS_USGS_strata.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/map/BBS_USGS_strata.shp -------------------------------------------------------------------------------- /map/BBS_USGS_strata.shp.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/map/BBS_USGS_strata.shp.xml -------------------------------------------------------------------------------- /map/BBS_USGS_strata.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/map/BBS_USGS_strata.shx -------------------------------------------------------------------------------- /prior_comparisons_GAM.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/prior_comparisons_GAM.R -------------------------------------------------------------------------------- /publication_figures.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/publication_figures.R -------------------------------------------------------------------------------- /script_kfold.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/script_kfold.R -------------------------------------------------------------------------------- /summary_models/jags.mod.loo.both.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamCSmithCWS/Smith_Edwards_GAM_BBS/HEAD/summary_models/jags.mod.loo.both.txt --------------------------------------------------------------------------------