Skip to content

Conversation

@alecloudenback
Copy link
Contributor

closes #1422

@codecov
Copy link

codecov bot commented Oct 10, 2020

Codecov Report

Merging #1437 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1437   +/-   ##
=======================================
  Coverage   65.56%   65.56%           
=======================================
  Files          25       25           
  Lines        1661     1661           
=======================================
  Hits         1089     1089           
  Misses        572      572           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6dca57e...139e15b. Read the comment docs.


### Indexed Group Variables

The function `filldist(distribution,n)` provides a simplified interface for defining a set of model variables that share the same structure, but vary by group.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe this could be formulated in a different way? IMO it sounded a bit like filldist is designed specifically for this purpose, even though that's not the case and it is just a general way of creating a product distribution, in which all single distributions are the same and that allows also multivariate distributions (in contrast to Product in Distributions).

It would be good to mention arraydist as well in case they not all share the same structure.

Maybe something like, "if you want to model a set of variables that share the same structure but vary by group, you can use filldist and arraydist."

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I agree. Maybe there could be two examples, one with and one without filldist or arraydist?

@trappmartin
Copy link
Member

Ping

@alecloudenback
Copy link
Contributor Author

Would someone mind if I reached out to them on slack to discuss the proposed edits in more detail? My Turing et al familiarity is low and the PR was intended to be a simple example of something that wasn't documented AFAICT. I don't mind trying to get this to completion but lack familiarity with the additional methods requested to include above. I would be able to try and do this in the next couple of weeks. I'd like to learn and contribute but would need a little bit more fudge to bring this PR to a close.

@trappmartin
Copy link
Member

Sure, you can contact anyone you like or better write in the #turing channel on Slack.

@yebai
Copy link
Member

yebai commented Jan 28, 2021

@trappmartin Would you like to give it a try and improve the docs in this PR?

@trappmartin
Copy link
Member

I can have a look at it after ICML deadline.

@yebai
Copy link
Member

yebai commented Jan 28, 2021

No problem - it's not urgent but seems like low-hanging fruit.

@yebai
Copy link
Member

yebai commented Dec 12, 2021

Ping @trappmartin

@trappmartin
Copy link
Member

I'll look into it.

@yebai
Copy link
Member

yebai commented Dec 16, 2021

Closed in favour of #1751

@yebai yebai closed this Dec 16, 2021
yebai pushed a commit that referenced this pull request Dec 16, 2021
…1751)

* Add note for `filldist` and Index variables

closes #1422

* updated docs for filldist and arraydist

* Update docs/src/using-turing/guide.md

Co-authored-by: Rik Huijzer <[email protected]>

Co-authored-by: alecloudenback <[email protected]>
Co-authored-by: Rik Huijzer <[email protected]>
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.

Add Index variable to documentation

4 participants