fit_func_form_ensemble: A function to fit the Bayesian model and write the resulting...

Description Usage Arguments

Description

A function to fit the Bayesian model and write the resulting rethinking model, point estimates and the standard deviation of the coefficients for mu, point estimates and the standard deviation of the coefficients for sigma, and a plot of the above data.

Usage

1
2
3
4
fit_func_form_ensemble(ensSiteData, testnmes, ctwtests,
  individSiteDataPath = "data/c3mpdata/csvs/",
  coefpath = "data/emulatorcoefficients", functionalform, sdfunctionalform,
  figurepath = "figures/bayeseval", ensemblename)

Arguments

ensSiteData

A list of sites for ensemble under consideration

testnmes

The names of the CTW tests

ctwtests

The actual ctw tests in full

coefpath

The location to write the outputs, defaults to "data/emulatorcoefficients"

functionalform

The name functional form for the mean of the likelihood

sdfunctionalform

The name of the functional form for the standard deviation of the likelihood

figurepath

The location to write the plots of the coefficients + uncertainty, defaults to "figures/bayeseval"

ensemblename

The name of the ensemble under consideration

individuSiteDataPath

The location of the raw C3MP yield data, defaults to "data/c3mpdata/csvs/"


JGCRI/persephone documentation built on May 9, 2019, 3:25 a.m.