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

question - mismatch between SUG chapters #782

Open
mitzimorris opened this issue May 17, 2024 · 0 comments
Open

question - mismatch between SUG chapters #782

mitzimorris opened this issue May 17, 2024 · 0 comments
Labels
question Further information is requested

Comments

@mitzimorris
Copy link
Member

Summary:

question from Stan slack:

The section on Sparse data structures solves the problem of sparse data by converting the data to "long" format, and using a for-loop in the likelihood statement. It then goes on to state that using segment is better solving the related problem of ragged data structures, saying that "A full database type structure could be used, as in the sparse example, but this is inefficient, wasting space for unnecessary indices and not allowing vector-based density operations.". But, over in the section on multiple indexing, the example seems to be equivalent to the unvectorized Sparse data structure example. Am I missing something? Why can't we vectorize the likelihood for the sparse data example using multiple indexing?

Description:

Git blame shows that @bob-carpenter updated the multi-index chapter in 2021. sparse-ragged chapter is pretty much unchanged. should they both be updated?

@mitzimorris mitzimorris added the question Further information is requested label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant