Update psis_loo_ss objects
Update psis_loo_ss objects
## S3 method for class 'psis_loo_ss'
update(
object,
...,
data = NULL,
draws = NULL,
observations = NULL,
r_eff = NULL,
cores = getOption("mc.cores", 1),
loo_approximation = NULL,
loo_approximation_draws = NULL,
llgrad = NULL,
llhess = NULL
)object |
A |
... |
Currently not used. |
data |
For |
draws |
For |
observations |
The subsample observations to use. The argument can take four (4) types of arguments:
|
r_eff |
Vector of relative effective sample size estimates for the
likelihood ( |
cores |
The number of cores to use for parallelization. This defaults to
the option
|
loo_approximation |
What type of approximation of the loo_i's should be used?
The default is
As point estimates of \hat{θ}, the posterior expectations of the parameters are used. |
loo_approximation_draws |
The number of posterior draws used when
integrating over the posterior. This is used if |
llgrad |
The gradient of the log-likelihood. This
is only used when |
llhess |
The hessian of the log-likelihood. This is only used
with |
If observations is updated then if a vector of indices or a psis_loo_ss
object is supplied the updated object will have exactly the observations
indicated by the vector or psis_loo_ss object. If a single integer is
supplied, new observations will be sampled to reach the supplied sample size.
A psis_loo_ss object.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.