# Fostering Stan user communities through domain-specific resource pages

**URL:** <https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544>\
**Category:** General\
**Created:** [October 23, 2019, 3:42am UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544 "2019-10-23T03:42:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vianeylb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/vianeylb/32/6195_2.png) [@vianeylb](https://discourse.mc-stan.org/u/vianeylb)\
**Post date:** [October 23, 2019, 3:42am UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/1 "2019-10-23T03:42:57Z")

</div>

Hi all, my name is Vianey Leos Barajas and I’m a postdoctoral researcher at North Carolina State University, with a primary research interest in topics related to statistical ecology. I’ve used Stan for a few years and have noticed that there’s quite a bit of interest in learning Stan in the community in general (statistical ecology/general ecology).

In order to foster a community of Stan users in the (stat) ecology world, what would you all recommend? Is there the possibility of having a domain-specific Stan resource page? Having a centralized location to submit small case studies or Stan code for models typically used in ecology, along with data examples, would be really beneficial. I know that case studies already exist, but having something more ecology-focused would be great. I can’t speak for others, but I would certainly be willing to spend time forming this community (and I imagine there are others that would do this as well). Having a basic template of how to put together case studies might help others understand how to contribute as well (just a thought).

Other software has made quite a bit of inroads into this community by giving workshops/tutorials at ecology events, the latest being at the wildlife society meeting. One of the ecology PhD students here that attended the conference returned and proclaimed that Nimble was the way to go and much faster than Stan, from what he had learned at a workshop.

From what I’ve seen, there’s a lot of interest and a group of people that are already using Stan heavily. I’d love to be able to foster that community somehow, especially in the months before our major conference next summer (at which Dan Simpson and Andrew MacDonald will be giving a short course): [http://www.isec2020.org/training-program#ShortCourses](http://www.isec2020.org/training-program#ShortCourses).

Gracias!

---

<div class="post-metadata">

**Author:** ![jonah](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/jonah/32/200_2.png) [@jonah](https://discourse.mc-stan.org/u/jonah)\
**Post date:** [October 23, 2019, 3:56am UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/2 "2019-10-23T03:56:51Z")

</div>

Thanks for posting this Vianey!

> [@vianeylb](#):
>
> I’ve used Stan

And taught Stan!

> [@vianeylb](#):
>
> Is there the possibility of having a domain-specific Stan resource page?

Definitely! There’s actually a spot on the Stan website for just this sort of thing, although to be honest I had forgotten about it until @Bob_Carpenter reminded me recently. It’s the “Specialized Field Guides” section at [Stan - Documentation](https://mc-stan.org/users/documentation/), but the problem is that you wouldn’t know it exists unless you scroll all the way down the page (we definitely need to improve the website at a minimum) and there’s also just one of them. So I think a revitalized effort at this would be great!

---

<div class="post-metadata">

**Author:** ![martinmodrak](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/martinmodrak/32/133_2.png) [@martinmodrak](https://discourse.mc-stan.org/u/martinmodrak)\
**Post date:** [October 23, 2019, 7:21am UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/3 "2019-10-23T07:21:43Z")

</div>

While going through the central Stan web/docs as recommended by @jonah is definitely worthwhile, there is a risk we won’t be very flexible with updates as many other things are going on. But if you just go ahead and register [www.staninecology.org](http://www.staninecology.org) / [ecology-stan.github.io](http://ecology-stan.github.io) or whatever and maintain a list there (setting up a simple page with blogdown/hugo + GitHub + possibly netlify is a breeze), it would help and linking your list from the Stan page could be done quickly. We would probably eventually want to copy content to official site but such duplication won’t IMHO be a problem - Google will sort it out.

As the community manager here I am definitely open to provide some support for your endeavor.

Best of luck with your effort - communities are hard (and important)!

---

<div class="post-metadata">

**Author:** ![avehtari](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/avehtari/32/5935_2.png) [@avehtari](https://discourse.mc-stan.org/u/avehtari)\
**Post date:** [October 23, 2019, 1:40pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/4 "2019-10-23T13:40:18Z")

</div>

Excellent idea!

> [@vianeylb](#):
>
> proclaimed that Nimble was the way to go and much faster than Stan, from what he had learned at a workshop.

Based on the Nimble marketing material the speed difference is due to the compilation time in Stan. I haven’t seen proper benchmarks for bigger problems where the sampling time dominates. If that PhD student knows some more recent benchmarks results, I would be happy know.

---

<div class="post-metadata">

**Author:** ![jonah](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/jonah/32/200_2.png) [@jonah](https://discourse.mc-stan.org/u/jonah)\
**Post date:** [October 23, 2019, 2:36pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/5 "2019-10-23T14:36:58Z")

</div>

It also occurs to me that @lizzieinvancouver has a group ([http://temporalecology.org/](http://temporalecology.org/)) that does great work in ecology and uses Stan. Lizzie, do you think anyone from your lab or other people you know in ecology might want to collaborate with @vianeylb on organizing this and/or contribute to an ecology page for Stan?

---

<div class="post-metadata">

**Author:** ![vianeylb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/vianeylb/32/6195_2.png) [@vianeylb](https://discourse.mc-stan.org/u/vianeylb)\
**Post date:** [October 23, 2019, 2:52pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/6 "2019-10-23T14:52:23Z")

</div>

> If that PhD student knows some more recent benchmarks results, I would be happy know.

I’ll ask him and get back to you. I don’t recall he provided specifics about the speed difference.

---

<div class="post-metadata">

**Author:** ![nerutenbeck](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/nerutenbeck/32/4975_2.png) [@nerutenbeck](https://discourse.mc-stan.org/u/nerutenbeck)\
**Post date:** [October 23, 2019, 2:58pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/7 "2019-10-23T14:58:32Z")

</div>

This is definitely something that we would be interested in collaborating on / contributing to as well! Thanks for raising the topic, @vianeylb .

---

<div class="post-metadata">

**Author:** ![Ara\_Winter](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/ara_winter/32/4284_2.png) [@Ara\_Winter](https://discourse.mc-stan.org/u/Ara_Winter)\
**Post date:** [October 23, 2019, 4:22pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/8 "2019-10-23T16:22:14Z")

</div>

I would like to see this hapen and help out. Our group uses Stan for our riparian ecology questions here in NM.

---

<div class="post-metadata">

**Author:** ![bclough](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bclough/32/6196_2.png) [@bclough](https://discourse.mc-stan.org/u/bclough)\
**Post date:** [October 23, 2019, 5:33pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/9 "2019-10-23T17:33:00Z")

</div>

Hi!

As @nerutenbeck indicated, we at SilviaTerra use Stan quite a bit for our work in forestry, and would be interested in helping this sort of effort along.

Any thought to a short course or workshop at ESA? I’ve considered the idea in the past, but have felt too intimidated to take it on as a solo endeavor. I’d definitely be interested if it was a group effort, though! The deadline for 2020 meeting proposals is Nov 21st:  
[https://www.esa.org/saltlake/short-courses/](https://www.esa.org/saltlake/short-courses/)

---

<div class="post-metadata">

**Author:** ![vianeylb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/vianeylb/32/6195_2.png) [@vianeylb](https://discourse.mc-stan.org/u/vianeylb)\
**Post date:** [October 23, 2019, 5:45pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/10 "2019-10-23T17:45:18Z")

</div>

How great! I’ll keep you all posted as to how this develops. I’m quite excited to learn about these applications as well.

ESA overlaps almost exactly with the Joint Statistical Meetings next year: [https://ww2.amstat.org/meetings/jsm/2020/](https://ww2.amstat.org/meetings/jsm/2020/). Perhaps there are others on here that’d be interested, someone from the Stan crew?

I think these efforts are very helpful toward building a solid community of Stan users in ecology.

---

<div class="post-metadata">

**Author:** ![rmendels](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rmendels](https://discourse.mc-stan.org/u/rmendels)\
**Post date:** [October 23, 2019, 9:09pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/11 "2019-10-23T21:09:19Z")

</div>

I would be curious to know if the application where Nimble was faster was state-space related. Nimble has some samplers that are specialized for this class of models. There are a number of things you can do computationally in state-space models that take advantage of the recursive structure. I haven’t looked in any detail at their samplers. but I know we have used variants of the forward filter - backward sampling method that uses a lot of what is known computationally about calculating state-space models. I think Nimble has some variant or particle filters and/or SMC and its variants.

Also I am on the board for WNAR and we are looking to expand our ecological offerings the next meeting (in Alaska). Perhaps we can gin something up (not me to do - but to help organize).

---

<div class="post-metadata">

**Author:** ![phytogreg](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/phytogreg/32/1611_2.png) [@phytogreg](https://discourse.mc-stan.org/u/phytogreg)\
**Post date:** [October 23, 2019, 10:53pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/12 "2019-10-23T22:53:04Z")

</div>

I would also very much like to contribute to a kind of ‘specialized field guide for ecology’! A group of us at MIT, UCSC, and Dalhousie University are preparing a workshop for marine ecological/oceanographic modeling in Stan and are producing a number of case studies and background materials that could go into such a project. Please keep me posted! gbritten@mit.edu

---

<div class="post-metadata">

**Author:** ![vianeylb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/vianeylb/32/6195_2.png) [@vianeylb](https://discourse.mc-stan.org/u/vianeylb)\
**Post date:** [October 23, 2019, 11:02pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/13 "2019-10-23T23:02:30Z")

</div>

That sounds incredible!! (I have a _slight_ preference for all things marine)

Will definitely keep you posted on any progress. I have a few ideas about how we could move forward on this effort.

Thank you so much for posting and reaching out!

---

<div class="post-metadata">

**Author:** ![cavieresJJ](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/cavieresjj/32/5730_2.png) [@cavieresJJ](https://discourse.mc-stan.org/u/cavieresJJ)\
**Post date:** [October 23, 2019, 11:28pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/14 "2019-10-23T23:28:13Z")

</div>

Hi!

Me and @avehtari are working in a spatio-temporal model applied in a specific problem in fisheries sciences. We are not working directly with Stan, we are using the library \texttt{tmbstan} where we can do all the inference as if we had built the model in Stan.

This is a great idea and I would like to participate!

---

<div class="post-metadata">

**Author:** ![vianeylb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/vianeylb/32/6195_2.png) [@vianeylb](https://discourse.mc-stan.org/u/vianeylb)\
**Post date:** [October 23, 2019, 11:57pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/15 "2019-10-23T23:57:00Z")

</div>

How did I not know `tmbstan` existed?! This would be fantastic to include. I’ll keep you posted and let you know how things move forward! It’d be great to include your work.

On a **slight** aside, one of my goals over the next 5-10 years is to try to figure out how to get involved in the statistical ecology community in Latinoamerica (or get it going if it doesn’t really exist). I might reach out to you for this too, if that’s alright! Algo como [http://www.isec2020.org/](http://www.isec2020.org/) pero en LA sería espectacular. Se puede soñar… A ver si un día @jonah también se anima a dar una charla de Stan en español.

---

<div class="post-metadata">

**Author:** ![jonah](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/jonah/32/200_2.png) [@jonah](https://discourse.mc-stan.org/u/jonah)\
**Post date:** [October 24, 2019, 1:00am UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/16 "2019-10-24T01:00:46Z")

</div>

@cavieresJJ thanks! (And I still want to come back to Chile, so we should talk again soon!)

---

<div class="post-metadata">

**Author:** ![mbjoseph](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/mbjoseph/32/870_2.png) [@mbjoseph](https://discourse.mc-stan.org/u/mbjoseph)\
**Post date:** [October 24, 2019, 1:24am UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/17 "2019-10-24T01:24:23Z")

</div>

I’m happy to contribute too – I have used Stan for a variety of occupancy modeling and capture-recapture applications.

In terms of resources that are already available, the translation of the Kery/Schaub BPA models ([link to Bob’s blogpost](https://statmodeling.stat.columbia.edu/2016/01/21/kery-and-schaubs-bayesian-population-analysis-translated-to-stan/)) to Stan could be a nice focal point for a workshop aimed at applied ecologists: [https://github.com/stan-dev/example-models/tree/master/BPA](https://github.com/stan-dev/example-models/tree/master/BPA)

Longer term, if anyone is looking for a research project, and has time to do it, it might also be nice to compare the JAGS and Stan (and NIMBLE?) implementations of the BPA models using simulation based calibration. Ideally they are all providing valid inference…

---

<div class="post-metadata">

**Author:** ![bclough](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bclough/32/6196_2.png) [@bclough](https://discourse.mc-stan.org/u/bclough)\
**Post date:** [October 24, 2019, 2:40am UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/18 "2019-10-24T02:40:59Z")

</div>

> [@vianeylb](#):
>
> ESA overlaps almost exactly with the Joint Statistical Meetings next year: [https://ww2.amstat.org/meetings/jsm/2020/](https://ww2.amstat.org/meetings/jsm/2020/). Perhaps there are others on here that’d be interested, someone from the Stan crew?

Unfortunate scheduling there.

If anyone is interested in helping to pull something together, feel free to post here or email me at [brian@silviaterra.com](mailto:brian@silviaterra.com). I’m happy to lead the charge.

Cool to see so many different use cases in ecology/natural resources represented in this thread!

---

<div class="post-metadata">

**Author:** ![cavieresJJ](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/cavieresjj/32/5730_2.png) [@cavieresJJ](https://discourse.mc-stan.org/u/cavieresJJ)\
**Post date:** [October 24, 2019, 1:36pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/19 "2019-10-24T13:36:54Z")

</div>

@vianeylb\texttt{tmbstan} is a library relatively new but with another platform of modeling (Template Model Builder (TMB)). Our work is in final phase so we hope colaborate soon with this.

with @jonah already discuss the posibility to do a course of Stan in Latinoamerica EN ESPAÑOL … We hope he have time for that… (:

---

<div class="post-metadata">

**Author:** ![phytogreg](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/phytogreg/32/1611_2.png) [@phytogreg](https://discourse.mc-stan.org/u/phytogreg)\
**Post date:** [October 24, 2019, 3:23pm UTC](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544/20 "2019-10-24T15:23:49Z")

</div>

Only a _slight_ preference?!  
Let’s stay in touch. We will make the workshop materials public after it’s held in January so I’ll be able to pass you the link. It may be a nice starting place for a broader ‘ecological field guide’ (what a perfect name too… ).

[Next page](https://discourse.mc-stan.org/t/fostering-stan-user-communities-through-domain-specific-resource-pages/11544.md?page=2)
