Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GMPD #476

Merged
merged 3 commits into from
Nov 18, 2023
Merged

Add GMPD #476

merged 3 commits into from
Nov 18, 2023

Conversation

fweber144
Copy link
Collaborator

This adds a new performance statistic, the geometric mean predictive density (GMPD), which is particularly useful for discrete outcomes because there, the GMPD is a geometric mean of probabilities and hence bounded by zero and one. As explained in the documentation for argument stats in the ?summary.vsel help, the SE of the GMPD is derived using the delta method ($SE_{GMPD} = SE_{MLPD} \cdot GMPD$; sorry for the bad math formatting: GitHub does not seem to support \text{} or \mathrm{}). The confidence interval (CI) for the GMPD is calculated by exponentiating the CI bounds of the MLPD CI. This is also what is done in a similar case in Stata, for example (see here).

@fweber144 fweber144 merged commit 319c319 into stan-dev:master Nov 18, 2023
@fweber144 fweber144 deleted the gmpd branch November 18, 2023 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant