Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-compute_point_estimate

Compute a point estimate from a draws object


Description

Compute a point estimate from a draws object

Usage

.compute_point_estimate(draws)

Arguments

draws

A draws object with draws from the posterior.

Details

This is a generic function to thin draws from arbitrary draws objects. The function is internal and should only be used by developers to enable loo_subsample() for arbitrary draws objects.

Value

A 1 by P matrix with point estimates from a draws object.


loo

Efficient Leave-One-Out Cross-Validation and WAIC for Bayesian Models

v2.4.1
GPL (>= 3)
Authors
Aki Vehtari [aut], Jonah Gabry [cre, aut], Mans Magnusson [aut], Yuling Yao [aut], Paul-Christian Bürkner [aut], Topi Paananen [aut], Andrew Gelman [aut], Ben Goodrich [ctb], Juho Piironen [ctb], Bruno Nicenboim [ctb]
Initial release
2020-12-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.