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.txtseedling data from original source┣ pine2.RDataseed and seedling data used in all analysis (transformed coordinates)┗ SeedsUTM-2.txtseed data from original source
┣ estimates┣ abc.RABC estimates┗ mle.RMLE seed estimates
┣ general┣ abc_local.Rlocal ABC function modified fromabc::abc()to remove MAD scaling┣ functions.Rgeneral functions for priors, data simulations and data prep┗ R_sessionInfo.txtoutput from RsessionInfo()(all required packages with version numbers)
┣ priors┣ priors.htmloutput frompriors.Rmd┗ priors.Rmdprior visualization, PPD for mean seed count and mean establishment probability, exploring reparameterized Matérn scale
┣ simulations┣ farmMETA-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.RDS1e6 prior parameter draws from META-Farm run using files infarm, output fromsimulate.Randcombine.R┗ summary_statistics_meta_splinecorr.RDS1e6 summary statistics from META-Farm run, output fromsimulate.Randcombine.R.
┣ combine.Rpost-processing script using META-Farm package to aggregate results┣ r_parallel.Rexploratory script to investigate R parallel packages to generate simulations┗ simulate.Rscript to generate simulations using META-Farm package
┣ summary_statistics┣ output┗ observed_stats.RDSoutput fromobserved_sumstats.R
┣ observed_sumstats.Rscript to compute summary statistics of observed data┗ spline_correlogram.Rexploratory analysis of spline correlograms, setting degrees of freedom and testing distance breaks
┣ thesis_plots┣ outputTikZ 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┣ farmMETA-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┣ sbcoutput fromsbc.Randsbc_plot.Rwith MAD scaling┣ sbc_acoutput fromsbc.Randsbc_plot.Rwith 0.5% acceptance rate┣ sbc_noscaleoutput fromsbc.Randsbc_plot.Rwith no scaling┣ sbc_scale.defaultoutput fromsbc.Randsbc_plot.Rwithscale.default()(subtract mean, divide by standard deviation)┣ sbc_scaleonlyoutput fromsbc.Randsbc_plot.Rwith scaling by standard deviation┣ cat_plot.RDSoutput fromcoverage.R┣ check_coverage.RDSoutput fromcoverage.R┣ knownparam_stats_splinecorr.RDSoutput fromknown_parameter.R┗ rmsre_results.RDSoutput fromrmsre.R
┣ coverage.Rpercent coverage┣ known_parameter.RABC run using known parameter set┣ rmsre.Rvalidating acceptance rate using RMSRE┣ sbc.Rscript to generate SBC results using META-Farm package┗ sbc_plot.Rplots of all SBC results