Learn R Programming

posterior (version 1.6.0)

ps_min_ss: Pareto-smoothing minimum sample-size

Description

Given Pareto-k computes the minimum sample size for reliable Pareto smoothed estimate (to have small probability of large error). See section 3.2.3 in Vehtari et al. (2024). This function is exported to be usable by other packages. For user-facing diagnostic functions, see pareto_min_ss and pareto_diags.

Usage

ps_min_ss(k, ...)

Value

minimum sample size

Arguments

k

pareto k value

...

unused

See Also

Other helper-functions: ps_convergence_rate(), ps_khat_threshold(), ps_tail_length()