Skip to content

Add chapter on multiple imputation.#935

Open
abner-hb wants to merge 10 commits intostan-dev:masterfrom
abner-hb:master
Open

Add chapter on multiple imputation.#935
abner-hb wants to merge 10 commits intostan-dev:masterfrom
abner-hb:master

Conversation

@abner-hb
Copy link
Copy Markdown

@abner-hb abner-hb commented Mar 12, 2026

Submission Checklist

  • Builds locally YES
  • New functions marked with <<{ since VERSION }>> YES (no new functions)
  • Declare copyright holder and open-source license: see below

Summary

Add a chapter on multiple imputation to the Stan User's Guide.

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Abner Heredia Bustos

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

@WardBrian
Copy link
Copy Markdown
Member

Hi @abner-hb, thanks for this! I just made a couple commits to remove the changes to the built docs -- we let our Jenkins jobs build those for us during releases.

I'll ask @bob-carpenter to take a look at the contents when he gets a chance

@WardBrian WardBrian requested a review from bob-carpenter March 12, 2026 15:35
@bob-carpenter
Copy link
Copy Markdown
Member

I can review this.

Copy link
Copy Markdown
Member

@bob-carpenter bob-carpenter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for contributing this.

I am really sorry that I left 73 comments on such a short chapter. It was meant pedagogically and I hope it helps other things you write. It took a couple years of this kind of back-and-forth with Gelman and Vehtari and Goodrich before they stopped marking up everything I wrote this way. Gelman and Vehtari are excellent role models for writing clarity.

If you'd rather not do this, I'm happy to make all the changes I suggested myself.

Comment thread src/stan-users-guide/multiple-imputation.qmd Outdated
Comment thread src/stan-users-guide/multiple-imputation.qmd Outdated
Comment thread src/stan-users-guide/multiple-imputation.qmd Outdated
Comment thread src/stan-users-guide/multiple-imputation.qmd
Comment thread src/stan-users-guide/multiple-imputation.qmd Outdated
Comment thread src/stan-users-guide/multiple-imputation.qmd
Comment thread src/stan-users-guide/multiple-imputation.qmd Outdated
[**NOTE**: I would greatly appreciate any comments or changes to
improve this subsection.]

A full bayesian probability model includes a feedback flow of
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bayesian -> Bayesian

The model doesn't have any feedback or flow per se---it's just how joint distributions work.

influence only some parameters in the model. From @plummer:2015,
p. 37:

> Cut models arise in applications with multiple data sources that
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove comments.

p. 37:

> Cut models arise in applications with multiple data sources that
provide information about different parameters in the model [...]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, rather than filling this all in, I'd just write a one-line summary and point to Plummer's article.

Copy link
Copy Markdown
Author

@abner-hb abner-hb Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean summarizing Plummer's quote in one line? Or to summarize this entire section on cut models to one or two lines?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either is OK---I'm just saying it would be OK to not go into detail on the relation to cut in BUGS/JAGS and that a citation to Plummer's paper is sufficient. But if you want to go into more detail, it'd probably be useful.

Comment thread src/stan-users-guide/multiple-imputation.qmd Outdated
@WardBrian WardBrian requested a review from bob-carpenter April 13, 2026 19:20
Copy link
Copy Markdown
Member

@bob-carpenter bob-carpenter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went over this again and marked many of the grammatical nitpicky comments as resolved. I think they'd be better the way I was suggesting, but it's more important to actually publish this.

If you don't want to make these changes, @abner-hb, just let me know and I can go and make them myself.

I really appreciate your taking the time to write this despite the huge flurry of comments I've left. I hope they've been more helpful than frustrating, as that was my intention.

Comment thread src/bibtex/all.bib
Comment thread src/stan-users-guide/multiple-imputation.qmd
Comment thread src/stan-users-guide/multiple-imputation.qmd Outdated
Comment thread src/stan-users-guide/multiple-imputation.qmd Outdated
Comment thread src/stan-users-guide/multiple-imputation.qmd
Comment thread src/stan-users-guide/multiple-imputation.qmd
Comment thread src/stan-users-guide/multiple-imputation.qmd Outdated
Comment thread src/stan-users-guide/multiple-imputation.qmd
Comment thread src/stan-users-guide/multiple-imputation.qmd
Comment thread src/stan-users-guide/multiple-imputation.qmd
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.

3 participants