Skip to content

Subsampling loo diff_srs_est code differs from eq (9) #237

Description

@avehtari

At line
https://github.com/stan-dev/loo/blame/426c2d8cabd532170fa5fb2ecf78c44869ee0365/R/loo_subsample.R#L1180
there is - but the eq (9) has +. Which one is correct?

Also, I have an example which gives negative hat_v_y with either . or + in that place, so it would be good to check the whole equation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions