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.
1 2 3 4 | fit_func_form_ensemble(ensSiteData, testnmes, ctwtests,
individSiteDataPath = "data/c3mpdata/csvs/",
coefpath = "data/emulatorcoefficients", functionalform, sdfunctionalform,
figurepath = "figures/bayeseval", ensemblename)
|
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/" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.