Author: Jennifer Freeman
Supervisor: Ben Bolker
Institution: McMaster University, Hamilton, ON, Canada
Date: June 3, 2023
Directory structure and description of files:
ABC_Slash_Pine
┣ data
┣ LingsUTM-3.txt
seedling data from original source┣ pine2.RData
seed and seedling data used in all analysis (transformed coordinates)┗ SeedsUTM-2.txt
seed data from original source
┣ estimates
┣ abc.R
ABC estimates┗ mle.R
MLE seed estimates
┣ general
┣ abc_local.R
local ABC function modified fromabc::abc()
to remove MAD scaling┣ functions.R
general functions for priors, data simulations and data prep┗ R_sessionInfo.txt
output from RsessionInfo()
(all required packages with version numbers)
┣ priors
┣ priors.html
output frompriors.Rmd
┗ priors.Rmd
prior visualization, PPD for mean seed count and mean establishment probability, exploring reparameterized Matérn scale
┣ simulations
┣ farm
META-Farm shell scripts and case file for simulations, run in SIMPLE mode. No modifications were made tosingle_case.sh
.┣ final.sh
┣ job_script.sh
┣ resubmit_script.sh
┗ table.dat
┣ output
┣ params_meta_splinecorr.RDS
1e6 prior parameter draws from META-Farm run using files infarm
, output fromsimulate.R
andcombine.R
┗ summary_statistics_meta_splinecorr.RDS
1e6 summary statistics from META-Farm run, output fromsimulate.R
andcombine.R
.
┣ combine.R
post-processing script using META-Farm package to aggregate results┣ r_parallel.R
exploratory script to investigate R parallel packages to generate simulations┗ simulate.R
script to generate simulations using META-Farm package
┣ summary_statistics
┣ output
┗ observed_stats.RDS
output fromobserved_sumstats.R
┣ observed_sumstats.R
script to compute summary statistics of observed data┗ spline_correlogram.R
exploratory analysis of spline correlograms, setting degrees of freedom and testing distance breaks
┣ thesis_plots
┣ output
TikZ thesis plot images, output fromthesis_plots.R
┣ abc_parameters.tex
┣ coverage.tex
┣ cv_quant.tex
┣ dataset.tex
┣ grf_shape.tex
┣ grf_shape_ras1.png
┣ grf_shape_ras2.png
┣ grf_shape_ras3.png
┣ grf_shape_ras4.png
┣ interpoint_distances.tex
┣ matern_reparam.tex
┣ profile_likelihood.tex
┣ profile_likelihood_nugget.tex
┣ rmsre.tex
┣ sbc.tex
┗ splinecorr.tex
┗ thesis_plots.R
- generates all plots in thesis
┣ validation
┣ farm
META-Farm shell scripts and case file for SBC validation, run in SIMPLE mode. No modifications were made tosingle_case.sh
.┣ job_script.sh
┣ resubmit_script.sh
┗ table.dat
┣ output
┣ sbc
output fromsbc.R
andsbc_plot.R
with MAD scaling┣ sbc_ac
output fromsbc.R
andsbc_plot.R
with 0.5% acceptance rate┣ sbc_noscale
output fromsbc.R
andsbc_plot.R
with no scaling┣ sbc_scale.default
output fromsbc.R
andsbc_plot.R
withscale.default()
(subtract mean, divide by standard deviation)┣ sbc_scaleonly
output fromsbc.R
andsbc_plot.R
with scaling by standard deviation┣ cat_plot.RDS
output fromcoverage.R
┣ check_coverage.RDS
output fromcoverage.R
┣ knownparam_stats_splinecorr.RDS
output fromknown_parameter.R
┗ rmsre_results.RDS
output fromrmsre.R
┣ coverage.R
percent coverage┣ known_parameter.R
ABC run using known parameter set┣ rmsre.R
validating acceptance rate using RMSRE┣ sbc.R
script to generate SBC results using META-Farm package┗ sbc_plot.R
plots of all SBC results