.compute_point_estimate {loo} | R Documentation |
Compute a point estimate from a draws object
Description
Compute a point estimate from a draws object
Usage
.compute_point_estimate(draws)
## S3 method for class 'matrix'
.compute_point_estimate(draws)
## Default S3 method:
.compute_point_estimate(draws)
Arguments
draws |
A draws object with draws from the posterior. |
Details
This is a generic function to compute point estimates from 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.
[Package loo version 2.8.0 Index]