View source: R/lorad-standardize.R
lorad_standardize | R Documentation |
Standardizes parameters that have already been transformed (if necessary) to have unconstrained support. Standardization involves subtracting the sample mean and dividing by the sample standard deviation. Assumes that the log posterior kernel (i.e. the log of the unnormalized posterior) is the last column in the supplied data frame.
lorad_standardize(df, coverage)
df |
Data frame containing a column for each model parameter sampled and a final column of log posterior kernel values |
coverage |
Fraction of the training sample used to compute working parameter space |
List containing the log-Jacobian of the standardization transformation, the inverse square root matrix, a vector of column means, and rmax (radial distance to furthest point in working parameter space)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.