Skip to contents

The default prior used by piml_profile_fit_bayesian() centres three of its hyperparameters on the response being fitted (the deepest observation, the shallowest observation, and sd(obs)). That is empirical Bayes: the data enter both the likelihood and the prior, intervals narrow, and a prior-sensitivity check against it is partly a check of the data against themselves.

Usage

piml_prior_literature(
  y_asym_mean = 3,
  y_asym_sd = 1.2,
  y0_mean = 25,
  y0_sd = 0.8,
  z_scale = 35,
  kappa_mean = 3,
  sigma_scale = 2
)

Arguments

y_asym_mean, y_asym_sd

Prior mean and log-scale spread for the attainable deep concentration, in the property's units. The default, 3 g/kg, is the order of magnitude of deep (>1 m) mineral-associated organic carbon in deeply weathered tropical soils.

y0_mean, y0_sd

Prior mean and log-scale spread for the surface concentration. The default, 25 g/kg, is a Cerrado topsoil value.

z_scale

Depth scale in cm over which the decay rate itself decays, used to centre mu. The default, 35 cm, follows the Jackson et al. (1996) tropical-savanna rooting parameter beta = 0.972 via z = -1/log(beta).

kappa_mean

Prior mean for the total relaxation lambda0/mu. kappa = 3 means the profile closes 95% of its gap.

sigma_scale

Scale of the half-t(3) prior on the observation noise, in the property's units. The default, 2 g/kg, reflects laboratory plus short-range spatial variability rather than the spread of this profile.

Value

A list in the form piml_profile_fit_bayesian() expects for its prior argument.

Details

This constructor builds a prior from published values instead, so the two can be compared and the circularity measured rather than assumed harmless.

References

Jackson RB, Canadell J, Ehleringer JR, Mooney HA, Sala OE, Schulze ED (1996). A global analysis of root distributions for terrestrial biomes. Oecologia 108:389-411.

Examples

# Compare the empirical-Bayes default against a non-circular prior on a
# simulated deep profile. These are not measurements -- see
# [edaphos_example_profiles()].
p <- edaphos_example_profiles(what = "pedon")
a <- piml_profile_fit_bayesian(p$depth_mid, p$soc_g_kg,
                               top = p$top, bottom = p$bottom, seed = 7L)
b <- piml_profile_fit_bayesian(p$depth_mid, p$soc_g_kg,
                               top = p$top, bottom = p$bottom,
                               prior = piml_prior_literature(), seed = 7L)
# If the two disagree, the default's data-dependence is doing real work.
round(cbind(empirical_bayes = summary(a)$mean,
            literature      = summary(b)$mean), 4)
#>      empirical_bayes literature
#> [1,]          0.0019     0.0019
#> [2,]          0.0266     0.0266
#> [3,]       -635.2880  -637.2174
#> [4,]         31.6772    31.6770
#> [5,]          0.0711     0.0709
#> [6,]          2.3911     2.3911
#> [7,]          0.0055     0.0055