Importance sampling of array
Importance sampling of array
## S3 method for class 'array' importance_sampling( log_ratios, method, ..., r_eff = NULL, cores = getOption("mc.cores", 1) )
log_ratios |
An array, matrix, or vector of importance ratios on the log scale (for PSIS-LOO these are negative log-likelihood values). See the Methods (by class) section below for a detailed description of how to specify the inputs for each method. |
... |
Arguments passed on to the various methods. |
r_eff |
Vector of relative effective sample size estimates containing
one element per observation. The values provided should be the relative
effective sample sizes of |
cores |
The number of cores to use for parallelization. This defaults to
the option
|
is_method |
The importance sampling method to use. The following methods are implemented: |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.